diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-02-02 14:50:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-06 21:38:26 +0300 |
commit | 8bec2833fb28d7c8fcc25127190abbe3eb0ca260 (patch) | |
tree | 563eec7de13ee9f3a6626bd2a9367bee9db5d4d8 /net/core/ethtool.c | |
parent | 2cd173e6d542f8e96369608db849b71135d65afb (diff) | |
download | linux-8bec2833fb28d7c8fcc25127190abbe3eb0ca260.tar.xz |
flow_offload: add wake-up-on-lan and queue to flow_action
These actions need to be added to support the ethtool_rx_flow interface.
The queue action includes a field to specify the RSS context, that is
set via FLOW_RSS flow type flag and the rss_context field in struct
ethtool_rxnfc, plus the corresponding queue index. FLOW_RSS implies that
rss_context is non-zero, therefore, queue.ctx == 0 means that FLOW_RSS
was not set. Also add a field to store the vf index which is stored in
the ethtool_rxnfc ring_cookie field.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/ethtool.c')
0 files changed, 0 insertions, 0 deletions