]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: fix GRO configuration error after reset
authorYufeng Mo <moyufeng@huawei.com>
Thu, 26 Aug 2021 11:22:00 +0000 (19:22 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 26 Aug 2021 14:24:17 +0000 (07:24 -0700)
commit3462207d2d684658d97499ca77c00c9ac7c87ea8
treede872a8bdd52e07f99fcdae3151f77278ffdf3c0
parent55649d56541bebecfd45ecd14f02944190538a66
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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h