DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] 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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=GBK, Size: 1153 bytes --]

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 




 \x16º&Ž&§}é൩âž×¥r‰’ºq^o]tۏ4Ûm5ñ\x17­º¹ÏjØc‰©ßzx-jx§µé\¢d^qè¯y×ë¢i k_"ž×¥r‰¦­|Š{^•Ê&×~5ߍwë]ºo'ivJ+€ú,µø±Â+a\x11#\x13>'x\0\x10‚Ô\x1d‚ñ+§×Q^om5óM¸óM~Ó]4\bD×\x02jQzË¥µ"ˆ<ñ\x03ž†­µ§!™éíŠyž²Æ yp&¤X¥yJe¡§^tV¥±ä^qè¯y×ë¢j+²h\x1aÓNã~)ízW(›];ÛOyñ¼¨®É k]:ø§µé\¢l"¶\x11\x1213ÿL´¿\fq\x11H\0\x04Knz\x18#\x12\x1c\rüã]\x05y½´×Í{ãÍ5ÓÍ4\Lm.Š)×UÈ®‰Ï¢»@T

^ 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 [dpdk-dev] 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).