net/mlx5: E-Switch, Create a dedicated send to vport rule deletion function
authorMark Bloch <markb@mellanox.com>
Thu, 7 Dec 2017 15:36:59 +0000 (15:36 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 Dec 2017 10:36:33 +0000 (12:36 +0200)
commit159fe63922450183931429ef0b6c7548d49e5bcc
tree79241db48121acb4ae7aa9df956b1c18a7280865
parentf7a68945a5aab7498fb7a3e5b13e2ae6c2955e55
net/mlx5: E-Switch, Create a dedicated send to vport rule deletion function

In order for representors to send packets directly to VFs we use an
E-Switch function which insert special rules into the HW. For symmetry
create an E-Switch function that deletes these rules as well.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c