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 1ED5542C3E; Tue, 6 Jun 2023 11:07:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0EE254113F; Tue, 6 Jun 2023 11:07:08 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2055.outbound.protection.outlook.com [40.107.243.55]) by mails.dpdk.org (Postfix) with ESMTP id 35DA3410F6 for ; Tue, 6 Jun 2023 11:07:07 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eaDHTgzsmGcQ02XhxdVOkP6g2EsQ4yb5npc4VoQyBk6XCrm0ObeNEEb9KpPWRIG8G/6XIjh8xMGy00IKQc5p/aLbxMmhKXn54Abeh7sgjj8v7kPzzxA3NVahXuCWIikLaxemJsfnLRlujCjxuluX0NMVtZY07qTeJLL+ygNAOpQeyaJZIoxqGbYWM2rIWvriEhpXaUQVT8noukrLuFF5B/lKFgYf60r+t6H+wA+7LASKVLpZNcX4YVAZc0hffpM5efhg+HPwi+sdWUx7r6uwL1mSQ71Cigfaww4bYYnTXjmi4mCkpZ4csS+uFjhh9HIIJCyiX5imlHLsWzF1CEYwHw== 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=OffhkrbYa09VsKk0V11zVhSY9zQTjhmDpv9yF/i2vPg=; b=G87E7vzsXRnATXsJkHo8SJxwWnU9S3KuL7fUkn/8TjFfiA1aoYyJ5+xOZDQw4YRom3A/qglQZ4TNnqxgDk1OBufgLNp6VbDWSpB7yxPVfRI3ixljPC137lcshN7VGkBDwlQrwK5v0Fdcoq432qJSHmoUZYaDpcPwFjU9/vHWBpIE5TmIHjlWNG5NX8tlgSmr08jAh+1Mhc9/PQ1PCnbobrAAsRKMMZmfIDlnHrgiymCsVqSqXBats8aQ/1c1OJGzhElKrLSqFFZlW7qTRROwjGiw4eeWZA7/46osSN7c2NeZ+6wUryBlntjXdR5YZqDC+S4GIveQqxf5IUGMQvFeTg== 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=OffhkrbYa09VsKk0V11zVhSY9zQTjhmDpv9yF/i2vPg=; b=Toiitrb6QMc7xbYPAWKo0wl+IvDP7HJULZ3jhL9yl/IZ4UQ8W8+wjVK5L84hbwW0YHOzizy4T5G0U+vK87ZpytcIowJMPgykdnNSbQoxJoI2ZoMSndh9Jj1gTg5y1UK7MWap5Vim+GO1nY7Stzq+Db0c4fNOXjSkcHtvXIwCIpY= 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:07:05 +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:07:05 +0000 Message-ID: <6403c60d-e568-9675-90bd-d3a150df3ad6@amd.com> Date: Tue, 6 Jun 2023 10:07:00 +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 0/2] add Rx/Tx queue ID check API and use it to fix a bug 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> From: Ferruh Yigit In-Reply-To: <20230605022741.1473230-1-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: de9d1610-a79c-4fd9-4839-08db666d65f3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oS0OKTxo4GecEep2S4juak0FVMK4eXPd+mPCWul9IUbR+VDnO7vgTFKcfbWYkqISRyJtBcFI7r3qAWpJJzA+elYfJeYknTz1GFRzTk5pLGQvxiHtPn1Z4h6RXFf5FVW59TcC2B6/PL/G8QOCQalK0JkB/o//DY/m36KbosMEYf30QfdE7dD7ZXjPASHjFTMpmS/k8vr29CNoyfF2sQxb50cdAwtD49i5+eCxPsqfg2NIRYnat8CTE5Iu2nmNGs+u9BekQTnYI27paDsB8Lyb0st1bD9gLBWSwofecO0vXgwlkxMVOLuWXuEARpRYxoXwFch96qStzb9dxfpgig1w4oyGE+oI4ftH7ZfSPVwrNGFXmOXGGBG7LIu07GqBrCiy0Gp598DtCjZ2ZCftSIQ5dQsUJRwY5uT0KBp25jCD8d5w2N15axS5ZLyQGVp45bIibEzhxH8zkXPe6lVmtkvAAFVfksX7v42g3/tFEqqAw5ykEBxFjHOq/WO2QXsYhQmzAbS/Fb7E655kZ1UHuA77sNUmWpxMWAo/ikKtRCXFzlVaU1Q1IE2CHOwQV6liUNiMOlsqsSGEvYjfkcVxwq79AIqE45hxxHkTCXT7ihtks7pd6IBtegi/0KTw5nEH4EN6UPCHpyiRUZGawFppVTX2cg== 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)(83380400001)(478600001)(4326008)(66556008)(66476007)(66946007)(316002)(8676002)(5660300002)(8936002)(7416002)(44832011)(4744005)(2906002)(86362001)(31696002)(36756003)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?M0hqQWVoSjQzQzdYL3dmczVLRWk3YkxmV3pGeTBIa1BMaWRSZ3NpaTNRTlh4?= =?utf-8?B?N0JpWmIwL0loaURVNER0L3B4blN5dWZuQWttTkN2UncwV0p1ZXgyenNSdi8z?= =?utf-8?B?U2Zyb3dZT1hSTkx5TDJpTldzaXJ6K2JQQnlHcFlXRXBpa1hKMnlzckNIVkdq?= =?utf-8?B?M0ExUW9KNitXVlNkUVdqQ3hmQXY4OVppOTBYQ2hYaCszZ056ZU55WWJsYVFi?= =?utf-8?B?NkhOVjRremMwZ2g0WEpOYnpWaUNpWEI0RVE3UDFh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UjJIQ0R3bzN3cUhabFA4ODVwaDR4SXdOWG9FeWtjSTNORmxFeEIxNEZWd3o0?= =?utf-8?Q?Jf1U5rR/2y3Er8Q6LnJJEwsIL?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: de9d1610-a79c-4fd9-4839-08db666d65f3 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:07:05.2732 (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: noBzdvgGZWvNjc3nlgOStSQeht9QgoV7snMQSONIXy42RyDvVyYBC20VVKeIM7d0 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: > This series add a commom API to check queue id > and use it to fix a bug. > > v4->v5 > update document order and correcting typos > > v3->v4 > update API name and uptate description in the API documentation > > v2->v3 > update API name and use the internal function > eth_dev_validate_tx_queue() to check queue id > > v1->v2 > add a commom API to check queue id > > Dengdui Huang (2): > ethdev: add API to check if queue is valid > app/testpmd: fix segment fault with invalid queue ID > Series applied to dpdk-next-net/main, thanks.