]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde4b17e4407beceb29690fa5b85dbe67c1ad9ae6
tree32579086b020582e4352256e27bada7830a2b724
parent2f039f59e103b37b7c557f0cdaf07db2a1071b42
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