[PATCH v1 2/2] net/mlx5: adopt new sample ID

Slava Ovsiienko viacheslavo at nvidia.com
Wed Mar 22 10:57:35 CET 2023


> -----Original Message-----
> From: Rongwei Liu <rongweil at nvidia.com>
> Sent: среда, 22 марта 2023 г. 11:38
> To: dev at dpdk.org; Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Ori Kam <orika at nvidia.com>; NBU-Contact-
> Thomas Monjalon (EXTERNAL) <thomas at monjalon.net>
> Subject: [PATCH v1 2/2] net/mlx5: adopt new sample ID
> 
> Extended sample ID is the behavior of the current firmware and this change
> was reverted.
> In Apr GA, the sample ID will be the same as 22.11 DPDK (0-7).
> Now, the sample ID returned by mlx5_devx_cmd_query_parse_samples()
> is still 0-7 and can be used directly by legacy SWS logic.
> 
> For HWS, the application should refer to the attributes returned by
> mlx5_devx_cmd_query_match_sample_info to get the sample_dw_data/
> modify_field_id/sample_dw_ok_bit/sample_dw_ok_bit_offset.
> 
> Signed-off-by: Rongwei Liu <rongweil at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>



More information about the dev mailing list