net: hns3: Add support for rule query of flow director
authorJian Shen <shenjian15@huawei.com>
Mon, 1 Oct 2018 11:46:44 +0000 (12:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Oct 2018 05:57:45 +0000 (22:57 -0700)
commit05c2314fe6a8f18de707e4353d148c01b581e1ef
tree32579086b020582e4352256e27bada7830a2b724
parentdd74f815dd41bdb6a979e36b4d35ba7d364281ae
net: hns3: Add support for rule query of flow director

This patch adds support for querying rule number and rule details
by ethtool commands.

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_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c