dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* PF vlan filter can not work in x710
@ 2018-02-11  1:25 ychen
  0 siblings, 0 replies; only message in thread
From: ychen @ 2018-02-11  1:25 UTC (permalink / raw)
  To: dev

hi,
when I use X710 PF in dpdk mode, i found that vlan filter function does not work. when I only add vlan 102, but I can receive packets with  vlan tag100,200,300 etc.


I can reproduce this phenomenon following the step:
1. set iommu=pt intel_iommu=on in file /etc/default/grub
2. dpdk-devbind -b vfio-pci eth0
    driver: i40e
version: 2.3.6
firmware-version: 5.04 0x8000250b 17.5.10
expansion-rom-version: 
bus-info: 0000:05:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes


3.use dpdk version 17.08 and ovs version 2.8.0
4.in ovs code, add vlan filter in function dpdk_eth_dev_init():
   a. set conf.rxmode.hw_vlan_filter =1 before use function rte_eth_dev_configure() 
   b. call function rte_eth_dev_vlan_filter(dev->port_id, 102,1)    
   c. call function rte_eth_dev_start 




 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-11  1:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-11  1:25 PF vlan filter can not work in x710 ychen

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