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 3D07EA0C41; Wed, 6 Oct 2021 19:26:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E9864116F; Wed, 6 Oct 2021 19:26:00 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 9595541100 for ; Wed, 6 Oct 2021 19:25:58 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10129"; a="213179134" X-IronPort-AV: E=Sophos;i="5.85,352,1624345200"; d="scan'208";a="213179134" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2021 10:25:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,352,1624345200"; d="scan'208";a="589839607" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga004.jf.intel.com with ESMTP; 06 Oct 2021 10:25:29 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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; Wed, 6 Oct 2021 10:25:29 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 6 Oct 2021 10:25:28 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 6 Oct 2021 10:25:28 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.40) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 6 Oct 2021 10:25:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EUg2IsnT8BAE1eVhspSTAAfQBSs0G8Wtx0AM/KNNeJY+FJcDoixEJOk4DVZVnpog4bQIQPiilvj2ZajMxiH8nUn2t5kkg1VX7OK/hwIoddNhElO30WBSQx9AJ+PJgCEe2AfrhLGLGGOm6VN32I99TkJm5/vgpuv1HhqkNBjkY9CffAqDrDewUvcqXyE7IKUpekJO1AiTRITOWGlO9eVPmm3kYiXeLW+yT2HRNC26rwmZhk2QQvHtG7Q19F8Kh8arAGlgt4hZA2afb69ZotHbBu3u0qlwPuY60vtbka0gojcTJulXuLcWLBoE/4iPjP+fWL982edaX7/YrKkylocElg== 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=EQKNDDjwdH7jEnFvTFX8YoYIkgayTqlQHj8Zlyj+QOM=; b=Udxyjth2K/6hMYNkhrhHxxV0O56ZjgF2BBJ0tccZVE0swABb9G57hX0Uhu48rv+ilKbyPMcYaJcYsqScUzW8BCMFmRP3z47lIzAfQcaeKNmQBH/oRsXL/Yqn9fJWMH91FHUYxWdQNVQrq2Kqeudj/Bb+9US1+zVjEPH/vJ0qnN63pNBMTT5+ABl6g7Kg6Z9QcuCnl4IgnkChooI3jV7xyZHw1mHXHAFCNPz5ePtO4tz1lEHh3yaE8L3aNNRYxDIBZqZCUt0WMXU3/n4FQEt7LMQFawIOA+tnP2d0zoBnn2SdiegwFFqDBN/1hNUvLHy6FKhtinzNFzEyOZmKf1k4Og== 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=EQKNDDjwdH7jEnFvTFX8YoYIkgayTqlQHj8Zlyj+QOM=; b=qkx6MtqzGC/j1yAOO1K89DAtsGXFIyueL9vIzftanW5Hg/7HVL80LLoMAwN6aaatFFIX7lsR5jdQ11wW2Dnu/jondG2iIYK12aE5o6ANj2+bg9sEIZlr0DXcJoBjrPZ1g8XbQvacRb9m01F9xQ+7QaoByWA7ikW4luv2sF5ygRs= Authentication-Results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4951.namprd11.prod.outlook.com (2603:10b6:510:43::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18; Wed, 6 Oct 2021 17:25:27 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%4]) with mapi id 15.20.4566.023; Wed, 6 Oct 2021 17:25:27 +0000 Message-ID: <2fe88b31-2fa6-26c2-abeb-810da154570c@intel.com> Date: Wed, 6 Oct 2021 18:25:20 +0100 Content-Language: en-US To: Xueming Li , CC: Andrew Rybchenko , Singh Aman Deep , Thomas Monjalon References: <20210727034134.20556-1-xuemingl@nvidia.com> <20211006111822.437298-1-xuemingl@nvidia.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211006111822.437298-1-xuemingl@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6P195CA0005.EURP195.PROD.OUTLOOK.COM (2603:10a6:4:cb::15) 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 DB6P195CA0005.EURP195.PROD.OUTLOOK.COM (2603:10a6:4:cb::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Wed, 6 Oct 2021 17:25:25 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5dd1e729-ef42-4d71-703d-08d988ee497d X-MS-TrafficTypeDiagnostic: PH0PR11MB4951: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:669; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: p8vlZEdRuNxtXFLp+A3ONFkylrOHjafdM3LQIXvYACuyeHECTEH6cO6Ep0rirmnYEbLAeQ1DYMBSnCSLIdKfQqm/O0DgjBcoUwIfMcK+Ur8ddhrepeuiCdij1Sg1eKx0HTuQgd9n1jah1V3paF2QolYci0x5+MZRcYj5vgD3JsfbiwGssDi6HmQ2RjcpRLtGWyzZmSqmzYeJUGnJqgdYgkQSpNZQ8SORPa4neOHtPeM/+dTfVZ28yOtQ0rQYfPdSENIEzGlvGAICzxPRKQmdmnayYmRiqnLqfXMpnBubE5BRzY8ci5joQJbyJPE5pPFeEIn1I/YfPNr9b6K51pYuMQOg9h6OYDpDEgi4aKVSisWzNFh4ANUvXlQGtcuMJHbeg/i4mgL+dBqhkErUMRLR2J5wM5tEbHSChtD2TY961J1wNE1j3YR/9cwBGdPefYRqaRO3E3Wpt/axM/01tCrhqSHyg2cQrE036y/nnj/2ejC+VSIgCGt/O5Ja1G3zQJl0tX99gYV+P3Gi7oXc85OeNSufXGcKkKHZ2rPlzeAlURGyDUmQskkkfAK4lg6+W1zZPp133VYDAPEhwKk7Mc6ScThz47t07nbQIFc2fwjchMCsoWOzYcZ3iY1xlB0lNygaGX8DGvd8+8pRiSnTBbMXBF1K7NNyAKxAXa9CEoc0B8DwSoYfjxNMEQF7ws5Nif+AhxaU+VAvk+zTUoeksvxnNOnXXehTvr4lQdDV4MKcLU8ERvbeGKxP/27TeYeMrutSu4rJsouszRJcm0p2qNUzoP1Cl7nH18JrNh7gRCy7z/4= 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:(4636009)(366004)(31686004)(6486002)(66946007)(53546011)(2906002)(508600001)(4326008)(54906003)(6666004)(316002)(26005)(38100700002)(16576012)(31696002)(44832011)(4744005)(66476007)(956004)(2616005)(8936002)(5660300002)(966005)(66556008)(83380400001)(36756003)(86362001)(186003)(8676002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?S3pDTWsxd0RFcmdIb0N3WWc3a0dXcEVSQTk4QS9KYXhFYmFtcHE0MkRvMEpT?= =?utf-8?B?d0xLcEN3ZGl0TlhvOENEZGF3eVBDQ1czY2h3bHZWMy9SMXJtTTBZdTM0dVp3?= =?utf-8?B?ZHo4b09CaTgyYm51V0ZJRkhtVkVSWGtYWTlCV05LNTRMMEFvSTZzQm9iZ0Vs?= =?utf-8?B?MExkSW1jSmZRalJndFgrU1FsRFJlS1JrMUh1RmZLU0xINzFQNjdVU0kxV3FU?= =?utf-8?B?OCtBWGpTVFB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lCR3NQd1pteFpMbHhOQzl0RThuR1luaWI4R2VYdTNmSSt5V0Fy?= =?utf-8?B?TXNvRUVncDNCejJCdlR4c09iVS9yOUxuajNuSHlWOHpadEVTNmY2bjlJVC9J?= =?utf-8?B?TGE2bnNxRnBJVTVqSUZwa1puQlA1Nk5YSEZXWnEvQnBsV3NheU00TDlRVWkv?= =?utf-8?B?RmE1MWd0REJhLzJyZXlZZW5uZkVzUzhZQU9UNWhkRjB3T2ROWnVVR0lJTWpI?= =?utf-8?B?T1hYcHhyTnB5NkdTRkVES0p1R3J2VUNSaTFWQ1JaaUlWTlFXejE5RTlzYUVt?= =?utf-8?B?VWZyOHlSRWZqN05xNC9FZktsWjFXV2ZrbDk2YTdiWmxmN0FyZ3hWSXcxeWI2?= =?utf-8?B?Y3BHMnZaWTNtTXQ5QmJidWZSRTJQZnNOcDlVaFlHL3ZNMVJRcVBLSWpsUWRX?= =?utf-8?B?eXFwQWFOK3Z6amtpSUtlUmxKVVovT05DanpBdVdVcHRUeFFzbm5wVkszSHdX?= =?utf-8?B?S3NvM0Y5TWNuOUlLWnVoOFVNdVQ0K2plc2JqcXhGYjRTOHVzNDhjblpuU0NV?= =?utf-8?B?T25JR3R0VjhZNGowZWxlOTByOWtrLzNOUUI2QW5rT1VncUxLb0xNZjFuYjRK?= =?utf-8?Q?IenJtjHtqv8TYSGnUpgdQSnk1KsxPwsa8XDS838?= X-MS-Exchange-CrossTenant-Network-Message-Id: 5dd1e729-ef42-4d71-703d-08d988ee497d X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2021 17:25:26.8487 (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: GImg0aI9hTb+ZW/jRkFy5ZlMg/XnfY0t8iKIlHfSQpyqhuJye/LkDaxH0m6nJeWMJH6ldDrFOU6PLIFFpwIIdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4951 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v7 0/2] ethdev: change queue release callback 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/6/2021 12:18 PM, Xueming Li wrote: > This patch is a preparation of shared Rx queue feature[1]. Rxq object > could be shared among ports of a share group, a shared rxq object can't > tell which port it belongs to. This is the motativation to clean up > queue release callback API to use queue ID. > > v2: > included new NFP PMD driver > v3: > - commit message update > - split allowing empty queue release callback to another patch > v4: > - use helper funtction to release a single queue > - move driver empty callback cleanup to first patch > v5: > - fix release callback parameter name > v6: > - some minor fixes thanks Ferruh's comments > - add device lookup macro for hns3 > v7: > - changed hns3 driver to use wrapper > > [1] > https://mails.dpdk.org/archives/dev/2021-July/215575.html > > > Xueming Li (2): > ethdev: make queue release callback optional > ethdev: change queue release callback > Series applied to dpdk-next-net/main, thanks.