From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D4FABA0032; Fri, 29 Oct 2021 13:01:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C5044111F; Fri, 29 Oct 2021 13:01:42 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id CD833410E1 for ; Fri, 29 Oct 2021 13:01:41 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id A6A7EA0547; Fri, 29 Oct 2021 13:01:41 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 29 Oct 2021 11:01:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 21.08 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: sahithi.singam@oracle.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 866] Huge Packet drops observed on vmxnet3 after updating DPDK version from 20.11 to 21.08 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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=3D866 Bug ID: 866 Summary: Huge Packet drops observed on vmxnet3 after updating DPDK version from 20.11 to 21.08 Product: DPDK Version: 21.08 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: sahithi.singam@oracle.com Target Milestone: --- On the HOST, we are using VMWARE ESXi 6.7 and on one of the hosts, we are running DPDK based custom application over vmxnet3 devices.=20 When we upgraded DPDK version in our application from 20.11 to 21.08, we sa= w a huge difference in the performance numbers.=20 In our tests, we have observed that there is around packet drops of 1.5% wi= th DPDK21.08 version and these packet drops were not visible either in the gue= st DPDK port stats or in the HOST vmxnet3 stats.=20 On further debugging, we have nailed out that this issue is due to recent commit "046f1161956777e3afb13504acbe8df2ec3a383c net/vmxnet3: support MSI-X interrupt"=20 Following code change in above commit is resulting in this issue.=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + if (hw->intr.lsc_only) + tqd->conf.intrIdx =3D 1; + else + tqd->conf.intrIdx =3D intr_handle->intr_vec[i]; ... ... ... + if (hw->intr.lsc_only) + rqd->conf.intrIdx =3D 1; + else + rqd->conf.intrIdx =3D intr_handle->intr_vec[i]; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D We are using igb_uio and link status interrupt for link status detection. D= ue to which our application is landing in the lsc_only if condition and as per code RX/TX queues are using interrupts at index 1. Though interrupt at inde= x 1 is not enabled in the guest DPDK code, it is resulting in the packet drops.= We are seeing following events at host stats.=20 [root@vmw-node1:~] vsish -e cat=20 /net/portsets/switch1/ports/100663342/vmxnet3/intrs/0/stats stats of the individual intr { actions posted:0 actions posted with hint:0 actions avoided:0 } [root@vmw-node1:~] vsish -e cat=20 /net/portsets/switch1/ports/100663342/vmxnet3/intrs/1/stats stats of the individual intr { actions posted:1 actions posted with hint:1 actions avoided:27207273 } When I reverted above code changes to the changes as in DPDK version 20.11,= i.e as below , we are not seeing the packet drops.=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D tqd->conf.intrIdx =3D txq->comp_ring.intr_idx; rqd->conf.intrIdx =3D rxq->comp_ring.intr_idx; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D --=20 You are receiving this mail because: You are the assignee for the bug.=