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 A34FBA00BE; Wed, 9 Feb 2022 23:18:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6BE9541101; Wed, 9 Feb 2022 23:18:38 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 672D040140 for ; Wed, 9 Feb 2022 23:18:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644445116; x=1675981116; h=message-id:date:to:references:from:subject:in-reply-to: content-transfer-encoding:mime-version; bh=JiwmV8x8iZDgtRoYl6uWMP81wSkbRh5mdHogcraDERw=; b=U9nRWoSHG7qkO72/+td62nXa6f8WJ9OBtIsrTr+Xc/SVoygUTGg5FZIk yt5i9WbNF+snxw71MjTWSki0D+H0UZN2CYqGvuyqOi85SeLxmhboaafQX F/AoWAofefb2Bfdw/bZW9gLTBPqxTrTSiwU9JoeLXbENVzGA/Z0jy+gF0 EHEuoaOp52eJfSJCZ6R2iJzW70DTXeOAe2oPuHBqz98NBcbLlZatoohZd mL1TuNnw3quj32yMzb9ybDz25KEM7mF3UHCLfAw/dJ9VJNHER0gtoZYu4 x0tDdoGVu4TbCQ63y5bB/+9+Hpw7RmHW7p4IpmUVY0x2QBgmRk6F3ojCV g==; X-IronPort-AV: E=McAfee;i="6200,9189,10253"; a="232917756" X-IronPort-AV: E=Sophos;i="5.88,356,1635231600"; d="scan'208";a="232917756" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2022 14:18:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,356,1635231600"; d="scan'208";a="537104399" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga007.fm.intel.com with ESMTP; 09 Feb 2022 14:18:33 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 9 Feb 2022 14:18:33 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 9 Feb 2022 14:18:33 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Wed, 9 Feb 2022 14:18:33 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Wed, 9 Feb 2022 14:18:32 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CczWpz1JmLFvWru3QLwDJx1Oe5KBEB4DWRq7zLmgYGtmQwpD7lhhForUUM67x0rbAwPjam8r36UyBAr0KYh/RQQWP9ysgRTbJnpXUiG0fTfOdFZD7hqY3YAqdMeAbGC3HfBZXifjRue2xEF0zqwiVwLlh48TWPYNw14oFN5T2EXaiW79XYLSpJ1hF4MzgXxkdGIzTLPxdpR5ndPLJfku8yVinGFijPet+B5lxngHeNiY8Czwyd7RLKW/8N5W8FguX8RDuGSjg2tOXIZeRSSXm0oueUXVPzHuxgzPN/FccmnDqOi/06gBUktuvpTuCaqfQ0TaXRX+C5/5Fj3P1IUy7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JiwmV8x8iZDgtRoYl6uWMP81wSkbRh5mdHogcraDERw=; b=mkwjBteGPT2WOcPXgRSnKU524mfZwThl2TxIM0x8HLtqWxnBqOxcO6tnJH5T4QKv9cza899X5awC7Df+q9OqCGpuLVhTJ/wq9M1xJMlWLQ6mjtBDLDNnjRuKq3oSB7zf3o08ohCBY+s+ZdqnWkZBwKFdWvVRm3YxvqjxVcQMxUEThxlknOzaS5+mrXdW3tha8bKdP7BQeBcD2V0SA+ZFgCTXpPjpQ3RHGaU4ORq/PKnbsDDzeXIFVcRxIwYbQjrRvdakdkbg2cstJ7nnfA6iFQGmQvyziE5BIwnr4pXXHT4nrDw4O0en93VmwSs65Ctogz5HOYmJzBQqk1kMfRLY6g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by CH2PR11MB4374.namprd11.prod.outlook.com (2603:10b6:610:41::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Wed, 9 Feb 2022 22:18:30 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2%4]) with mapi id 15.20.4975.011; Wed, 9 Feb 2022 22:18:30 +0000 Message-ID: Date: Wed, 9 Feb 2022 22:18:24 +0000 Content-Language: en-US To: Ansar Kannankattil , References: From: Ferruh Yigit Subject: Re: Can I use rte_pktmbuf_chain to chain multiple mbuffs for calling only single tx_eth_burst API X-User: ferruhy In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0206.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9e::26) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a43b9f35-1d58-4b47-6c49-08d9ec1a1a57 X-MS-TrafficTypeDiagnostic: CH2PR11MB4374:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NrqiUsHrPRJzlRy5cT2WXZPjSaEfnbZ9Ni3mk4hzyNM5Ud09pAa9pSZ+I2i9mByC3wuxwhiI2+msV107ydt8A8ncZ/4wDV2d7PvYM4o4RA3zdg6ul7oX4WU6ME8BSC4WzB0n5T3Ksm81MtU593F4EyhazB9XbCd+ZMLilbf/bH8rjqlyO6aPQyJgCJ2+giqUzmmjZtqqR6rGQkOK4EiqYxayiBG353Yy/usg+DB8l+0LzHoRd1vSizl6lqkZSd9QLoMgrmhC7aFEWDU/UdydK4mFKlNLbmDO7MdqvHpkwDkwYyB0eRR9fdkL2x9XfMBnHQXiwwZ6TXJSEwyN5rngwmGhCH0l2JMG03I2PPw0TY0sNkA5b6kzUIdc29o2a15rf9/AMEMoGiwtpTpfeWlQzelPQW+YDotJ5u0plKKb75vUOdxeD7dsIJG0+2HzC4ZDDsZldoEVDETo2OAneKXadLXT7BhwLkTHn5WuaVjFdirJWTHWoLHIGWxPY20Iv6kKWhZquhtzZCOtYxa2hyvA9kdhwbMRMR2gnR/cpKsqcDnT0IcMfxFBLgqBTYnZwGCoeviMQoeuQ4aV9oUcdduYOgO9lLseg+mYbhs4yDU09lJ2BXGiiQ2//lq6YYizoB3S8UiTLr/bYF+VzxBnAZPKwHFDBISK6bOb+CuYihUqdzkWn1WClbitvVvDG3J8TOLtxDEuqozbB9O1p2k1hLC3ZA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(44832011)(316002)(53546011)(66946007)(2906002)(31696002)(86362001)(186003)(26005)(55236004)(6512007)(6506007)(508600001)(6666004)(31686004)(8676002)(6486002)(4744005)(36756003)(2616005)(38100700002)(82960400001)(66556008)(66476007)(8936002)(5660300002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TTJ2V0l6am9tTmJsL1h2ak5SN1hpZmh2MWpBOHp5WVIvQjN1enpSMERmUTdx?= =?utf-8?B?c1FHTFUzSm5VV3Z1VVczM1c1eEF2b1RERC9GeW45M3E3VkJlTlkxOW52RGV3?= =?utf-8?B?Y2REZEFvbGNYV0hhK0hjZjlJTkpwcE9PaDlvdncyWm5qVjNxMUYzbml2dUhU?= =?utf-8?B?SXVHbmo3M2FaRUFhdm5xMmZNcjQ3MmlJREdqTGx4MHhlL25ZK011K3lJUXcr?= =?utf-8?B?VklKUFpkNzF0aVhVeEMvTVNxS3h0dTdTMDduWHdmd0U4Y1JhblU1TWxJWTVM?= =?utf-8?B?c3h5Q0hxNDNaanMvbXR2RklzN00zbWJQa3hBMTZBM2JVK0crNWViQXlLUHNz?= =?utf-8?B?cE5qUmVnZllGcEMvV29WcDNvT0VwdzFzcFVNVk9zRHVsTXNTN2d4TjlxVlZP?= =?utf-8?B?TExHbDBneWZMeFl2VnNVUkc1bmE2Y3hXZUkrMDRWOVBBams5QzNsSkZDa3J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enant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2022 22:18:30.8002 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0nlkERfIwI8u4Xjrj6nenYCgT2Ts7kOfkLOBvfIYqn32N3p0o30Tlzu/XMFUTigrHA8a+XDWfgBzUrQOW//ryg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR11MB4374 X-OriginatorOrg: intel.com 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 2/9/2022 6:03 PM, 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 driver supports, you can do it. Driver should expose this capability via RTE_ETH_TX_OFFLOAD_MULTI_SEGS flag, in 'dev_info->tx_offload_capa'. > If not, what is the use case of linking multiple mbuffs together It is also used in Rx path (again if driver supports).