diff options
author | Yufeng Mo <moyufeng@huawei.com> | 2021-08-26 19:22:00 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-08-26 07:24:17 -0700 |
commit | 3462207d2d684658d97499ca77c00c9ac7c87ea8 (patch) | |
tree | de872a8bdd52e07f99fcdae3151f77278ffdf3c0 /drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | |
parent | net: hns3: change the method of getting cmd index in debugfs (diff) | |
download | linux-dev-3462207d2d684658d97499ca77c00c9ac7c87ea8.tar.xz linux-dev-3462207d2d684658d97499ca77c00c9ac7c87ea8.zip |
net: hns3: fix GRO configuration error after reset
The GRO configuration is enabled by default after reset. This
is incorrect and should be restored to the user-configured value.
So this restoration is added during reset initialization.
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h index d7d02848d674..e8013be055f8 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h @@ -310,6 +310,8 @@ struct hclgevf_dev { u16 *vector_status; int *vector_irq; + bool gro_en; + unsigned long vlan_del_fail_bmap[BITS_TO_LONGS(VLAN_N_VID)]; struct hclgevf_mac_table_cfg mac_table; |