]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net/mlx5e: Enabling aRFS mechanism
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 28 Apr 2016 22:36:42 +0000 (01:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Apr 2016 20:29:12 +0000 (16:29 -0400)
commit45bf454ae88414e80b80979ebb2c22bd66ea7d1b
tree1d7861ced0002caa0e29d8f99e9c8b16dc8d6ddc
parent18c908e477dcc94ede69323a6b876b5d8cfb40ff
net/mlx5e: Enabling aRFS mechanism

Accelerated RFS requires that ntuple filtering is enabled via
ethtool and driver supports ndo_rx_flow_steer.
When the ntuple filtering is enabled, we modify the l3_l4 ttc
rules to point on the aRFS flow tables and when the filtering
is disabled, we modify the l3_l4 ttc rules to point on the RSS
TIRs.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c