diff options
author | Lipeng <lipeng321@huawei.com> | 2017-10-10 16:42:05 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-10 13:09:14 -0700 |
commit | f7db940afc0a70f72ffcb6bb9c0ad15e6c5349c1 (patch) | |
tree | 911b20a7bcec06a8540b3b809b058445129209a9 /drivers/net/ethernet/hisilicon/hns3/hnae3.h | |
parent | 5668abda0931c61f823b21b1612e1c77b617a734 (diff) | |
download | lwn-f7db940afc0a70f72ffcb6bb9c0ad15e6c5349c1.tar.gz lwn-f7db940afc0a70f72ffcb6bb9c0ad15e6c5349c1.zip |
net: hns3: add support for set_rxnfc
This patch supports the ethtool's set_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/hnae3.h')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hnae3.h b/drivers/net/ethernet/hisilicon/hns3/hnae3.h index c677530841cf..d952d6213024 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hnae3.h +++ b/drivers/net/ethernet/hisilicon/hns3/hnae3.h @@ -339,6 +339,8 @@ struct hnae3_ae_ops { u8 *hfunc); int (*set_rss)(struct hnae3_handle *handle, const u32 *indir, const u8 *key, const u8 hfunc); + int (*set_rss_tuple)(struct hnae3_handle *handle, + struct ethtool_rxnfc *cmd); int (*get_tc_size)(struct hnae3_handle *handle); |