app/testpmd: fix Tx QinQ set
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Fri, 5 Apr 2019 07:36:24 +0000 (07:36 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 5 Apr 2019 15:45:22 +0000 (17:45 +0200)
commit6b1ad5181c7dc10119238e8798bbc96c9d83d1fc
treecb3a976d939925f2cbb89bb34f826c6f00c64a31
parent368ba98aead8fc1c84e65cbf43338b4bcc856364
app/testpmd: fix Tx QinQ set

Enable DEV_TX_OFFLOAD_VLAN_INSERT also along with
DEV_TX_OFFLOAD_VLAN_QINQ in tx_qinq_set() as it takes
both vlan id's as arguments.

Fixes: 597f9fafe13b ("app/testpmd: convert to new Tx offloads API")
Cc: stable@dpdk.org
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/config.c