net/mlx5: add flow match on GENEVE item
[dpdk.git] / drivers / net / mlx5 / mlx5_devx_cmds.c
index 01e4094..51947d3 100644 (file)
@@ -376,6 +376,12 @@ mlx5_devx_cmd_query_hca_attr(struct ibv_context *ctx,
                        MLX5_GET(per_protocol_networking_offload_caps, hcattr,
                                 lro_timer_supported_periods[i]);
        }
+       attr->tunnel_stateless_geneve_rx =
+                           MLX5_GET(per_protocol_networking_offload_caps,
+                                    hcattr, tunnel_stateless_geneve_rx);
+       attr->geneve_max_opt_len =
+                   MLX5_GET(per_protocol_networking_offload_caps,
+                            hcattr, max_geneve_opt_len);
        attr->wqe_inline_mode = MLX5_GET(per_protocol_networking_offload_caps,
                                         hcattr, wqe_inline_mode);
        if (attr->wqe_inline_mode != MLX5_CAP_INLINE_MODE_VPORT_CONTEXT)