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 8164BA00C2; Thu, 8 Dec 2022 15:25:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 324AC40E28; Thu, 8 Dec 2022 15:25:44 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 39D5140A7E for ; Thu, 8 Dec 2022 15:25:42 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 1CF7BA00C3; Thu, 8 Dec 2022 15:25:42 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1144] virtio may lost pkts when pmd rxq less than virtio-max_queue_pairs Date: Thu, 08 Dec 2022 14:25:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: vhost/virtio X-Bugzilla-Version: 22.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: 1031265646@qq.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 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 https://bugs.dpdk.org/show_bug.cgi?id=3D1144 Bug ID: 1144 Summary: virtio may lost pkts when pmd rxq less than virtio-max_queue_pairs Product: DPDK Version: 22.11 Hardware: All OS: All Status: UNCONFIRMED Severity: major Priority: Normal Component: vhost/virtio Assignee: dev@dpdk.org Reporter: 1031265646@qq.com Target Milestone: --- when virtio pmd starts, a virtio-func named modern_setup_queue will set rxq= num to hw. let's suppose 4 rxqs in hw-virtio. but a dpdk-process starts use onl= y 2 rxqs, however hw doesn't aware this, pkts will send to 4 rxqs all the same,= but dpdk-process would only poll 2 rxqs which result to a pkts loss. cuz the pk= ts send to the other 2 unused rxqs will never be consumed. --=20 You are receiving this mail because: You are the assignee for the bug.=