[dpdk-dev] PF vlan filter can not work in x710

ychen ychen103103 at 163.com
Sun Feb 11 02:25:40 CET 2018


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 




 


More information about the dev mailing list