[dpdk-dev] [Bug 64] Bound_promisc_opt:After the confounding mode is turned off, the port can receive data.

bugzilla at dpdk.org bugzilla at dpdk.org
Fri Jun 22 05:18:51 CEST 2018


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 at dpdk.org
          Reporter: shuaix.zhu at 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.


More information about the dev mailing list