From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 449] Fortville X710 FDIR with flow APIs broken
Date: Wed, 30 Dec 2020 06:19:06 +0000 [thread overview]
Message-ID: <bug-449-3-yApO7Ixetu@http.bugs.dpdk.org/> (raw)
In-Reply-To: <bug-449-3@http.bugs.dpdk.org/>
https://bugs.dpdk.org/show_bug.cgi?id=449
Steve Yang (stevex.yang@intel.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stevex.yang@intel.com
Resolution|--- |INVALID
Status|CONFIRMED |RESOLVED
--- Comment #13 from Steve Yang (stevex.yang@intel.com) ---
Not a bug.
Correct use steps:
1. bind the pf to dpdk driver::
./usertools/dpdk-devbind.py -b igb_uio 1b:00.0
2. add one vf on dpdk pf, then bind the vf to vfio-pci::
echo 1 >/sys/bus/pci/devices/0000:1b:00.0/max_vfs
./usertools/dpdk-devbind.py -b igb_uio 1b:02.0
3. launch the app ``testpmd`` with the following arguments::
./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 1b:00.0
--file-prefix=pf – -i --rxq=4 --txq=4
testpmd> set verbose 1
testpmd> start
./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -w 1b:02.0
--file-prefix=vf – -i --rxq=4 --txq=4
testpmd> set verbose 1
testpmd> start
4. create filter rule and sent pkg::
flow create 0 ingress transfer pattern eth / ipv4 src is 11.11.11.11 dst is
12.12.12.12 proto is 255 / vf id is 0 / end actions queue index 1 / end
sendp([Ether(dst='3C:FD:FE:DC:F1:88')/IP(src='11.11.11.11',dst='12.12.12.12',proto=255)/("X"*480)],
iface="enp27s0f1", count=1)
5. flow create 0 ingress transfer pattern eth / ipv4 src is 11.11.11.11 dst is
12.12.12.12 / udp / vf id is 0 / end actions queue index 1 / end
sendp([Ether(dst='3C:FD:FE:DC:F1:88')/IP(src='11.11.11.11',dst='12.12.12.12',proto=17)/("X"*480)],iface="enp27s0f1",
count=1)
Note:
① dst mac is a random mac address, not a pf mac
② proto is 17 means UDP, so create the following rule and send the packet with
proto is 17 cannot matched。
flow create 0 ingress transfer pattern eth / ipv4 src is 11.11.11.11 dst is
12.12.12.12 proto is 17 / vf id is 0 / end actions queue index 1 / end
sendp([Ether(dst='3C:FD:FE:DC:F1:88')/IP(src='11.11.11.11',dst='12.12.12.12',proto=17)/("X"*480)],
iface="enp27s0f1", count=1)
--
You are receiving this mail because:
You are the assignee for the bug.
next prev parent reply other threads:[~2020-12-30 6:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-13 11:42 bugzilla
2020-12-30 6:19 ` bugzilla [this message]
2021-01-04 3:15 ` bugzilla
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=bug-449-3-yApO7Ixetu@http.bugs.dpdk.org/ \
--to=bugzilla@dpdk.org \
--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).