ixgbe, ixgbevf (82599es ethernet controller)
The docker container had to have a trunk port which is mapped to a VF.
docker guest running in privileged mode.
when the container emits the q-in-q packets, the kernel drops as the packets are spoofed.
in the recv direction how can i classify based on the vlan (with no vlan interface in the container)?
Thanks for the help
thanks for your answer.
Atleast the below is possible ?
if i set the vf to classify based on vlan, vf strips the tag and forwards to the container.
is it possible to configure the vf to pass the tag as it is rather than strip the tag ??
You are welcome. Just to clarify what is the entire setup? Are you trying to configure the VF on the 82599ES in a VM then forward the packets to another PC (with the same VLAN) in the same container?
Please provide more information for better investigation.
the container/vm need to interact with the device on the network which is sending vlan tagged the packets.
the conainer/vm need to classify the traffic based on the vlan tags.
i need the vf to handle the packets to vm without removing the tags.
Thank you for the information provided. Just to double check to clarify my understanding about your setup:
1) Is the device you mentioned refer to another virtual machines? Which means you are trying to send vlan tagged packets from one VMs to another VM within the same container through a trunk port?
2) You mentioned about trunk port mapped to VF. Where is this trunk port located or configured?