]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: fix for HNS3_RXD_GRO_SIZE_M macro
authorYunsheng Lin <linyunsheng@huawei.com>
Tue, 28 May 2019 09:02:52 +0000 (17:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 May 2019 00:39:00 +0000 (17:39 -0700)
commit1eb373ed2b84554d60256e0c8839c56c23e4d254
treedf55c13d4f9fff93f314b3011c53bc07568bbbd8
parent1f2c8dd28a93c7f82d0c2a98e2cc1022eacf32fd
net: hns3: fix for HNS3_RXD_GRO_SIZE_M macro

According to hardware user menual, the GRO_SIZE is 14 bits width,
the HNS3_RXD_GRO_SIZE_M is 10 bits width now, which may cause
hardware GRO received packet error problem.

Fixes: e6c828808790 ("net: hns3: Adds GRO params to SKB for the stack")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h