[PATCH v3] app/testpmd: fix protocol header display for Rx buffer split
Tang, Yaqi
yaqi.tang at intel.com
Mon Nov 7 09:51:49 CET 2022
> -----Original Message-----
> From: Wang, YuanX <yuanx.wang at intel.com>
> Sent: Monday, November 7, 2022 4:45 PM
> To: andrew.rybchenko at oktetlabs.ru; Singh, Aman Deep
> <aman.deep.singh at intel.com>; Zhang, Yuying <yuying.zhang at intel.com>
> Cc: Ding, Xuan <xuan.ding at intel.com>; Tang, Yaqi <yaqi.tang at intel.com>;
> dev at dpdk.org; Wang, YuanX <yuanx.wang at 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.wang at intel.com>
>
> ---
> v3:
> - use RTE_PTYPE_*_MASK as masks.
> - refactor to use switch statement.
> v2:
> - add fixline.
>
> ---
Tested-by: Yaqi Tang <yaqi.tang at intel.com>
More information about the dev
mailing list