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

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

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

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

[PATCH v2] 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 proto_hdr, the order of judgement should be from inner to outer layer, so for tunneling packets the tunnel header should be placed at t