ethdev: fix QinQ offload
Use correct flag for indicating QinQ strip rx offload.
Fixes: dfebfc9882
("ethdev: support dynamic configuration of QinQ strip")
Cc: stable@dpdk.org
Signed-off-by: Vivek Sharma <viveksharma@marvell.com>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
This commit is contained in:
parent
66c249f4d8
commit
041dba5768
@ -2936,7 +2936,7 @@ rte_eth_dev_get_vlan_offload(uint16_t port_id)
|
||||
ret |= ETH_VLAN_EXTEND_OFFLOAD;
|
||||
|
||||
if (*dev_offloads & DEV_RX_OFFLOAD_QINQ_STRIP)
|
||||
ret |= DEV_RX_OFFLOAD_QINQ_STRIP;
|
||||
ret |= ETH_QINQ_STRIP_OFFLOAD;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user