]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_defs.h
examples/l3fwd: share queue size variables
[dpdk.git] / drivers / net / mlx5 / mlx5_defs.h
index 2d48fde010c38ed564c86e4f8756847ea887c72c..15728fb41f34b6293395f974948ad0a2650b2f8a 100644 (file)
 /* Maximum number of indirect actions supported by rte_flow */
 #define MLX5_MAX_INDIRECT_ACTIONS 3
 
+/* Maximum number of external Rx queues supported by rte_flow */
+#define MLX5_MAX_EXT_RX_QUEUES (UINT16_MAX - MLX5_EXTERNAL_RX_QUEUE_ID_MIN + 1)
+
 /*
  * Linux definition of static_assert is found in /usr/include/assert.h.
  * Windows does not require a redefinition.