RE: [PATCH] net/ice: fix the judgment order of buffer split

2022-10-17 Thread Wang, YuanX
Hi Xuan, > -Original Message- > From: Ding, Xuan > Sent: Monday, October 17, 2022 4:40 PM > To: Wang, YuanX ; Yang, Qiming > ; Zhang, Qi Z > Cc: dev@dpdk.org; Tang, Yaqi > Subject: RE: [PATCH] net/ice: fix the judgment order of buffer split > > Hi Yuan, &

RE: [PATCH] net/ice: fix the judgment order of buffer split

2022-10-17 Thread Ding, Xuan
Hi Yuan, > -Original Message- > From: Wang, YuanX > Sent: Tuesday, October 18, 2022 12:00 AM > To: Yang, Qiming ; Zhang, Qi Z > > Cc: dev@dpdk.org; Ding, Xuan ; Tang, Yaqi > ; Wang, YuanX > Subject: [PATCH] net/ice: fix the judgment order of buffer split >

[PATCH] net/ice: fix the judgment order of buffer split

2022-10-17 Thread Yuan Wang
proto_hdr defines a bit mask of the protocol sequence as RTE_PTYPE_*, The last RTE_PTYPE* in the mask indicates the split position. To get the split position from hdr_proto, the order of judgement should be from inner to outer layer, so for tunneling packets the tunnel header should be placed at t