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 120C841CC1; Fri, 17 Feb 2023 17:26:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9358840F18; Fri, 17 Feb 2023 17:26:53 +0100 (CET) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mails.dpdk.org (Postfix) with ESMTP id CF36A40EE3 for ; Fri, 17 Feb 2023 17:26:52 +0100 (CET) Received: by mail-pf1-f180.google.com with SMTP id g7so854036pfv.0 for ; Fri, 17 Feb 2023 08:26:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=FQb11ml3FI0adjivu8mX4TryURlambgcmKlBfcqTrWY=; b=zZtYUQhsR7Erfwl4kczp6R6/466ZH/Qyu3USc587lsFEYOUaFuMlphDGze21QAJKUb K42FoOjlaDgTYGA9sliE1dOG/Zkq3Hzjk7tNAuGhxaFv6NhlmeQNVZ5STH0y8g6JpmP+ 1eNRv7O6BZWhsgFvYlnRhZfxiDlVPTvgfAKCM4e9r1LgCGA1UvpPBnTFkoNSVwOttrJg g7QLGbQmxH37vOa1jsx182C8+pQby159u1ectrM8YolWRUEB/TkjF11QLLKQ43KCx1Wv x7Nj8Q5F4HgdBkiDK0K1U09O8kP2v+kxurSsyiL7Io6K26hB6vdh1c3SDUSeYngiadf1 S/Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FQb11ml3FI0adjivu8mX4TryURlambgcmKlBfcqTrWY=; b=CB6Y+8Wj1bgtksT6qIj5jgpyMPoQrBrW/1GXqxkrGykN2A0Jh5wEIAsa3vDrjc/vTw wyUR4hXTsYUD4LynHqpfl1trJYglcWv1mjTQHtKqeRrREyUEA7b9jtYQ2rDURnCxkIBA vvdLvcZ0QIHXFXgjTOW8MM1RwrMJNtmn+ZyjkJwEbhZezwxU16BeXmEnokVhjbuitBqH Or6mEXDTJb+V1J2N1zb/GrMSAdT0SjXtUma7c7yQCV+FbxxXycaN04+sBxv1NjrZO0PI unzt/2TcfJR/Qd/fT+hn/t2jcJAInEg2YmcLUPt0k+yPuL6ufXPHYCpXkZeFnLccLxja zWYg== X-Gm-Message-State: AO0yUKVWnjRBu3m5AEMW4UvIf88FBWDFSYRuPMNaWAZWxf0Pnt8SB+uV ADzGG7npX3cntxp8HKWZDouofQ== X-Google-Smtp-Source: AK7set9UBhwD/5Vxd7BY1jSSoaYNU6H8m9ykU/115mRBX7V8rjrrw+oi/VCWkJQda7A6b8lI71wyGw== X-Received: by 2002:a62:6450:0:b0:593:d276:1931 with SMTP id y77-20020a626450000000b00593d2761931mr1071308pfb.14.1676651211908; Fri, 17 Feb 2023 08:26:51 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id a14-20020aa7864e000000b005a8c90fa306sm3268421pfo.83.2023.02.17.08.26.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 08:26:51 -0800 (PST) Date: Fri, 17 Feb 2023 08:26:50 -0800 From: Stephen Hemminger To: Rajasekhar Pulluru Cc: dev@dpdk.org Subject: Re: Multiple Tx-Queues not working as expected Message-ID: <20230217082650.1968dcd8@hermes.local> In-Reply-To: References: <20230216115109.07067372@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Fri, 17 Feb 2023 11:30:14 +0530 Rajasekhar Pulluru wrote: > Ok Stephen, thanks for the information, I can try that. > > One of the problems I see with single Tx Queue mode is that Ixia reports > packet drops, though I confirmed with the help of counters (before invoking > tx burst) that all packets are being sent-out. Dumping HW counters don't > report any drops in TX. > Is there a mechanism in DPDK to debug this? > > Thanks & Regards, > Rajasekhar The common usage in DPDK is to have one transmit queue per DPDK thread doing transmits. If the transmit queue is not configured with enough depth. The most common packet flow in DPDK is packets getting received, modified then transmitted. With that pattern, packet loss is at the receiver when the CPU can't keep up with the packet rate arriving.