From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 64] Bound_promisc_opt:After the confounding mode is turned off, the port can receive data.
Date: Fri, 22 Jun 2018 03:18:51 +0000 [thread overview]
Message-ID: <bug-64-3@http.bugs.dpdk.org/> (raw)
https://bugs.dpdk.org/show_bug.cgi?id=64
Bug ID: 64
Summary: Bound_promisc_opt:After the confounding mode is turned
off, the port can receive data.
Product: DPDK
Version: 18.05
Hardware: x86
OS: Linux
Status: CONFIRMED
Severity: normal
Priority: Normal
Component: testpmd
Assignee: dev@dpdk.org
Reporter: shuaix.zhu@intel.com
Target Milestone: ---
Environment
DPDK version: dpdk 18.05
OS: Fedora28
Kernel:4.16.5-300.fc28.x86_64
compiler:Clang version 6.0.0 (tags/RELEASE_600/final)
driver: i40e
version: 2.3.2-k
firmware-version: 6.01 0x80003205 1.1691.0
Test Setup
dut.10.240.176.151: export RTE_TARGET=x86_64-native-linuxapp-clang
dut.10.240.176.151: export RTE_SDK=`pwd`
dut.10.240.176.151: awk '/Hugepagesize/
{print $2}
' /proc/meminfo
dut.10.240.176.151: umount `awk '/hugetlbfs/
{ print $2 }' /proc/mounts`
dut.10.240.176.151: awk '/hugetlbfs/ { print $2 }
' /proc/mounts
dut.10.240.176.151: mkdir -p /mnt/huge
dut.10.240.176.151: mount -t hugetlbfs nodev /mnt/huge
dut.10.240.176.151: rmmod vfio_pci
dut.10.240.176.151: rmmod vfio_iommu_type1
dut.10.240.176.151: rmmod vfio
dut.10.240.176.151: modprobe vfio
dut.10.240.176.151: modprobe vfio-pci
dut.10.240.176.151: usertools/dpdk-devbind.py --force --bind=vfio-pci
0000:03:00.0 0000:03:00.1 0000:03:00.2 0000:03:00.3
dut.10.240.176.151: ./x86_64-native-linuxapp-clang/app/testpmd -c 0x3fffe -n 4
– -i
dut.10.240.176.151: create bonded device 3 0
dut.10.240.176.151: add bonding slave 0 4
dut.10.240.176.151: show bonding config 4
dut.10.240.176.151: add bonding slave 1 4
dut.10.240.176.151: show bonding config 4
dut.10.240.176.151: add bonding slave 2 4
dut.10.240.176.151: show bonding config 4
dut.10.240.176.151: set portlist 3,4
dut.10.240.176.151: port start 4
dut.10.240.176.151: start
dut.10.240.176.151: show port info 0
dut.10.240.176.151: show port info 1
dut.10.240.176.151: show port info 2
dut.10.240.176.151: show port info 3
dut.10.240.176.151: show port info 4
dut.10.240.176.151: show port stats 3
dut.10.240.176.151: show port stats 4
dut.10.240.176.151: show port stats 0
dut.10.240.176.151: show port stats 0
tester: echo -n '' > scapyResult.txt
tester: scapy
tester: nutmac="00:11:22:33:44:55"
tester: srcmac="52:00:00:00:00:00"
tester: destip="10.239.129.88"
tester: srcip="10.239.129.65"
tester: destport=53
tester: srcport=53
tester: sendp([Ether(dst=nutmac, src=srcmac)/IP(dst=destip, src=srcip,
len=46)/UDP(sport=srcport, dport=destport)/Raw(load="P"*26)],
iface="eno83887104", count=1)
tester: exit()
dut.10.240.176.151: show port stats
dut.10.240.176.151: show port stats 3
dut.10.240.176.151: show port stats 4
dut.10.240.176.151: show port stats 0
dut.10.240.176.151: set promisc 4 off
dut.10.240.176.151: show port info 0
dut.10.240.176.151: show port info 1
dut.10.240.176.151: show port info 2
dut.10.240.176.151: show port info 4
dut.10.240.176.151: show port stats 3
dut.10.240.176.151: show port stats 4
dut.10.240.176.151: show port stats 0
dut.10.240.176.151: show port stats 0
tester: echo -n '' > scapyResult.txt
tester: scapy
tester: nutmac="00:11:22:33:44:55"
tester: srcmac="52:00:00:00:00:00"
tester: destip="10.239.129.88"
tester: srcip="10.239.129.65"
tester: destport=53
tester: srcport=53
tester: sendp([Ether(dst=nutmac, src=srcmac)/IP(dst=destip, src=srcip,
len=46)/UDP(sport=srcport, dport=destport)/Raw(load="P"*26)],
iface="eno83887104", count=1)
tester: exit()
dut.10.240.176.151: show port stats 0
TestPmdBonded: Test Case test_bound_promisc_opt Result FAILED: 'Data received
by port, but should not.'
dut.10.240.176.151: quit
--
You are receiving this mail because:
You are the assignee for the bug.
reply other threads:[~2018-06-22 3:18 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=bug-64-3@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.