Re: [dpdk-dev] [PATCH 3/8] common/mlx5: query sampler object capability via DevX

2020-06-30 Thread Ori Kam
> -Original Message- > From: Jiawei Wang > Sent: Thursday, June 25, 2020 7:26 PM > Jiawei(Jonny) Wang > Subject: [PATCH 3/8] common/mlx5: query sampler object capability via DevX > > Update function mlx5_devx_cmd_query_hca_attr() to add the NIC Flow > Table attributes query, then get

[dpdk-dev] [PATCH 3/8] common/mlx5: query sampler object capability via DevX

2020-06-25 Thread Jiawei Wang
Update function mlx5_devx_cmd_query_hca_attr() to add the NIC Flow Table attributes query, then get the log_max_flow_sampler_num from flow table properties. Add the related structs definition in mlx5_prm.h. Signed-off-by: Jiawei Wang --- drivers/common/mlx5/mlx5_devx_cmds.c | 27 +++