Re: [PATCH v5] app/testpmd: fix protocol header display for Rx buffer split

2022-11-10 Thread Andrew Rybchenko
On 11/10/22 11:20, Yuan Wang wrote: 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 redefining rx_pkt_hdr_protos to hold the full ptypes, and the show and set

[PATCH v5] app/testpmd: fix protocol header display for Rx buffer split

2022-11-10 Thread Yuan Wang
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 redefining rx_pkt_hdr_protos to hold the full ptypes, and the show and set commands therefore remain symmetrical