summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2016-07-14 10:32:44 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-14 23:34:29 +0300
commit03a9d11e6eeb30363971a9e372b4d61b6e817882 (patch)
treef1025165af1037704686a70f9cdbf539aa819f14 /drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
parent8438884d4ab423161b974854ebb90c08219dd678 (diff)
downloadlinux-03a9d11e6eeb30363971a9e372b4d61b6e817882.tar.xz
net/mlx5e: Add TC drop and mirred/redirect action parsing for SRIOV offloads
Add the setup code that parses the TC actions needed to support offloading drop and mirred/redirect for SRIOV e-switch. We can redirect between two devices if they belong to the same HW switch, compare the switchdev HW ID attribute to enforce that. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c')
0 files changed, 0 insertions, 0 deletions