Hi Lu, I already have the hw_vlan_filter set to 0 to disable it in the port_conf .
struct rte_eth_conf port_conf = { .rxmode = { .split_hdr_size = 0, .header_split = 0, /**< Header Split disabled */ .hw_ip_checksum = 0, /**< IP checksum offload disabled */ .hw_vlan_filter = 0, /**< VLAN filtering disabled */ .jumbo_frame = 0, /**< Jumbo Frame Support disabled */ .hw_strip_crc = 0, /**< CRC stripped by hardware */ }, .txmode = { .mq_mode = ETH_MQ_TX_NONE, }, .intr_conf = { .lsc = 0, /**< lsc interrupt feature enabled */ }, #if 0 .rx_adv_conf = { .rss_conf = { .rss_key = NULL, .rss_hf = ETH_RSS_IPV4 | ETH_RSS_IPV6, }, } #endif }; Interestingly the same setup works fine with vlan without Dpdk. Any other suggestions ? -- Regards, Souvik -----Original Message----- From: Lu, Wenzhuo [mailto:wenzhuo...@intel.com] Sent: Thursday, August 18, 2016 8:33 PM To: Dey, Souvik <sodey at sonusnet.com>; dev at dpdk.org Subject: RE: VLAN with ixgbevf pmd Hi Souvik, Take testpmd for example, normally we should disable HW vlan filter by adding parameter " --disable-hw-vlan-filter " or CLI " port config all hw-vlan-filter off". Hope it can help :) Best regards Wenzhuo Lu > -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Dey, Souvik > Sent: Thursday, August 18, 2016 10:47 PM > To: dev at dpdk.org<mailto:dev at dpdk.org> > Subject: [dpdk-dev] VLAN with ixgbevf pmd > > Hi, > > > > I am trying to get tagged packets to work in SRIOV mode. I am using > dpdk 2.1 version with an application on KVM. > > The setup is as below: The same configuration works for untagged packets. > > Guest VM (Virtual Function/Created tagged kni interfaces)--- > KVM > host (PF/no tag on the VF ) -->Client server > > When the packet is tagged (vlan tag/id) the packet is sent from kni > interface to the application is it received with the tag and is also > sent out to the pmd. But the packets does not go out of the host. > Neither any tagged packets are coming in from out to the application. The > ol_flags is set to 0 in my application. > > Can someone let me know what I am missing? Do we need to do some > specific configuration on the rx or tx ports for this ? Does the vlan > id configured on the kni gets peculated down to the vf of the host too which > is causing the issue ? > > > > Any help would be highly appreciated! > > > > -- > > Regards, > > Souvik