From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D0D2DA04C8; Fri, 18 Sep 2020 14:24:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 529AF1DA35; Fri, 18 Sep 2020 14:24:43 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 1918C1DA14 for ; Fri, 18 Sep 2020 14:24:42 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id F1895A04C9; Fri, 18 Sep 2020 14:24:41 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 18 Sep 2020 12:24:41 +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.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: david.marchand@redhat.com X-Bugzilla-Status: UNCONFIRMED 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 538] Incorrect packets sent by mlx5 with multiseg configuration in testpmd 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D538 Bug ID: 538 Summary: Incorrect packets sent by mlx5 with multiseg configuration in testpmd Product: DPDK Version: 18.11 Hardware: All OS: All Status: UNCONFIRMED Severity: major Priority: Normal Component: testpmd Assignee: dev@dpdk.org Reporter: david.marchand@redhat.com Target Milestone: --- This is something that Dumitru Ceara caught. Filing the bz for him as he can't work on a patch right now. Configuring multisegments in testpmd with the txpkts option, the mlx5 driver will send truncated packets. As far as we understand, this is because testpmd does not ask for DEV_TX_OFFLOAD_MULTI_SEGS offload. But since the problem is only reproduced with mlx5 driver, this might ask f= or more investigation. # On the tester machine: $ lspci -vv | grep -i ether | grep -i connectx-5 3b:00.0 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX= -5 Ex] 3b:00.1 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX= -5 Ex] $ /opt/dpdk-19.11.3/x86_64-native-linuxapp-gcc/app/testpmd -c FF -m 32768 -w 0000:3b:00.0 -w 0000:3b:00.1 -- --txd=3D256 --rxd=3D128 -i=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 [...] testpmd> set txpkts 100,100 testpmd> start tx_first # On the destination machine: $ tcpdump -vvv -nn -i ens1f0 -e udp -c 1 tcpdump: listening on ens1f0, link-type EN10MB (Ethernet), capture size 262= 144 bytes 11:50:42.313110 0c:42:a1:2a:82:49 > 02:00:00:00:00:01, ethertype IPv4 (0x08= 00), length 104: truncated-ip - 96 bytes missing! (tos 0x0, ttl 64, id 0, offset= 0, flags [none], proto UDP (17), length 186) 198.18.0.1.9 > 198.18.0.2.9: [no cksum] UDP, length 158 1 packet captured 32 packets received by filter 0 packets dropped by kernel --=20 You are receiving this mail because: You are the assignee for the bug.=