summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_defs.h
diff options
context:
space:
mode:
authorYaacov Hazan <yaacovh@mellanox.com>2016-03-03 15:26:41 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-03-16 18:52:17 +0100
commit0497ddaac511ea86a4d7f5239a723512fc176a98 (patch)
treef426b05113006e4df04ebce606cb5d556e4d269b /drivers/net/mlx5/mlx5_defs.h
parent083c2dd317762cb7784b0ff2b3bcb1cad875b746 (diff)
downloaddpdk-next-eventdev-0497ddaac511ea86a4d7f5239a723512fc176a98.zip
dpdk-next-eventdev-0497ddaac511ea86a4d7f5239a723512fc176a98.tar.gz
dpdk-next-eventdev-0497ddaac511ea86a4d7f5239a723512fc176a98.tar.xz
mlx5: add special flows for broadcast and IPv6 multicast
Until now, broadcast frames were handled like unicast. Moving the related flow to the special flows table frees up the related unicast MAC entry. The same method is used to handle IPv6 multicast frames. Signed-off-by: Yaacov Hazan <yaacovh@mellanox.com> Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_defs.h')
-rw-r--r--drivers/net/mlx5/mlx5_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mlx5/mlx5_defs.h b/drivers/net/mlx5/mlx5_defs.h
index 1f2a010..a7440e7 100644
--- a/drivers/net/mlx5/mlx5_defs.h
+++ b/drivers/net/mlx5/mlx5_defs.h
@@ -44,7 +44,7 @@
#define MLX5_MAX_VLAN_IDS 128
/* Maximum number of special flows. */
-#define MLX5_MAX_SPECIAL_FLOWS 2
+#define MLX5_MAX_SPECIAL_FLOWS 4
/* Request send completion once in every 64 sends, might be less. */
#define MLX5_PMD_TX_PER_COMP_REQ 64