net: hns3: Add support for enable/disable flow director
authorJian Shen <shenjian15@huawei.com>
Mon, 1 Oct 2018 11:46:47 +0000 (12:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Oct 2018 05:57:45 +0000 (22:57 -0700)
commitc17852a8932f70d5ba3a487f52a7379e3b73cf30
tree35dcd22ad3b5592933bd3779853a6c016f1438f4
parentdc5e6064774e5629859ca9c9e97a1d3d5017a9e3
net: hns3: Add support for enable/disable flow director

This patch adds switch for flow director with ethtool command

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