net/mlx5e: TC, Parse sample action
authorChris Mi <cmi@nvidia.com>
Mon, 31 Aug 2020 05:28:35 +0000 (13:28 +0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 7 Apr 2021 04:36:03 +0000 (21:36 -0700)
commit41c2fd949803a5ff8acfed1d81c0bbd62d8f660d
tree0b86882aac626c3b092297267fed7cbe6c5b0c81
parentc935568271b5b25baea65ad623f146de72570cd7
net/mlx5e: TC, Parse sample action

Parse TC sample action and save sample parameters in flow attribute
data structure.

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>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_priv.h
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/esw/sample.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h