> -----Original Message----- > From: Wang, YuanX <yuanx.w...@intel.com> > Sent: Tuesday, October 18, 2022 1:05 AM > To: Yang, Qiming <qiming.y...@intel.com>; Zhang, Qi Z > <qi.z.zh...@intel.com> > Cc: dev@dpdk.org; Ding, Xuan <xuan.d...@intel.com>; Tang, Yaqi > <yaqi.t...@intel.com>; Wang, YuanX <yuanx.w...@intel.com> > 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 <yuanx.w...@intel.com> > > --- > v2: fix typo > > ---
Tested-by: Yaqi Tang <yaqi.t...@intel.com>