Re: [dpdk-dev] [dpdk-stable] [PATCH 2/2] net/mlx5: use global default miss for E-Switch sampling
From: Jiawei(Jonny) Wang <hidden>
Date: 2021-01-27 15:25:25
Hi Ferruh,
-----Original Message----- From: Ferruh Yigit <redacted> Sent: Wednesday, January 27, 2021 8:50 PM To: Jiawei(Jonny) Wang <redacted>; Slava Ovsiienko [off-list ref]; Matan Azrad [off-list ref]; Ori Kam [off-list ref]; NBU-Contact-Thomas Monjalon [off-list ref] Cc: dev@dpdk.org; Raslan Darawsheh <redacted>; stable@dpdk.org; Kevin Traynor [off-list ref]; Luca Boccassi [off-list ref] Subject: Re: [dpdk-stable] [PATCH 2/2] net/mlx5: use global default miss for E-Switch sampling On 1/26/2021 12:53 PM, Jiawei Wang wrote:quoted
In E-Switch steering domain there was dedicated default miss action created for every sampling flow. The patch replaces this one with the global default miss action.Hi Jiawei, The impact of the patch is not clear, what was the problem using action per flow? What will change when global action is used? Is this fixing some problem or is it optimization by preventing per flow action?
The patch is optimization not fix, MLX5 PMD can reuses the global action don’t need allocate new one each time.
quoted
Cc: stable@dpdk.orgSince this looks like optimization, I am removing the stable tag for now.
Yes, please remove this tag. Thanks.
If it is a fix, please reply with a fixes line, I can update it in next-net.quoted
Signed-off-by: Jiawei Wang <redacted> Acked-by: Viacheslav Ovsiienko <redacted>