[PATCH V2 3/4] net/mlx5: remove unneeded FDB flag on representor action
Dariusz Sosnowski
dsosnowski at nvidia.com
Wed Feb 26 10:13:20 CET 2025
> -----Original Message-----
> From: Ophir Munk <ophirmu at nvidia.com>
> Sent: Wednesday, February 26, 2025 9:39 AM
> 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 V2 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