app/testpmd: fix Tx VLAN and QinQ dependency
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Fri, 5 Apr 2019 07:36:21 +0000 (07:36 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 5 Apr 2019 15:45:22 +0000 (17:45 +0200)
commit368ba98aead8fc1c84e65cbf43338b4bcc856364
tree13cec69b45414989660a14d31409e8369651d14f
parent1aec68d134c4c36f14a5703b824c5c015da86296
app/testpmd: fix Tx VLAN and QinQ dependency

Tx VLAN & QinQ insert enable need not depend on
Rx VLAN offload ETH_VLAN_EXTEND_OFFLOAD. For Tx VLAN
insert enable, error check is now to see if QinQ was enabled
but only single VLAN id is set.

Fixes: 6a34f91690d0 ("app/testpmd: fix error message when setting Tx VLAN")
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