summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/huawei/hinic/hinic_dev.h
diff options
context:
space:
mode:
authorAviad Krawczyk <aviad.krawczyk@huawei.com>2017-08-21 18:56:04 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-22 20:48:54 +0300
commite2585ea775380ec2b2b1bf9619a5a3a6d26aa72b (patch)
tree707bd194df75742fe5b9a135cce102fbcb749f3e /drivers/net/ethernet/huawei/hinic/hinic_dev.h
parent7ef37fe4c1a156a394174bd1b5d849cef2b8b4fa (diff)
downloadlinux-e2585ea775380ec2b2b1bf9619a5a3a6d26aa72b.tar.xz
net-next/hinic: Add Rx handler
Set the io resources in the nic and handle rx events by qp operations. Signed-off-by: Aviad Krawczyk <aviad.krawczyk@huawei.com> Signed-off-by: Zhao Chen <zhaochen6@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/huawei/hinic/hinic_dev.h')
-rw-r--r--drivers/net/ethernet/huawei/hinic/hinic_dev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_dev.h b/drivers/net/ethernet/huawei/hinic/hinic_dev.h
index 5b8231dc3ff1..3d0f6cf2508f 100644
--- a/drivers/net/ethernet/huawei/hinic/hinic_dev.h
+++ b/drivers/net/ethernet/huawei/hinic/hinic_dev.h
@@ -43,6 +43,7 @@ struct hinic_dev {
struct hinic_hwdev *hwdev;
u32 msg_enable;
+ unsigned int rx_weight;
unsigned int flags;