Hi,
I have having an unique issue to get the VLAN tags upto the VM
instance running ixgbevf pmd. Currently my setup looks like this :
Host running 7.1 RHEL , linux 3.10.0-229.el7.x86_64 with 10G 82599ES NIC cards
with firmware : 0x80000838 and ixgbe driver version 4.0.1-k-rh7.1
Guest running Debian 7 , linux 3.2.73 with VF attached from the 10G PF. We are
using DPDK 2.1 on the guest to receive packets and pass it to the linux kernel
using kni interfaces.
Now, our requirement is to have VLAN come up to the Guest from the outside and
the Guest should be able to send VLAN packets out too.
We have set hw_vlan_strip to 0 so that the vlan is not stripped by the VF. Also
we have not configured any VLAN id on the VF, so that the rx vlan filtration is
not turned on in the HOST.
We have configured only one rx queue and 2 tx queues. With this configuration
when we send packets from the kernel through kni with VLAN tags , packets are
getting dropped in the host saying spoofed packets. I have also turned off
spoofchk off on the VF and then the TX packets were going out. But the RX
packets were not even reaching the guest.
If I remove my DPDK app and try with normal Debian linux, then we are seeing
both the TX and RX packets following with proper VLAN tags up to the guest. In
this case we need not turn of spoofchk on the VF also.
I am performing simple ping test as of now.
Also, I don't see any kni callback when we configure the VLAN on the guest
which can go down till the Host. I also see that we are not setting the
software/hardware vfta table at all in the ixgbevf code. Is this required to be
setup, as I feel the kernel might be doing it .
Any help or pointers to this issue will be of great help.
--
Regards,
Souvik