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 55EA642C3E; Tue, 6 Jun 2023 11:06:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E8B2640A84; Tue, 6 Jun 2023 11:06:39 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2046.outbound.protection.outlook.com [40.107.243.46]) by mails.dpdk.org (Postfix) with ESMTP id 8362540697 for ; Tue, 6 Jun 2023 11:06:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G5Mj6T5xYyxMHXpBC7628AAwz0USCde3Cfmdc4LtQZupa8OmISVZSiOsx2p84B+EP4Bx4jAXXLVKI6MfQeuA17QWWtYrJGKRqPz+f2kgl32pORBONfBABpwO0sN/36NEUim/78ZWcw2WOvcEfyMxNSeQNkFtvB2PIVgwi4cbXy3ElNwkE0RPTnyiGrm8nUdbwz39g4SUgcwgFz6EAZmuN1rdqPRZKSVXpT/cECE18swSn2IrZFrEFvAWlTaZp1f9HwIoyEC/qbgfmCh6n3Q+yJd/lFQY4GfFVIBGlZjtQoR1tuov4ymUdaAWn/Xd4kmS9Qdi99RHqwTCwSfICtfnKA== 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=wWYKfjDcSm8Wo2wdumMEXvmdCFANC2RhpFeNdT9uAgc=; b=GLkbQm91H0CoMiAiEfzTUJa+N2WyghWQnc7HF0r7blxb0gJbDbXKviCczbKSM6X7qNtUcJYP4OwRRSYh4euY6YisUUesR/JZ9RkgIrPxlqMw2w9XsWOZQbupKKrT3NkzrLu7HJ+ufzukAYbiWl17Ym1qf+A3Uyym+MEjYnKs9GReyQ8H/P9IHo52kU3exemk7uOoS6jrNwyPpA1sMgPNEhEFr/fOzrfbtNZ64s+LPbXzvQ1bHMGItbZnTyGaxsHuMccYsgmFauval/decTJTUSw8d/h+CWToLHW3TZV/2mr+tct6JZkNtgDPTkUu4KMLkz1689A8BJirgil7dXw/zQ== 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=wWYKfjDcSm8Wo2wdumMEXvmdCFANC2RhpFeNdT9uAgc=; b=Xl83jBqsVaC5siIBK5FIZhU1eikx6SiYG5ZUoI6Jx4K4F2Ik+jL+y0fqsTwbx5+5zqfNhyXSb48VLEWh0xwDZp+b45yfP60sCAQMEY6I9H3f6m8iHesj4BoJTxxiDfhr12avt9/ZZLcS2A9h1Ffu/CECbpu3mX3k/1vl0ppUlWE= 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 SN7PR12MB6931.namprd12.prod.outlook.com (2603:10b6:806:261::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.32; Tue, 6 Jun 2023 09:06:36 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::cf07:30f7:a92a:c53b]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::cf07:30f7:a92a:c53b%4]) with mapi id 15.20.6455.030; Tue, 6 Jun 2023 09:06:36 +0000 Message-ID: <72be80ac-7738-17b6-2fdc-9e0aaf1d1779@amd.com> Date: Tue, 6 Jun 2023 10:06:29 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v5 1/2] ethdev: add API to check if queue is valid Content-Language: en-US To: Dengdui Huang , dev@dpdk.org Cc: stephen@networkplumber.org, thomas@monjalon.net, aman.deep.singh@intel.com, yuying.zhang@intel.com, andrew.rybchenko@oktetlabs.ru, anatoly.burakov@intel.com, lihuisong@huawei.com, liuyonglong@huawei.com, liudongdong3@huawei.com References: <20230516110021.1801443-1-huangdengdui@huawei.com> <20230605022741.1473230-1-huangdengdui@huawei.com> <20230605022741.1473230-2-huangdengdui@huawei.com> From: Ferruh Yigit In-Reply-To: <20230605022741.1473230-2-huangdengdui@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0153.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:188::14) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SN7PR12MB6931:EE_ X-MS-Office365-Filtering-Correlation-Id: 0b05e6a6-f57c-4d9b-834d-08db666d5482 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ixQiPSZ7D2jh13C/M8dYEYId5yp1wNihzswHHA9qzL7UpnzsIBWI+9KEkJq2QIPtFTzp3WC0qmh/HC5XhWFWNgBK1kngsOz5wBZjahXJd6MLRFF0plVzK/i9EcBAUzDKF8b4ZkWIXb5uvgSd31sJykRmnQvz7E4uZ7MmgRvP97Bdv1OmXKc+mnQMzm8Ch6ZDcAkDvhsq9ko85v39jXEXk7EE4Tx+QMAXmABKr9os8HZdjnAtKTvXHm5ZOhV/FacjR9vJiCD0JM4ra5tRIB0YouOih0zNoP2FXD2TFpUuZdp3XG7xxn628vK9Cy2R5ZMak5OH7Nozm/NeTWMr4zBgfgbME8HEWlNqRt84kHM7Sj8Z5mXR1Ztfzro3mz8pdBPD/UvWhZdz/3z8VGst/g1R+3tPmQuNqyfrtZ5MH1Q5f78v0VDs7blv9zeq//gU03OUDnMJE4QqLNz+RP96EU8b1q1YWIYeGvlxDvCgQ9GwoimnPPoOnQbkXq2GvtVNciKHXshGaCDwawzYlYOIXZo0MvNeifDWvis/EP82M5uudatlPNmg2nQpeJNHhHvFMibRTvtnMF32s7/uItPfToqvxkOeZiO7CKY2lSqpwvE18La3O0MT39GQl1r0yIJOPCvRhB1nwg8aMPF0Ep7FtZTvxw== 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:(13230028)(4636009)(376002)(366004)(396003)(39860400002)(136003)(346002)(451199021)(6512007)(53546011)(6506007)(2616005)(38100700002)(41300700001)(26005)(31686004)(186003)(6486002)(6666004)(478600001)(4326008)(66556008)(66476007)(66946007)(316002)(8676002)(5660300002)(8936002)(7416002)(44832011)(2906002)(86362001)(31696002)(558084003)(36756003)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?V0djNzc5eGsxVlhGeVVqSWdJeGdRbmNZc3JtL3pwSWFnZUk4KzQyUHpTUGZV?= =?utf-8?B?Rm01Zm82ME16KzQxNjBZV1FMd1Fha1JRRTFSd0RwSlI1NCtab3JNdFZoYjdN?= =?utf-8?B?a0JOSXIzKzR2WlpqRUw5d3lFc0FrUlRIbnFHY0tvaG5iK1lFUlFFMUV1WVhR?= =?utf-8?B?TWEyRy9IWncyOW5ZM1FQNDlIcmZEU0o5cWFqNzhJVEppWkpEOEVJa05yVlRr?= =?utf-8?B?WTAva2hSQVBZdV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VXd6MTdwTlkwSi9DUHJ6?= =?utf-8?B?dDI0d09MMGppM3ZRaEl0bWF4Um1CUWc0eXV1cjhsZUpNTGhPUXg0MjVHYlpW?= =?utf-8?Q?R+7iejimrSDrDkQsAhiFDwdP1?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0b05e6a6-f57c-4d9b-834d-08db666d5482 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2023 09:06:36.0833 (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: M7WmDONjfnZ7sHl6u+pFU2C1sW4Zh8TVLXj9vMeRpmVzp3s2v/0uIq7izyis7FKO X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6931 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 6/5/2023 3:27 AM, Dengdui Huang wrote: > The API rte_eth_dev_is_valid_rxq/txq which > is used to check if Rx/Tx queue is valid. > If the queue has been setup, it is considered valid. > > Signed-off-by: Dengdui Huang > Acked-by: Ferruh Yigit