From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 33) id 731061BAE4; Fri, 22 Jun 2018 05:18:51 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 22 Jun 2018 03:18:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: testpmd X-Bugzilla-Version: 18.05 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: shuaix.zhu@intel.com X-Bugzilla-Status: CONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 64] Bound_promisc_opt:After the confounding mode is turned off, the port can receive data. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2018 03:18:51 -0000 https://bugs.dpdk.org/show_bug.cgi?id=3D64 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=3Dx86_64-native-linuxapp-clang dut.10.240.176.151: export RTE_SDK=3D`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=3Dvfio-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 =E2=80=93 -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=3D"00:11:22:33:44:55" tester: srcmac=3D"52:00:00:00:00:00" tester: destip=3D"10.239.129.88" tester: srcip=3D"10.239.129.65" tester: destport=3D53 tester: srcport=3D53 tester: sendp([Ether(dst=3Dnutmac, src=3Dsrcmac)/IP(dst=3Ddestip, src=3Dsrc= ip, len=3D46)/UDP(sport=3Dsrcport, dport=3Ddestport)/Raw(load=3D"P"*26)], iface=3D"eno83887104", count=3D1) 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=3D"00:11:22:33:44:55" tester: srcmac=3D"52:00:00:00:00:00" tester: destip=3D"10.239.129.88" tester: srcip=3D"10.239.129.65" tester: destport=3D53 tester: srcport=3D53 tester: sendp([Ether(dst=3Dnutmac, src=3Dsrcmac)/IP(dst=3Ddestip, src=3Dsrc= ip, len=3D46)/UDP(sport=3Dsrcport, dport=3Ddestport)/Raw(load=3D"P"*26)], iface=3D"eno83887104", count=3D1) tester: exit() dut.10.240.176.151: show port stats 0 TestPmdBonded: Test Case test_bound_promisc_opt Result FAILED: 'Data receiv= ed by port, but should not.' dut.10.240.176.151: quit --=20 You are receiving this mail because: You are the assignee for the bug.=