Re: [PATCH] net: add macro for VLAN header length

2021-11-17 Thread Ferruh Yigit
On 11/17/2021 10:02 AM, Thomas Monjalon wrote: 17/11/2021 11:00, Ferruh Yigit: On 11/16/2021 11:14 PM, Thomas Monjalon wrote: 10/11/2021 18:40, Ferruh Yigit: Multiple drivers are defining macros for VLAN header length, to remove the redundancy defining macro in the ether header. And updated dr

Re: [PATCH] net: add macro for VLAN header length

2021-11-17 Thread Thomas Monjalon
17/11/2021 11:00, Ferruh Yigit: > On 11/16/2021 11:14 PM, Thomas Monjalon wrote: > > 10/11/2021 18:40, Ferruh Yigit: > >> Multiple drivers are defining macros for VLAN header length, to remove > >> the redundancy defining macro in the ether header. > >> And updated drivers to use the new macro. > >

Re: [PATCH] net: add macro for VLAN header length

2021-11-17 Thread Ferruh Yigit
On 11/16/2021 11:14 PM, Thomas Monjalon wrote: 10/11/2021 18:40, Ferruh Yigit: Multiple drivers are defining macros for VLAN header length, to remove the redundancy defining macro in the ether header. And updated drivers to use the new macro. Signed-off-by: Ferruh Yigit [...] --- a/lib/net/r

Re: [PATCH] net: add macro for VLAN header length

2021-11-16 Thread Thomas Monjalon
10/11/2021 18:40, Ferruh Yigit: > Multiple drivers are defining macros for VLAN header length, to remove > the redundancy defining macro in the ether header. > And updated drivers to use the new macro. > > Signed-off-by: Ferruh Yigit [...] > --- a/lib/net/rte_ether.h > +++ b/lib/net/rte_ether.h >

RE: [PATCH] net: add macro for VLAN header length

2021-11-11 Thread Jiawen Wu
On November 11, 2021 1:40 AM, Ferruh Yigit wrote: > Multiple drivers are defining macros for VLAN header length, to remove the > redundancy defining macro in the ether header. > And updated drivers to use the new macro. > > Signed-off-by: Ferruh Yigit > --- > drivers/net/bnx2x/bnx2x_vfpf.c

RE: [PATCH] net: add macro for VLAN header length

2021-11-11 Thread Xu, Rosen
g ; Yang, Qiming ; Xu, > Rosen ; Wang, Haiyue ; > Jiawen Wu ; Jian Wang > ; Maxime Coquelin > ; Xia, Chenbo ; > Olivier Matz > Cc: Yigit, Ferruh ; dev@dpdk.org > Subject: [PATCH] net: add macro for VLAN header length > > Multiple drivers are defining macros for VLAN header

RE: [PATCH] net: add macro for VLAN header length

2021-11-10 Thread Wang, Haiyue
g ; Yang, Qiming > ; > Xu, Rosen ; Wang, Haiyue ; Jiawen > Wu > ; Jian Wang ; Maxime > Coquelin > ; Xia, Chenbo ; Olivier > Matz > Cc: Yigit, Ferruh ; dev@dpdk.org > Subject: [PATCH] net: add macro for VLAN header length > > Multiple drivers are defining macros

[PATCH] net: add macro for VLAN header length

2021-11-10 Thread Ferruh Yigit
Multiple drivers are defining macros for VLAN header length, to remove the redundancy defining macro in the ether header. And updated drivers to use the new macro. Signed-off-by: Ferruh Yigit --- drivers/net/bnx2x/bnx2x_vfpf.c | 2 +- drivers/net/bnx2x/bnx2x_vfpf.h | 2 -- drivers/ne