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 98767A034D; Wed, 9 Feb 2022 21:56:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5781F41101; Wed, 9 Feb 2022 21:56:49 +0100 (CET) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mails.dpdk.org (Postfix) with ESMTP id 7D21C40140 for ; Wed, 9 Feb 2022 21:56:48 +0100 (CET) Received: by mail-pj1-f47.google.com with SMTP id t14-20020a17090a3e4e00b001b8f6032d96so3508811pjm.2 for ; Wed, 09 Feb 2022 12:56:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Rlm0xUD8darRkFRTwVYxyMJiSVwEaq4Aa+UU45Vv3dY=; b=HwRwtnyYlPj79Hfz1+AqSm/Qrrs1pyk9JM+eZDIvYuMaH3GtG6pB2OnKJzjPcU8jZt NzOjIBiza5iFQTF9H9i5ZCZqNpADTBL15PGk9wq/V8LjPdvi0gHgovy+gy16v9lpNEMu 3HSbLqir4fuRshuPQ3Xt7owNyy8KgrTRui2bfyuhlZ1+403pQRqsWWaBPI4QqW9SR8lO dRDL4ibYjUEuS0aXbSK37J9lqVNQIWBRsDP0JNSOCB6mRt4Zg9lChBekzcurB5Zrs7RG hxVE1etc4PxKwDt9oqb3zQUI+wqkwK8zZGXsSQTOSjkkLwXmr+hOAj8+mb5yVSrIk9nA kCTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Rlm0xUD8darRkFRTwVYxyMJiSVwEaq4Aa+UU45Vv3dY=; b=pGH79rXyX8oudPC/YaS/j2GhTaEEzLaSqfeROCgx31TM2nPXpaUSBU+wKo3nBPJeCF R5D8Y/NfYJdzrEGPwQbMdi/7FWry2fdhyzENyXS8/NGAfv/kDUVh7EN7DuNuT9EOaVgd EX3OyGAFHbk+IYaiV6GQtok7l29Yo77r+3zn1dHiTPPwLFtyiXecdN+2XskV03ggNlcC N+gt4l3DifQhxHxeqaHShkx9VaLY+FmP6J8wuNw/iQjW8ebci8tNZzIeF30OO26Q9ILQ +M69Q4e3qhP+8CdgekJL8egyFEhAE9GRpjroJOCMlpakAlQS5TP2mbCVJSMpWp7yQ//H zVfQ== X-Gm-Message-State: AOAM532dR9oP+k7UxYtYPutHcJHY75q4NuFOkt9RbffF0SFZ/O/d6KcW raEsWW8q5wVB+Bhui/d/7/wPcw== X-Google-Smtp-Source: ABdhPJz2QxVsyrt6AeofTy0sTvh81wCTBOMC4cqY3QCprDyG3OsjkEl7vmNfCv0EbrIppkSdcETFxA== X-Received: by 2002:a17:903:189:: with SMTP id z9mr3934748plg.71.1644440207676; Wed, 09 Feb 2022 12:56:47 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id q17sm20897901pfk.108.2022.02.09.12.56.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 12:56:47 -0800 (PST) Date: Wed, 9 Feb 2022 12:56:44 -0800 From: Stephen Hemminger To: Ansar Kannankattil Cc: dev@dpdk.org Subject: Re: Can I use rte_pktmbuf_chain to chain multiple mbuffs for calling only single tx_eth_burst API Message-ID: <20220209125644.47a3cc5a@hermes.local> In-Reply-To: References: 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 Wed, 9 Feb 2022 23:33:13 +0530 Ansar Kannankattil wrote: > Hi > My intention is to decrease the number of rte_tx_eth_burst calls, I know > that mentioning nb_pkts will result in sending multiple packets in a single > call. > But providing nb_pkts=1 and posting a head mbuff having number of > mbuffs linked with it will results sending multiple packets > If not, what is the use case of linking multiple mbuffs together It doesn't work that way. tx_burst takes an array, not a chain.