diff options
author | Lipeng <lipeng321@huawei.com> | 2017-10-10 11:42:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-10 23:09:14 +0300 |
commit | 07d2995425eb8eb4874b94bf62fb1490a2014d76 (patch) | |
tree | a06fdb57fc9c4cb0d9e15c06999f3f451a3107b0 /drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c | |
parent | f7db940afc0a70f72ffcb6bb9c0ad15e6c5349c1 (diff) | |
download | linux-07d2995425eb8eb4874b94bf62fb1490a2014d76.tar.xz |
net: hns3: add support for ETHTOOL_GRXFH
This patch add support for ethtool's ETHTOOL_GRXFH in hns3_get_rxnfc().
Signed-off-by: Lipeng <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c index f0e88e00a1f6..b64fbd3c369a 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c @@ -452,6 +452,8 @@ static int hns3_get_rxnfc(struct net_device *netdev, case ETHTOOL_GRXRINGS: cmd->data = h->ae_algo->ops->get_tc_size(h); break; + case ETHTOOL_GRXFH: + return h->ae_algo->ops->get_rss_tuple(h, cmd); default: return -EOPNOTSUPP; } |