]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx4/mlx4_flow.h
net/mlx4: expose support for flow rule priorities
[dpdk.git] / drivers / net / mlx4 / mlx4_flow.h
index 459030c60ccea436087d14b2cfbfab8ffb1f35df..8ac09f1350fa12b4268cb7e206970f0f0d14735c 100644 (file)
@@ -52,6 +52,9 @@
 #include <rte_flow_driver.h>
 #include <rte_byteorder.h>
 
+/** Last and lowest priority level for a flow rule. */
+#define MLX4_FLOW_PRIORITY_LAST UINT32_C(0xfff)
+
 /** PMD-specific (mlx4) definition of a flow rule handle. */
 struct rte_flow {
        LIST_ENTRY(rte_flow) next; /**< Pointer to the next flow structure. */