DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Help with QinQ insertion on i40e
@ 2017-09-14 17:15 Raul Negreiros
  0 siblings, 0 replies; only message in thread
From: Raul Negreiros @ 2017-09-14 17:15 UTC (permalink / raw)
  To: users

Hi,

I'm trying to insert QinQ in the packet using the offload feature, but
unfortunately I'm unsuccessful.

These are my steps:
- On device configuration configuration:
- call 'rte_eth_dev_set_vlan_offload' with the following flags:
ETH_VLAN_STRIP_OFFLOAD, ETH_VLAN_EXTEND_OFFLOAD;
- call 'rte_eth_dev_set_vlan_ether_type' twice with the inner and outer
types.
- On packet processing:
- set the PKT_TX_QINQ_PKT flag on 'ol_flags' attribute;
- fill the 'vlan_tci' and 'vlan_tci_outer'.

Did I miss something?

Obs: My interface's driver is i40e and the DEV_TX_OFFLOAD_QINQ_INSERT flag
is
active on tx capabilities.

Obs2: I've found on 'drivers/net/i40e/i40e_ethdev.c' the following comment:
"Apply double-vlan setting, not implemented yet" in i40e_dev_init_vlan
function.
May it means that actually is not possible to use QinQ insertion with this
driver?

Best regards,

Raul Negreiros

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-14 17:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-14 17:15 [dpdk-users] Help with QinQ insertion on i40e Raul Negreiros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).