diff options
author | Eli Britstein | 2018-11-23 08:38:27 +0100 |
---|---|---|
committer | Saeed Mahameed | 2018-12-11 23:52:19 +0100 |
commit | e85e02bad29e822c3ebde80e7c9e7428329c4a5b (patch) | |
tree | 29a4bddac6049aa02f7b4c03cbb7cd06511c291f /drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | |
parent | net/mlx5: Consider encapsulation properties when comparing destinations (diff) | |
download | kernel-qcow2-linux-e85e02bad29e822c3ebde80e7c9e7428329c4a5b.tar.gz kernel-qcow2-linux-e85e02bad29e822c3ebde80e7c9e7428329c4a5b.tar.xz kernel-qcow2-linux-e85e02bad29e822c3ebde80e7c9e7428329c4a5b.zip |
net/mlx5: E-Switch, Rename esw attr mirror count field
The mirror count esw attributes field is used to determine if splitting
the rule to two FTEs is required while programming e-switch mirroring.
Rename it to split count, making it clearer with no functional change.
Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h index 480ffa294867..c28ff6487dfd 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h @@ -287,7 +287,7 @@ struct mlx5_esw_flow_attr { struct mlx5_core_dev *out_mdev[MLX5_MAX_FLOW_FWD_VPORTS]; struct mlx5_core_dev *in_mdev; - int mirror_count; + int split_count; int out_count; int action; |