[PATCH V1 3/4] net/mlx5: remove unneeded FDB flag on representor action

Dariusz Sosnowski dsosnowski at nvidia.com
Tue Feb 25 13:11:10 CET 2025



> -----Original Message-----
> From: Ophir Munk <ophirmu at nvidia.com>
> Sent: Tuesday, February 25, 2025 13:02
> To: Dariusz Sosnowski <dsosnowski at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Bing Zhao <bingz at nvidia.com>; Ori Kam
> <orika at nvidia.com>; Suanming Mou <suanmingm at nvidia.com>; Matan Azrad
> <matan at nvidia.com>
> Cc: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>; Jiawei(Jonny)
> Wang <jiaweiw at nvidia.com>
> Subject: [PATCH V1 3/4] net/mlx5: remove unneeded FDB flag on representor
> action
> 
> From: Bing Zhao <bingz at nvidia.com>
> 
> The "send_to_kernel" action is shared and created during the HWS configuration
> stage. By default, the NIC Rx and Tx flags are needed.
> 
> There is only one case that the FDB* flags are needed when creating the action,
> the same as other shared actions. Only the transfer proxy port needs the FDB*
> flags for shared actions.
> 
> Removing the unneeded FDB flags will help to save the resources of memory and
> STCs.
> 
> Fixes: 07836ba156cb ("net/mlx5: fix device checking for send to kernel action")
> Cc: jiaweiw at nvidia.com
> 
> Signed-off-by: Bing Zhao <bingz at nvidia.com>

Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>

Best regards,
Dariusz Sosnowski


More information about the dev mailing list