From: ychen <ychen103103@163.com>
To: dev@dpdk.org
Subject: 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)
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
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).