> -----Original Message----- > From: Wang, YuanX <[email protected]> > Sent: Tuesday, October 18, 2022 1:05 AM > To: Yang, Qiming <[email protected]>; Zhang, Qi Z > <[email protected]> > Cc: [email protected]; Ding, Xuan <[email protected]>; Tang, Yaqi > <[email protected]>; Wang, YuanX <[email protected]> > Subject: [PATCH v2] net/ice: fix the judgment order of buffer split > > 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 the end of the judgement condition. > > Fixes: 629dad3ef325 ("net/ice: support buffer split in scalar Rx") > > Signed-off-by: Yuan Wang <[email protected]> > > --- > v2: fix typo > > ---
Tested-by: Yaqi Tang <[email protected]>

