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 6C6BBA0C45; Sat, 30 Oct 2021 00:24:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 33982410F6; Sat, 30 Oct 2021 00:24:48 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id B23D940DDB for ; Sat, 30 Oct 2021 00:24:46 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10152"; a="211534965" X-IronPort-AV: E=Sophos;i="5.87,193,1631602800"; d="scan'208";a="211534965" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2021 15:24:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,193,1631602800"; d="scan'208";a="448270233" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga006.jf.intel.com with ESMTP; 29 Oct 2021 15:24:44 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 29 Oct 2021 15:24:43 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 29 Oct 2021 15:24:43 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 29 Oct 2021 15:24:43 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.41) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 29 Oct 2021 15:24:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mkh1mrcQ/B+69BUE030enDxVGm7S/H7jG3xUf7ywMKDeaU2ltYhr2ol+vOcq2Hf91lYCLB8ga5gtZnN6Gho7bnwSEAgb0WOGrF8GdLMxTywMS30MOVPMXcwdFrJONYs1Dbvk5zzWBuVVZV+jcH4Z871iEObtNC0lu/ZGNXJN7CN3mWujUV+okg1LwOPVqQsVwRoRlRBtZ/L1z3I4MHZ6Jmm+oKViPy2CMkPHeNVUVfjsm6FFKB4/1Rb96P/Xqo9LIcmbR1Ehx6SZIVuDWs1uFRJdDGWqhGviTmeoomoE3katKE9dv8tu+ElOJxkf10bFVJqWXQkGCSHJbKMejczb4A== 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=OrRiWZMcxlSR/511r7CIMyLyOab0eJaWGUlNCjwUfQw=; b=Kns7dZMOINb8qr3qCOTnb4rCno2+d3HWkSAlifO2Ky2uJ1DTPWuXu/qsaUY25ADY0HDxit9sPDgZlD2FOEkOmIIkcycHgjhVRDvqzuPhcvQAI+mgnIL0hzbLs9NvZFURPrPvYPtCRHN7VcV8bu8lJpy5pHiFj3ncd0mkDvKsYX7yeEEi3mHBI4JqVrByRgeNcuj2fFZg3Y/Lj8AS8XLYtA2XRv93hWODhSdRHkHnrtBzEiintB+qaHmY0UTQx9WV8OnnA8h6eAjyun0Khw54I1lwrJBCmO5wTRaJephl1dg+O5wbcwWSosLSWGIUq7SKDJXUWyn0b8vzlmTRsNzeSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OrRiWZMcxlSR/511r7CIMyLyOab0eJaWGUlNCjwUfQw=; b=e6uzCzpVIYp6BI5xuuAg0O6nmueK3aQxkrqXUU4cEc2KaSQDsYYQ5Q0CiVmBjRY8MeVA6KAYc8I0CYPNIIyFfntpjyFGrPMfj7cgVa6X5U8QIIYyzb+TlhSkvcv2WsnK1f2hxy21RVktz1FsLPq9NZUs0gvookf9QCg/tmhGrFI= Authentication-Results: trustnetic.com; dkim=none (message not signed) header.d=none;trustnetic.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5192.namprd11.prod.outlook.com (2603:10b6:510:3b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.13; Fri, 29 Oct 2021 22:24:42 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%5]) with mapi id 15.20.4649.015; Fri, 29 Oct 2021 22:24:42 +0000 Message-ID: <1a511e02-b417-bc02-9dca-1357c7a36e17@intel.com> Date: Fri, 29 Oct 2021 23:24:36 +0100 Content-Language: en-US To: Jiawen Wu , References: <20211021095023.18288-1-jiawenwu@trustnetic.com> <20211021095023.18288-27-jiawenwu@trustnetic.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211021095023.18288-27-jiawenwu@trustnetic.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2P250CA0003.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:231::8) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DU2P250CA0003.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:231::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14 via Frontend Transport; Fri, 29 Oct 2021 22:24:41 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 76e8c4df-0444-45f0-2800-08d99b2ae740 X-MS-TrafficTypeDiagnostic: PH0PR11MB5192: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:407; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yav7XkuONzZJ9wLJYd01nacnNOco74ZQ+vFuDoNsl6xYbJTgeEZmqnNKRDFOGfzxP/JzaJn1bUG2YjknGIZ7OiLBvYP6f6C/ZG1ccq84kzTwISJKYrCWGE5sKwyA8i7UsN3hIK3UqY8UrXISzAjDoydXIJ8vDn3QMcScNRji4hhWtbOt3P3oXyaZnaWLl7QushmMI1u7uNSV3JcWQqKQEpXdq9VxXEagyg4rfv3Hj5CDqj3Gucy+VaZnpxqPC5IfAOgHLt6dw+l8LS2z1CoYz2a9TzguKiz3QcrLCNclv4rvvRQwJnjdiNoHd20Tystgp5cBG573Pa2MFJ7tHoPdno79uYpq4JbSK4la9iW/RxPyF+Am7o0P+wnyXXf9nMI7YgxtoyWQq2tACXE7gZTPRy3FZuseLN/Naf8DmmFTvBzFPUZoQGZJPeZayi8QYHdlb1/PrEzjb7oopMIraorgTjMsm84jOGXvgdBqiSHgpR7xhKAl5Y6BfmUKWFLOzz5ePxqUK89vvXIbu0/0i120PVu5gBdbTWNJDwh3zT2RKCbYYYr9y/cER7f7dMAtweoEtcoXRwNitLkR0HH+35f9zD3kRt5T5aFS8jrxM+WjKhfktVeqDCzQFk18FeXbuh8dwIW6AkCUfW0dCcG4R7t8TgRtrGz5buRSi+k/D5Lz2ndnIiXK+sMf6eYDQZfkHtJ3xSz9/LyrSE4oRz7n8M7qvw== 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:(366004)(36756003)(8676002)(53546011)(31696002)(38100700002)(186003)(4744005)(2906002)(508600001)(2616005)(26005)(66946007)(83380400001)(66476007)(44832011)(66556008)(316002)(6666004)(956004)(5660300002)(8936002)(6486002)(31686004)(82960400001)(16576012)(86362001)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VkhDbFRLWGIwM3lka3VQei9qZWpqU29NdWpLQ0pIazhkRzl3enlYVDNGSmdi?= =?utf-8?B?aVA1V3lxeHpXczgrdEJLR3VCWDhDSjMwWFZBamhKc0ZMVTgvdGZFY0Nma29N?= =?utf-8?B?dHdNSGFqYlIvTzVaRDNNZjJTbDRCOTBBTngxVDJ2TzVHNWZva3pvY0R1L2E0?= =?utf-8?B?NysvUUo4azA1QmZRK0R5SmVRSzJ5ZWZYdzZPUG1aKzlVZWNyeVp3YWsxR3Zi?= =?utf-8?B?RjJHNnpvL2xvb0lTbEdxOXg3MFlkL1I0Q0ZPSThXQkpSU3NtRUQ4ZVdxVDRI?= =?utf-8?B?K0dnSXNKTHc5VW9wSmJmemJYYS83NjUzRTRFUzVGZzB3em5SYzFGNGpEUWtW?= =?utf-8?B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HlXeUdT?= =?utf-8?Q?6yDhitmPtvzYb8yQ7vJDhz0=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 76e8c4df-0444-45f0-2800-08d99b2ae740 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2021 22:24:42.4152 (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: q5AJnhhExv2oyr8vWFR4kwhbLplG+TEZOAyiyJxrsvlKAHjqwwMLYOs7+OmiRyRdcbErU/LnotWYImokIfc9GA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5192 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 26/26] net/ngbe: add Tx done cleanup 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" On 10/21/2021 10:50 AM, Jiawen Wu wrote: > Add support for API rte_eth_tx_done_cleanup(). > > Signed-off-by: Jiawen Wu > --- > drivers/net/ngbe/ngbe_ethdev.c | 1 + > drivers/net/ngbe/ngbe_rxtx.c | 89 ++++++++++++++++++++++++++++++++++ > drivers/net/ngbe/ngbe_rxtx.h | 1 + > 3 files changed, 91 insertions(+) Need to update ngbe.ini for 'Free Tx mbuf on demand' feature, adding following in next-net: diff --git a/doc/guides/nics/features/ngbe.ini b/doc/guides/nics/features/ngbe.ini index b38b4b46d775..2701c5f05145 100644 --- a/doc/guides/nics/features/ngbe.ini +++ b/doc/guides/nics/features/ngbe.ini @@ -7,6 +7,7 @@ Speed capabilities = Y Link status = Y Link status event = Y +Free Tx mbuf on demand = Y Queue start/stop = Y Burst mode info = Y MTU update = Y