Skip to content

Commit

Permalink
net/mlx5: fix query for NIC flow capability
Browse files Browse the repository at this point in the history
Add query for NIC flow table support bit.

Fixes: 5f44fb1 ("common/mlx5: query capability of registers")
Cc: stable@dpdk.org

Signed-off-by: Ori Kam <orika@nvidia.com>
Acked-by: Suanming Mou <suanmingm@nvidia.com>
  • Loading branch information
orikam authored and raslandarawsheh committed Jul 10, 2023
1 parent c17910c commit c83ee60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/common/mlx5/mlx5_devx_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,7 @@ mlx5_devx_cmd_query_hca_attr(void *ctx,
general_obj_types) &
MLX5_GENERAL_OBJ_TYPES_CAP_CONN_TRACK_OFFLOAD);
attr->rq_delay_drop = MLX5_GET(cmd_hca_cap, hcattr, rq_delay_drop);
attr->nic_flow_table = MLX5_GET(cmd_hca_cap, hcattr, nic_flow_table);
attr->striding_rq = MLX5_GET(cmd_hca_cap, hcattr, striding_rq);
attr->ext_stride_num_range =
MLX5_GET(cmd_hca_cap, hcattr, ext_stride_num_range);
Expand Down

0 comments on commit c83ee60

Please sign in to comment.