DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] VLAN of SRIOV VF with DPDK
@ 2016-09-09  5:14 Dey, Souvik
  0 siblings, 0 replies; 2+ messages in thread
From: Dey, Souvik @ 2016-09-09  5:14 UTC (permalink / raw)
  To: dev; +Cc: Karmarkar Suyash, St. Pierre, Mark

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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: [dpdk-dev] VLAN of SRIOV VF with DPDK
@ 2018-06-18 17:12 Harish Kinnal (hkinnal)
  0 siblings, 0 replies; 2+ messages in thread
From: Harish Kinnal (hkinnal) @ 2018-06-18 17:12 UTC (permalink / raw)
  To: dev

Hi,
Am also facing similar issue with i40evf pmd. Is there any solution for this ?
If we configure port in trunk mode, it's not able to send/receive packets which are VLAN tagged. Without VLAN tagging its working fine.
If we configure port in access mode, its able to send/receive packets without any issues.
Any help on this will be really appreciated.

Regards
Harish K

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-18 17:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-09  5:14 [dpdk-dev] VLAN of SRIOV VF with DPDK Dey, Souvik
2018-06-18 17:12 Harish Kinnal (hkinnal)

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).