test/crypto: skip unsupported session
[dpdk.git] / drivers / common / mlx5 / mlx5_devx_cmds.h
index d1a21b8..f7802e6 100644 (file)
@@ -33,6 +33,7 @@ struct mlx5_devx_mkey_attr {
        uint32_t pd;
        uint32_t log_entity_size;
        uint32_t pg_access:1;
+       uint32_t relaxed_ordering:1;
        struct mlx5_klm *klm_array;
        int klm_num;
 };
@@ -78,6 +79,7 @@ struct mlx5_hca_vdpa_attr {
 struct mlx5_hca_attr {
        uint32_t eswitch_manager:1;
        uint32_t flow_counters_dump:1;
+       uint32_t log_max_rqt_size:5;
        uint8_t flow_counter_bulk_alloc_bitmap;
        uint32_t eth_net_offloads:1;
        uint32_t eth_virt:1;
@@ -181,13 +183,14 @@ struct mlx5_devx_tir_attr {
        uint32_t rx_hash_fn:4;
        uint32_t self_lb_block:2;
        uint32_t transport_domain:24;
-       uint32_t rx_hash_toeplitz_key[10];
+       uint8_t rx_hash_toeplitz_key[MLX5_RSS_HASH_KEY_LEN];
        struct mlx5_rx_hash_field_select rx_hash_field_selector_outer;
        struct mlx5_rx_hash_field_select rx_hash_field_selector_inner;
 };
 
 /* RQT attributes structure, used by RQT operations. */
 struct mlx5_devx_rqt_attr {
+       uint8_t rq_type;
        uint32_t rqt_max_size:16;
        uint32_t rqt_actual_size:16;
        uint32_t rq_list[];
@@ -343,5 +346,7 @@ struct mlx5_devx_obj *mlx5_devx_cmd_create_qp(struct ibv_context *ctx,
                                              struct mlx5_devx_qp_attr *attr);
 int mlx5_devx_cmd_modify_qp_state(struct mlx5_devx_obj *qp,
                                  uint32_t qp_st_mod_op, uint32_t remote_qp_id);
+int mlx5_devx_cmd_modify_rqt(struct mlx5_devx_obj *rqt,
+                            struct mlx5_devx_rqt_attr *rqt_attr);
 
 #endif /* RTE_PMD_MLX5_DEVX_CMDS_H_ */