net/mlx5: separate DevX commands interface
[dpdk.git] / drivers / net / mlx5 / mlx5_prm.h
index 651006b..8a67025 100644 (file)
@@ -99,6 +99,9 @@
  * in tx burst routine at the moment of freeing multiple mbufs.
  */
 #define MLX5_EMPW_MAX_PACKETS MLX5_TX_COMP_THRESH
+#define MLX5_MPW_MAX_PACKETS 6
+#define MLX5_MPW_INLINE_MAX_PACKETS 2
+
 /*
  * Default packet length threshold to be inlined with
  * ordinary SEND. Inlining saves the MR key search
@@ -679,7 +682,11 @@ struct mlx5_ifc_fte_match_set_misc3_bits {
        u8 icmp_code[0x8];
        u8 icmpv6_type[0x8];
        u8 icmpv6_code[0x8];
-       u8 reserved_at_1a0[0xe0];
+       u8 reserved_at_120[0x20];
+       u8 gtpu_teid[0x20];
+       u8 gtpu_msg_type[0x08];
+       u8 gtpu_msg_flags[0x08];
+       u8 reserved_at_170[0x90];
 };
 
 /* Flow matcher. */
@@ -1193,7 +1200,9 @@ struct mlx5_ifc_qos_cap_bits {
        u8 reserved_at_8[0x8];
        u8 log_max_flow_meter[0x8];
        u8 flow_meter_reg_id[0x8];
-       u8 reserved_at_25[0x20];
+       u8 reserved_at_25[0x8];
+       u8 flow_meter_reg_share[0x1];
+       u8 reserved_at_2e[0x17];
        u8 packet_pacing_max_rate[0x20];
        u8 packet_pacing_min_rate[0x20];
        u8 reserved_at_80[0x10];
@@ -1232,7 +1241,9 @@ struct mlx5_ifc_per_protocol_networking_offload_caps_bits {
        u8 swp[0x1];
        u8 swp_csum[0x1];
        u8 swp_lso[0x1];
-       u8 reserved_at_23[0xd];
+       u8 reserved_at_23[0x8];
+       u8 tunnel_stateless_gtp[0x1];
+       u8 reserved_at_25[0x4];
        u8 max_vxlan_udp_ports[0x8];
        u8 reserved_at_38[0x6];
        u8 max_geneve_opt_len[0x1];
@@ -1813,6 +1824,9 @@ enum {
 #define MLX5_SRTCM_CIR_MAX (8 * (1ULL << 30) * 0xFF)
 #define MLX5_SRTCM_EBS_MAX 0
 
+/* The bits meter color use. */
+#define MLX5_MTR_COLOR_BITS 8
+
 /**
  * Convert a user mark to flow mark.
  *