DPDK patches and discussions
 help / color / mirror / Atom feed
From: ychen  <ychen103103@163.com>
To: dev@dpdk.org
Subject: [dpdk-dev] PF vlan filter can not work in x710
Date: Sun, 11 Feb 2018 09:25:40 +0800 (CST)	[thread overview]
Message-ID: <6dc943c.a47.1618277ba57.Coremail.ychen103103@163.com> (raw)

[-- 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

                 reply	other threads:[~2018-02-11  1:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6dc943c.a47.1618277ba57.Coremail.ychen103103@163.com \
    --to=ychen103103@163.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).