> -----Original Message----- > From: Wang, YuanX <yuanx.w...@intel.com> > Sent: Monday, November 7, 2022 4:45 PM > To: andrew.rybche...@oktetlabs.ru; Singh, Aman Deep > <aman.deep.si...@intel.com>; Zhang, Yuying <yuying.zh...@intel.com> > Cc: Ding, Xuan <xuan.d...@intel.com>; Tang, Yaqi <yaqi.t...@intel.com>; > dev@dpdk.org; Wang, YuanX <yuanx.w...@intel.com> > Subject: [PATCH v3] app/testpmd: fix protocol header display for Rx buffer > split > > The "show config rxhdrs" cmd displays the configured protocol headers that > are used for protocol-based buffer split. > However, it shows inner-ipv6 as inner-ipv4. > > This patch fixes that by adjusting the order of condition judgments. > This patch also uses RTE_PTYPE_*_MASK as masks. > > Fixes: 52e2e7edcf48 ("app/testpmd: add protocol-based buffer split") > > Signed-off-by: Yuan Wang <yuanx.w...@intel.com> > > --- > v3: > - use RTE_PTYPE_*_MASK as masks. > - refactor to use switch statement. > v2: > - add fixline. > > ---
Tested-by: Yaqi Tang <yaqi.t...@intel.com>