aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hnae3.h
diff options
context:
space:
mode:
authorYufeng Mo <moyufeng@huawei.com>2021-08-20 15:35:19 +0800
committerJakub Kicinski <kuba@kernel.org>2021-08-24 07:38:29 -0700
commit9f0c6f4b7475dd97e1f0eed81dd6ff173cf8c7fc (patch)
treee7f0ccf59c95e294bac9fea851982e7f9f0a0a4c /drivers/net/ethernet/hisilicon/hns3/hnae3.h
parentethtool: extend coalesce setting uAPI with CQE mode (diff)
downloadlinux-dev-9f0c6f4b7475dd97e1f0eed81dd6ff173cf8c7fc.tar.xz
linux-dev-9f0c6f4b7475dd97e1f0eed81dd6ff173cf8c7fc.zip
net: hns3: add support for EQE/CQE mode configuration
For device whose version is above V3(include V3), the GL can select EQE or CQE mode, so adds support for it. In CQE mode, the coalesced timer will restart when the first new completion occurs, while in EQE mode, the timer will not restart. Signed-off-by: Yufeng Mo <moyufeng@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hnae3.h')
-rw-r--r--drivers/net/ethernet/hisilicon/hns3/hnae3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hnae3.h b/drivers/net/ethernet/hisilicon/hns3/hnae3.h
index 848bed866193..1d51fae49307 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hnae3.h
+++ b/drivers/net/ethernet/hisilicon/hns3/hnae3.h
@@ -774,6 +774,7 @@ struct hnae3_knic_private_info {
u16 int_rl_setting;
enum pkt_hash_types rss_type;
+ void __iomem *io_base;
};
struct hnae3_roce_private_info {