RE: [PATCH] net/iavf: fix VLAN insertion in vector path

2023-06-28 Thread Lu, Wenzhuo
> -Original Message- > From: Zhang, Qi Z > Sent: Wednesday, June 28, 2023 4:59 PM > To: Lu, Wenzhuo ; dev@dpdk.org > Cc: sta...@dpdk.org > Subject: RE: [PATCH] net/iavf: fix VLAN insertion in vector path > > > > > -Original Message- > >

RE: [PATCH] net/iavf: fix VLAN insertion in vector path

2023-06-28 Thread Zhang, Qi Z
> -Original Message- > From: Lu, Wenzhuo > Sent: Wednesday, June 28, 2023 3:13 PM > To: Zhang, Qi Z ; dev@dpdk.org > Cc: sta...@dpdk.org > Subject: RE: [PATCH] net/iavf: fix VLAN insertion in vector path > > Hi Qi, > > > -Original Message

RE: [PATCH] net/iavf: fix VLAN insertion in vector path

2023-06-28 Thread Lu, Wenzhuo
Hi Qi, > -Original Message- > From: Zhang, Qi Z > Sent: Wednesday, June 28, 2023 2:57 PM > To: Lu, Wenzhuo ; dev@dpdk.org > Cc: Lu, Wenzhuo ; sta...@dpdk.org > Subject: RE: [PATCH] net/iavf: fix VLAN insertion in vector path > > We may need to update the iavf.i

RE: [PATCH] net/iavf: fix VLAN insertion in vector path

2023-06-27 Thread Zhang, Qi Z
> -Original Message- > From: Wenzhuo Lu > Sent: Wednesday, June 21, 2023 9:19 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; sta...@dpdk.org > Subject: [PATCH] net/iavf: fix VLAN insertion in vector path > > As the VLAN insertion is partially supported in vect

[PATCH] net/iavf: fix VLAN insertion in vector path

2023-06-20 Thread Wenzhuo Lu
As the VLAN insertion is partially supported in vector path, the behavior is different in scalar and vector path. For a VLAN packet, if using scalar path, the new VLAN tag will be inserted after the original VLAN tag. If using vector path, the new VLAN tag is inserted before the original VLAN tag.

RE: [PATCH] net/iavf: fix VLAN insertion

2022-08-11 Thread Zhang, Qi Z
> -Original Message- > From: Yiding Zhou > Sent: Friday, August 12, 2022 10:53 AM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; sta...@dpdk.org; Zhou, YidingX > > Subject: [PATCH] net/iavf: fix VLAN insertion > > When the PF driver tells the V

[PATCH] net/iavf: fix VLAN insertion

2022-08-11 Thread Yiding Zhou
When the PF driver tells the VF to insert VLAN tag using the L2TAG2 field, vector Tx path does not use Tx context descriptor and would cause VLAN tag inserted into the wrong location. This commit is to fix the issue by using normal Tx path to handle L2TAG2 case. Fixes: 3aa957338503 ("net/iavf: fi

[PATCH] net/iavf: fix VLAN insertion

2022-08-11 Thread Yiding Zhou
When the driver tells the VF to insert VLAN tag using the L2TAG2 field, vector Tx path does not use Tx context descriptor and would cause VLAN tag inserted into the wrong location. This commit is to fix issue by using normal Tx path to handle L2TAG2 case. Fixes: 3aa957338503 ("net/iavf: fix VLAN

RE: [PATCH] net/iavf: fix VLAN insertion

2021-11-16 Thread Zhang, Qi Z
> -Original Message- > From: Nicolau, Radu > Sent: Monday, November 15, 2021 7:42 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Zhang, Qi Z ; Nicolau, Radu > > Subject: [PATCH] net/iavf: fix VLAN insertion > > Fix wrong VLAN insertion

[PATCH] net/iavf: fix VLAN insertion

2021-11-15 Thread Radu Nicolau
Fix wrong VLAN insertion position as inner. Fixes: 1e728b01120c ("net/iavf: rework Tx path") Signed-off-by: Radu Nicolau --- drivers/net/iavf/iavf_rxtx.c | 50 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/drivers/net/iavf/iavf_rxtx.c b/driv