net/mlx5e: TC, Handle sampled packets
Mark the sampled packets with a sample restore object. Send sampled packets using the psample api. Signed-off-by:Chris Mi <cmi@nvidia.com> Reviewed-by:
Oz Shlomo <ozsh@nvidia.com> Reviewed-by:
Mark Bloch <mbloch@nvidia.com> Signed-off-by:
Saeed Mahameed <saeedm@nvidia.com>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c 11 additions, 3 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c
- drivers/net/ethernet/mellanox/mlx5/core/esw/sample.c 15 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/esw/sample.c
- drivers/net/ethernet/mellanox/mlx5/core/esw/sample.h 3 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/esw/sample.h
- drivers/net/ethernet/mellanox/mlx5/core/eswitch.h 6 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/eswitch.h
Please register or sign in to comment