> -----Original Message----- > From: Wang, YuanX <[email protected]> > Sent: Monday, November 7, 2022 4:45 PM > To: [email protected]; Singh, Aman Deep > <[email protected]>; Zhang, Yuying <[email protected]> > Cc: Ding, Xuan <[email protected]>; Tang, Yaqi <[email protected]>; > [email protected]; Wang, YuanX <[email protected]> > 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 <[email protected]> > > --- > v3: > - use RTE_PTYPE_*_MASK as masks. > - refactor to use switch statement. > v2: > - add fixline. > > ---
Tested-by: Yaqi Tang <[email protected]>

