From: Jerin Jacob Date: Fri, 26 Oct 2018 12:40:32 +0000 (+0000) Subject: app/testpmd: fix QinQ strip display option X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a72a1ef34e75f40efc0a2051f55d555af9138e9c;p=dpdk.git app/testpmd: fix QinQ strip display option Fix a typo on DEV_RX_OFFLOAD_QINQ_STRIP selection. Fixes: 0074d02fca21 ("app/testpmd: convert to new Rx offloads API") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob Reviewed-by: Ferruh Yigit --- diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 56afe46c03..b9e5dd923b 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -587,7 +587,7 @@ port_offload_cap_display(portid_t port_id) if (dev_info.rx_offload_capa & DEV_RX_OFFLOAD_QINQ_STRIP) { printf("Double VLANs stripped: "); if (ports[port_id].dev_conf.rxmode.offloads & - DEV_RX_OFFLOAD_VLAN_EXTEND) + DEV_RX_OFFLOAD_QINQ_STRIP) printf("on\n"); else printf("off\n");