[dpdk-dev] DEV_RX_OFFLOAD_VLAN_EXTEND offload

Jerin Jacob jerin.jacob at caviumnetworks.com
Fri Oct 26 12:56:15 CEST 2018


Does anyone know the expectation of DEV_RX_OFFLOAD_VLAN_EXTEND
offload? Does not look like it is documented.

Looks like it is very specific to Intel controllers, Based on 82599 HRM,
it is following, not sure what is the real expectation from NIC in
normative terms.

Extended VLAN.
-------------
When set, all incoming Rx packets are expected to have at least one VLAN
with the Ether type as defined in EXVET register. The packets can have
an inner-VLAN that should be used for all filtering purposes. All Tx
packets are expected to have at least one VLAN added to them by the
host. In the case of an additional VLAN request (VLE), the inner-VLAN is
added by the hardware after the outer-VLAN is added by the host.
This bit should only be reset by a PCIe reset and should only be changed
while Tx and Rx processes are stopped.
The exception to this rule are MAC control packets such as flow control,
802.1x, LACP, etc. that never carry a VLAN tag of any type



More information about the dev mailing list