net/mlx5: E-Switch, Refactor send to vport to be more generic
Now that each representor stores a pointer to the managing E-Switch use that information when creating the send-to-vport rules. Signed-off-by:Mark Bloch <mbloch@nvidia.com> Reviewed-by:
Saeed Mahameed <saeedm@nvidia.com> Signed-off-by:
Saeed Mahameed <saeedm@nvidia.com>
Showing
- drivers/infiniband/hw/mlx5/ib_rep.c 1 addition, 2 deletionsdrivers/infiniband/hw/mlx5/ib_rep.c
- drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 1 addition, 2 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_rep.c
- drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 12 additions, 8 deletionsdrivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
- include/linux/mlx5/eswitch.h 2 additions, 2 deletionsinclude/linux/mlx5/eswitch.h
Loading
Please register or sign in to comment