mbuf: extend meaning of QinQ stripped bit
authorSomnath Kotur <somnath.kotur@broadcom.com>
Tue, 6 Oct 2020 07:22:32 +0000 (09:22 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 15 Oct 2020 21:04:55 +0000 (23:04 +0200)
commited94631da7b49feb68a0a9d6c780a908745d9c00
tree6639824d867b7a99be6a4c6a1b0d6209081003ad
parentcd5db556ace9f01521a039a75f0b1a35cfcd6bcb
mbuf: extend meaning of QinQ stripped bit

Clarify the documentation of QinQ flags, and extend the meaning of the
flag: if PKT_RX_QINQ_STRIPPED is set and PKT_RX_VLAN_STRIPPED is unset,
only the outer VLAN is removed from packet data, but both tci are saved
in mbuf->vlan_tci (inner) and mbuf->vlan_tci_outer (outer).

Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
lib/librte_mbuf/rte_mbuf_core.h