On Thu, Jan 07, 2021 at 12:28:38PM -0800, Saeed Mahameed wrote: > From: Oz Shlomo <o...@nvidia.com> > > Connection counters may be shared for both directions when the counter > is used for connection aging purposes. However, if TC flow > accounting is enabled then a unique counter is required per direction. > > Instantiate a unique counter per direction if the conntrack accounting > extension is enabled. Use a shared counter when the connection accounting > extension is disabled. > > Fixes: 1edae2335adf ("net/mlx5e: CT: Use the same counter for both > directions") > Signed-off-by: Oz Shlomo <o...@nvidia.com> > Reported-by: Marcelo Ricardo Leitner <marcelo.leit...@gmail.com>
Tested-by: Marcelo Ricardo Leitner <marcelo.leit...@gmail.com> Thanks. > Reviewed-by: Roi Dayan <r...@nvidia.com> > Reviewed-by: Paul Blakey <pa...@nvidia.com> > Signed-off-by: Saeed Mahameed <sae...@nvidia.com>