DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/mlx5: fix query for NIC flow cap
@ 2023-07-06 12:36 Ori Kam
  2023-07-10 12:48 ` Raslan Darawsheh
  0 siblings, 1 reply; 2+ messages in thread
From: Ori Kam @ 2023-07-06 12:36 UTC (permalink / raw)
  To: Matan Azrad, Viacheslav Ovsiienko, Suanming Mou, Bing Zhao
  Cc: dev, orika, rasland

Add query for nic flow table support bit.

Fixes: 5f44fb1958e5 ("common/mlx5: query capability of registers")
Cc: bingz@nvidia.com

Signed-off-by: Ori Kam <orika@nvidia.com>
Acked-by: Suanming Mou suanmingm@nvidia.com
---
 drivers/common/mlx5/mlx5_devx_cmds.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/common/mlx5/mlx5_devx_cmds.c b/drivers/common/mlx5/mlx5_devx_cmds.c
index ef87862a6d..66a77159a0 100644
--- a/drivers/common/mlx5/mlx5_devx_cmds.c
+++ b/drivers/common/mlx5/mlx5_devx_cmds.c
@@ -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);
-- 
2.34.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH] net/mlx5: fix query for NIC flow cap
  2023-07-06 12:36 [PATCH] net/mlx5: fix query for NIC flow cap Ori Kam
@ 2023-07-10 12:48 ` Raslan Darawsheh
  0 siblings, 0 replies; 2+ messages in thread
From: Raslan Darawsheh @ 2023-07-10 12:48 UTC (permalink / raw)
  To: Ori Kam, Matan Azrad, Slava Ovsiienko, Suanming Mou, Bing Zhao; +Cc: dev

Hi,

> -----Original Message-----
> From: Ori Kam <orika@nvidia.com>
> Sent: Thursday, July 6, 2023 3:36 PM
> To: Matan Azrad <matan@nvidia.com>; Slava Ovsiienko
> <viacheslavo@nvidia.com>; Suanming Mou <suanmingm@nvidia.com>; Bing
> Zhao <bingz@nvidia.com>
> Cc: dev@dpdk.org; Ori Kam <orika@nvidia.com>; Raslan Darawsheh
> <rasland@nvidia.com>
> Subject: [PATCH] net/mlx5: fix query for NIC flow cap
> 
> Add query for nic flow table support bit.
> 
> Fixes: 5f44fb1958e5 ("common/mlx5: query capability of registers")
> Cc: bingz@nvidia.com
> 
> Signed-off-by: Ori Kam <orika@nvidia.com>
> Acked-by: Suanming Mou suanmingm@nvidia.com

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-10 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-06 12:36 [PATCH] net/mlx5: fix query for NIC flow cap Ori Kam
2023-07-10 12:48 ` Raslan Darawsheh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).