projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4088816
)
net/mlx5: E-Switch, Increase supported number of forward destinations to 32
author
Maor Dickman
<maord@nvidia.com>
Sun, 5 Sep 2021 11:22:11 +0000
(14:22 +0300)
committer
Saeed Mahameed
<saeedm@nvidia.com>
Tue, 19 Oct 2021 03:18:10 +0000
(20:18 -0700)
Increase supported number of forward destinations in the same rule, local
and remote, from 2 to 32.
Signed-off-by: Maor Dickman <maord@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
index 7461aafb321eede7e5291df375149afdc72c9c06..28467f11f04b923f8befe8a4fc5f313e4461c080 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
+++ b/
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
@@
-433,7
+433,7
@@
enum mlx5_flow_match_level {
};
/* current maximum for flow based vport multicasting */
-#define MLX5_MAX_FLOW_FWD_VPORTS 2
+#define MLX5_MAX_FLOW_FWD_VPORTS
3
2
enum {
MLX5_ESW_DEST_ENCAP = BIT(0),