[PATCH 19.11 4/6] net/mlx5: fix GRE protocol type translation

Gregory Etelson getelson at nvidia.com
Mon Dec 6 11:10:26 CET 2021


Hello Christian,

.. snip ..

> > Hi,
> > build tests have shown that this breaks on
> 19.11 like:
> >
> > [1479/2115] Compiling C object
> >
> drivers/libtmp_rte_pmd_mlx5.a.p/net_mlx5_ml
> x5_flow_dv.c.o
> > ../drivers/net/mlx5/mlx5_flow_dv.c: In
> function '__flow_dv_translate':
> > ../drivers/net/mlx5/mlx5_flow_dv.c:7912:4:
> warning: implicit
> > declaration of function 'MLX5_ASSERT'; did
> you mean 'MLX5_SET'?
> > [-Wimplicit-function-declaration]
> >  7912 |    MLX5_ASSERT(false);
> >       |    ^~~~~~~~~~~
> >       |    MLX5_SET
> > ../drivers/net/mlx5/mlx5_flow_dv.c:7912:4:
> warning: nested extern
> > declaration of 'MLX5_ASSERT' [-Wnested-
> externs]
> > [1538/2115] Linking target
> drivers/librte_pmd_mlx5.so.20.0
> > FAILED: drivers/librte_pmd_mlx5.so.20.0
> >
> >
> > For now - I'll remove the patch from the WIP
> 19.11 branch, please
> > consider submitting a backport adapted to
> work on
> > https://github.com/cpaelzer/dpdk-stable-
> queue/tree/19.11
> 
> 
> And dropping that makes the subsequent
> "net/mlx5: fix GRE flow item
> matching" fail to apply well, so I had to drop that
> as well for now.
> Let me know if you consider re-submitting
> updated backports of those two.
> 
> 

I reproduced the fault and prepare a fix.
I'll post v2 later today.

Regards,
Gregory



More information about the stable mailing list