net: hns3: Add support for ethtool -K to enable/disable HW GRO
authorPeng Li <lipeng321@huawei.com>
Thu, 15 Nov 2018 09:29:23 +0000 (09:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Nov 2018 17:44:46 +0000 (09:44 -0800)
commit5c9f6b3935f808afdabac560250bcf4333311efc
treeb8a8a3010de3db0a418b2450af5df7745e405372
parente5597095055622c248c2f5135a5328f86ac6bb14
net: hns3: Add support for ethtool -K to enable/disable HW GRO

This patch adds support of ethtool -K to enable/disable
hardware GRO in HNS3 PF/VF driver.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c