lkml.org 
[lkml]   [2019]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH net-next 1/2] hinic: add rss support
Date
> From: netdev-owner@vger.kernel.org [mailto:netdev-
> owner@vger.kernel.org] On Behalf Of Xue Chaojing
> Sent: Monday, June 10, 2019 4:35 AM
> To: davem@davemloft.net
> Cc: linux-kernel@vger.kernel.org; netdev@vger.kernel.org; Luoshaokai
> (luoshaokai) <luoshaokai@huawei.com>; Wangxiaoyun (Cloud, Network Chip
> Application Development Dept) <cloud.wangxiaoyun@huawei.com>;
> xuechaojing <xuechaojing@huawei.com>; chiqijun <chiqijun@huawei.com>;
> wulike (A) <wulike1@huawei.com>
> Subject: [PATCH net-next 1/2] hinic: add rss support
>
> This patch adds rss support for the HINIC driver.
>
> Signed-off-by: Xue Chaojing <xuechaojing@huawei.com>
> ---

[...]

> +
> +int hinic_set_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx,
> + struct hinic_rss_type rss_type)
> +{
> + struct hinic_hwdev *hwdev = nic_dev->hwdev;
> + struct hinic_func_to_io *func_to_io = &hwdev->func_to_io;
> + struct hinic_hwif *hwif = hwdev->hwif;
> + struct hinic_rss_context_tbl *ctx_tbl;
> + struct pci_dev *pdev = hwif->pdev;
> + struct hinic_cmdq_buf cmd_buf;
> + u64 out_param;
> + u32 ctx = 0;
> + int err;


reverse Christmas tree order in defining local variables everywhere?

\
 
 \ /
  Last update: 2019-06-10 18:14    [W:0.185 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site