summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-02-02 12:50:51 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-06 10:38:26 -0800
commiteca4205f9ec3bea2d5aad0493c19f5d2675a20fc (patch)
tree3068cfcdfbd7cf6f2e95d0e69d8fba8c10ee15e3 /drivers/net/dsa
parent8bec2833fb28d7c8fcc25127190abbe3eb0ca260 (diff)
downloadlinux-eca4205f9ec3bea2d5aad0493c19f5d2675a20fc.tar.gz
linux-eca4205f9ec3bea2d5aad0493c19f5d2675a20fc.tar.bz2
linux-eca4205f9ec3bea2d5aad0493c19f5d2675a20fc.zip
ethtool: add ethtool_rx_flow_spec to flow_rule structure translator
This patch adds a function to translate the ethtool_rx_flow_spec structure to the flow_rule representation. This allows us to reuse code from the driver side given that both flower and ethtool_rx_flow interfaces use the same representation. This patch also includes support for the flow type flags FLOW_EXT, FLOW_MAC_EXT and FLOW_RSS. The ethtool_rx_flow_spec_input wrapper structure is used to convey the rss_context field, that is away from the ethtool_rx_flow_spec structure, and the ethtool_rx_flow_spec structure. 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 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions