net: hns3: add ethtool related offload command
authorPeng Li <lipeng321@huawei.com>
Fri, 22 Dec 2017 04:21:47 +0000 (12:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Dec 2017 15:41:14 +0000 (10:41 -0500)
commit052ece6dc19c610a48c1cedeee1b2f1478838e99
treecca845aa1afa71438cdad2bc8084ca0b7902c300
parent5f6ea83fc9784f1edc8b11238722604fb36fa7ad
net: hns3: add ethtool related offload command

This patch adds offload command related to "ethtool -K".

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Jian Shen <shenjian15@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