]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit54b11c181684caa3ec7c96f1739d5e5d15ce1ed1
treeb8a8a3010de3db0a418b2450af5df7745e405372
parenta42418f9a0a1b60dbabc5c95ca96ac52b76cd3f0
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