]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net/mlx5: E-Switch, Add API to configure rules for the offloaded mode
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 14 Jul 2016 07:32:41 +0000 (10:32 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2016 20:34:28 +0000 (13:34 -0700)
commit3d80d1a2f59ab350f452e1dbc085ba68e5fd8169
tree41b9c8b1d1f2c85c2c5e88930f03a971e5bd0603
parent1033665e63b6d98e91c1b938bad2dc624a72c137
net/mlx5: E-Switch, Add API to configure rules for the offloaded mode

This allows for upper levels in the driver, e.g the TC offload code to add
e-switch offloaded steering rules. The caller provides the rule spec for
matching, action, source and destination vports.

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>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c