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 F266341CBF; Fri, 17 Feb 2023 13:53:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F44D40EE3; Fri, 17 Feb 2023 13:53:11 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2088.outbound.protection.outlook.com [40.107.237.88]) by mails.dpdk.org (Postfix) with ESMTP id 5BFC940EE1 for ; Fri, 17 Feb 2023 13:53:10 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G8Iu/0zQA6CMhmBzFtKTJdixHU61RX+Zo0yzZyV8iqREZgmy55pb8hcSL3td0+Pe8gQGS5qY76HWRzxJqHQmoEaYqv8KcmzLvM+w7mnta2FVi8RkdZdW3KoGyVi3FFjH+3p6Ft38cYBwf6hU1rw1wctQbvBLCT4d6WkXL1kvZUPOzmca+EuqZVpGHjtTJ1eCXMUC666kpWj1YO0w756AUGt5aHIjDHne/NSBLuLiuYAcymZxAbuL5x+OGl98hqlpneD7v9MBnI8uOOaVDoedXdP0wXPrhUjuqmI5BKlfcpkr1efKsLwQx/fpz10K1jkAam2CuLNxuFlnvpWI4fs6og== 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=hZSonDKITAIrwVuVO1I7uFez04ZtXzaL447ZWVZcDuA=; b=TPYHl1GjP9N5y8W3gX0jyg3hsuKMtcu3DI2hYg4KljB2+8tm9Fps2k7a/ICE1lydmBp+NeSd+28QjG+SIj29Pyr2+qO+V83quadnT9aZbqn/GuRViaOET0ySdpTMMQtdgolMe1X3l2Yfb4PhKocqZO45juFdt1NLaAUuNJe0g92/GdRzJoQSqkjQlbf/IJblBGpuYHBnYaYx9yqVPq+7u+SHEEqfAOeXccNy8w0YTY/DHrNFyXw33DbKAsVo9LO8uqvEYqc6Ny+RiKjpORIAabouAgNP6+9zjtaUjXsccDgak4mqAWnWX0+jF5YKJaT1fOGzh+mE4PRD7d5JoGmLpw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hZSonDKITAIrwVuVO1I7uFez04ZtXzaL447ZWVZcDuA=; b=GjUGi84PCMNth4QqnOOAUh7x3hRFpRkacjKZwXr5TBfpQ2v8n/9M1G8KznaV3wR+FzJaLBOJBFTh61G3wXAo2XyVPLZ/FQc9KnHlZYQVV3scFKrJIeC0am7osT/XgIiOkMwauxICoCFh9xWiiD+jfoZdoRGCc84TdpDEBO39NcA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by DS0PR12MB8525.namprd12.prod.outlook.com (2603:10b6:8:159::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.15; Fri, 17 Feb 2023 12:53:08 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48%7]) with mapi id 15.20.6111.013; Fri, 17 Feb 2023 12:53:08 +0000 Message-ID: Date: Fri, 17 Feb 2023 12:53:02 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH v6 1/2] ethdev: add Tx queue mapping of aggregated ports Content-Language: en-US To: Jiawei Wang , viacheslavo@nvidia.com, orika@nvidia.com, thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru, Aman Singh , Yuying Zhang Cc: dev@dpdk.org, rasland@nvidia.com References: <20230203050717.46914-1-jiaweiw@nvidia.com> <20230217105026.12927-1-jiaweiw@nvidia.com> <20230217105026.12927-2-jiaweiw@nvidia.com> From: Ferruh Yigit In-Reply-To: <20230217105026.12927-2-jiaweiw@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0308.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:197::7) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DS0PR12MB8525:EE_ X-MS-Office365-Filtering-Correlation-Id: 1f307e9d-e3a4-446d-1c28-08db10e5eb03 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ubq19C7v7jRNlihMEYlBBttwbdtXrWOPeltASsKVJWO/H9ROPG4EMhPwM5IOOAPcw9RFmtQh+EtqOcS5KNgupJ4ZuqOTBzZypGWnpAM8CZRbYJyIa954b4p9bKhpqQtvzIxXDRqYYobEQwjxSdWUONvEJSrK3BMD8HYkYekgRXC4PBtnfFmyjbZpyz029eA0Q+MA1Dk3Z5a5Jq7PoHOiKnEJ3jHxKxFA+o3N4nk8pwEIQjBTpz025Ql1UfhAJ/m/hGAeZYMfmsb4cg57SrgJqwEMp45CEnbvvOwVWg3p3IvBwuAQ9buenhPv758HVCi6CToRnDWUjWQFx5k9S2kLuMPuhFXn9ouedejUhEQxdN4p7zx/hKwLephmbWXnCixlG6+cHwWb/1vmiLaOj7tQRMZt3B9eqhSMkVOXhRB4ZqR5jRAjkDVLnOnysoI/KhiGqntiwzKCRcCvmwypB49OMV+xFmOcIIHqE4JesObfn7oWDTQqsf5fSulZhEOPm7DdHcm9SMhQirYbESxSValXzk2aVyhY88Z0SWgyQGOA/Nc4gpV9Q+hBUNFlVJMrsclhYiiwSAKonnLLuBIJ2SwAMAlw3GVkKTRM9ob1F00dSZCymlpfLtNXdjtlahCoh3RDQ4M0EO7kpGN/z3og7PL0YJyGDHj+oQAf7JZTWof+pum1I7whFSAasH+wConhuddn3THERiek3wVTVirE6+vGhRm7HVLxWCEwWruiV/l8Sz4= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(136003)(346002)(366004)(396003)(39860400002)(376002)(451199018)(2616005)(83380400001)(5660300002)(41300700001)(6486002)(44832011)(36756003)(8676002)(66476007)(66946007)(66556008)(4326008)(86362001)(31696002)(110136005)(316002)(4744005)(478600001)(8936002)(31686004)(2906002)(26005)(186003)(53546011)(6666004)(6512007)(6506007)(38100700002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?U055eUR3VVAvTFg0WmFicjdSK2hVRlpGVFZFTkpKd0piV0JHc0JvYUhya1ll?= =?utf-8?B?WUdac294WlZaSXdMNDFvYjRuU3hlVzNQWWpCcHdJdVVHT2tOQ0cvMFp1Z3Zi?= =?utf-8?B?TjdtY3JZQXFPd0JJSXFjY2VFL2VNTXdKUzhkVWwwTTg1MjBPWVZWYTJPU0Mw?= =?utf-8?B?R0xXeldWRktNZytqaUVxUFdIWFBQZEUram1nSmowajNSNGtUSjdlUVNMNndV?= =?utf-8?B?akhmTjBRd0VLS0hHNUpsQ0w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QSTlpSVhNMk9KWlR3WGxm?= =?utf-8?B?b3E5bXdrYzRPWTFKcmJyY3Y4N0FYWk1WaXhnVFNPRmRjTGphekdFTUJqVlpt?= =?utf-8?Q?JbPLiPp9P+l560kNb4Ne/j5FU?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1f307e9d-e3a4-446d-1c28-08db10e5eb03 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 12:53:08.1661 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: g74etnP4e2G3IwJDW1Px/jWHvowf8esgrdD1LEqi0d/QU8QUlrGT9AK34ZlBpmbs X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8525 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/17/2023 10:50 AM, Jiawei Wang wrote: > +/** > + * @warning > + * @b EXPERIMENTAL: this API may change without prior notice. > + * > + * Get the number of aggregated ports of the DPDK port (specified with port_id). > + * It is used when multiple ports are aggregated into a single one. > + * > + * For the regular physical port doesn't have aggregated ports, > + * the number of aggregated ports is reported as 0. > + * > + * @param port_id > + * The port identifier of the Ethernet device. > + * @return > + * - (>=0) the number of aggregated port if success. > + * - (-ENOTSUP) if not supported. > + */ > +__rte_experimental > +int rte_eth_dev_count_aggr_ports(uint16_t port_id); (-ENOTSUP) not returned anymore, if this is the only change I can fix it while merging.