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 C916642E3B; Mon, 10 Jul 2023 12:11:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5B93740C35; Mon, 10 Jul 2023 12:11:15 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2084.outbound.protection.outlook.com [40.107.94.84]) by mails.dpdk.org (Postfix) with ESMTP id AAD7640698; Mon, 10 Jul 2023 12:11:14 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=di/ReR6b2sNLaj0Cxo7G3QOQSaI8FwYLWp+LfaHMWW92GxG8TUkvklcvOMV2OYR5oDGj2r+djOQp2xEKU5an5777Gkzq7w4ZsL9x5pCHUQGDVHdBwBKYoW+IhK+z53NC8xwJqwycoyr9exRQiqmay2NBF/j746goAAdJ2uIUnFoD9+aID20mX/Y9r8mRk5mf2twLIUcobA+/99AGryh99TxDi2fhSgT5H5HDiNVwJRTPzt+JgI5pi+lJx/w4Y0OW/Nw3Gc6EdLaN3l55hHmY1HlDGCHjhWKDq2whqsWMJb7NRH3vZxsat0dWaFMDr8uYXT3DLrDo35AYzzL/4dBQ1w== 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=i7U8YRSY4sRQ4wDnrh+k0UPM2qlMaUxi4SGiNhoKLtY=; b=j549MnPrze80XYffVZenib5deLIDoREGKUzjzNddZePmvx/XC704Oa0hXB+4Hoh5ppCkB2FwfEmOnW4yYkWwKD8z6XkxoSG1Gt/HoK76MpG6alEAF9gCHSpZEda/j8NWVB3H9hOFT5ZNtR+7w2ZB5KnwPtGnZW/epWYnY6QuVCDHZzJ3k2Gaq8/2MH+VJzn0TImEjt6r62y0xxkBF+BFatqjA4RMkKTQdi6O+ZBP9KfA2hfadrlr//jVXpccPODOMFHWWjIu0sSxiE94adyaUGS1MycKXXPtau/4/9duLSU/MYxCvycxdeZbB9Nf1nSwwvJwcJMB/19+xQoTgn5H0w== 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=i7U8YRSY4sRQ4wDnrh+k0UPM2qlMaUxi4SGiNhoKLtY=; b=EYsjOfU6lSIA3auP3j++y6evb2SfuJkD/BHY4tYLkcFz709gj+YsfB9L05m4Xl9WvB6xVQKtrBF076Vc8KWQLhSWwIgu2So9UC3ShetIpzDPddR+pTm+XlgJWPiWIIV8GdfK0XEaGQcpMPo/PiP8NgNnuE/5kRLRVsD9GYz6oV4= 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 CH2PR12MB4860.namprd12.prod.outlook.com (2603:10b6:610:6c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.30; Mon, 10 Jul 2023 10:11:11 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::369d:5f05:aaba:ebd8]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::369d:5f05:aaba:ebd8%3]) with mapi id 15.20.6565.028; Mon, 10 Jul 2023 10:11:11 +0000 Message-ID: Date: Mon, 10 Jul 2023 11:11:05 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] app/testpmd: fix the rule number parsing Content-Language: en-US To: Ori Kam , Bing Zhao , "aman.deep.singh@intel.com" , "yuying.zhang@intel.com" Cc: "dev@dpdk.org" , Alexander Kozyrev , "stable@dpdk.org" References: <20230630133002.435747-1-bingz@nvidia.com> From: Ferruh Yigit In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0519.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:272::6) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|CH2PR12MB4860:EE_ X-MS-Office365-Filtering-Correlation-Id: b8e5d79a-7296-4419-ab52-08db812dfc86 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aHoR7BFhGpjH8fhpwQZ1AaMfSAGQzd02ddjuj98cIkNPoGTRG+8156pH60GX3VPixWwOBdVyHZXpF9PSXq/vwNQJO9vjkYi+XRj+fdI2wP6k1c72GALEb4tTqHsIhssEWaJ6b/06zoUxiyXDsXzzBmCbHKPPdvnb0leUHa5JYRu/bQ5Za+gUUI/ayVy5LLVV2IoyCy7djWbq9zE2MX/JKGb2sbASghah6xFjoXRHrdrLKRsLCV7zYT+cYo14xCFMo7oXTZ4ByEEhctvSgYWfz3vHBL2Cd30/3YS/HHF9eirwz/MVtyNtaqCUU9l4fbhlc+utf/2f8orcjmrVCH5fRsUMbCEl/WdGy7ZH0kqm9/8HaOpBHwAzWfAMfKpAs8KFhD5Q6UKd25CSib+NZRS+f77dyyDVxrMfmewIN1Q9Kh/8uqYPWWaMPawPGcWMgFouLvQkBzbw5HD7YCzGYM547NpbyiTUYlmL3V7empPdOa8vNQ42iMLPy2/IMt2i78ObO6Yf4M1Tc4bLwivyYqtcVpc4n1T4bpp2NBSZ457VGksofXvbOdjGR5aOKf3Cyb0NnFqtXtefytqy/Q/+YXR0fSnQs0aX1eQSUwH+g14IPPK8M/zemqZUMEUyUISnRsTUWOWfxRxtZrvxq3nFX+tOpg== 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)(346002)(396003)(136003)(39860400002)(366004)(376002)(451199021)(6666004)(6486002)(478600001)(110136005)(54906003)(6506007)(26005)(53546011)(186003)(6512007)(66946007)(4744005)(2906002)(66476007)(41300700001)(4326008)(316002)(5660300002)(44832011)(66556008)(8936002)(8676002)(38100700002)(2616005)(86362001)(31696002)(36756003)(83380400001)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Tjh2U0g1RldYaW96UXR5QnhBTWI5aVNOcEE5ZVluYjNON1dlV2FnVTBmOFJR?= =?utf-8?B?cnJzWFdWLzU0eHR5V1JYdWpkaHAxOWYySmUwMURLWDdpaCtEdlpmMWZSWWVq?= =?utf-8?B?dUZBSFRJTFdxZ3I4dlord3hKTEJiSkNkb3BMSTQzRWZxUTRHcWxTbzNDQmlk?= =?utf-8?B?d1dQVzhaelcrVHF2bEE4dlR4dUNBUVJnOVd2alJvUmlIVHhCaTNwRDhFV0pv?= =?utf-8?B?emNrYjN1cEE5T2l0aVhieE1LTDlEM3N5REwwOEQvRkxrVk53U2FMYVBsb1RF?= =?utf-8?B?c0lONklQYTBXWGJ3UmxCcEgwVTFRQ1g0SE0wYVN3MXpIVi9DMWpqcTRSVDhx?= =?utf-8?B?MWxVMitMN2dLNE54NWhxWmJZUWxKUjdwU0ZUbkFvSmtmQVYzS3phQUZs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S-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2023 10:11:11.7203 (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: IYirfZlaQW13kZh/qg9iKE7UTpeqJ30q2hQdVD2bXG49ZBPadEKmge0hd+tZpSDN X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4860 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 7/10/2023 8:39 AM, Ori Kam wrote: > Hi Bing > >> -----Original Message----- >> From: Bing Zhao >> Sent: Friday, June 30, 2023 4:30 PM >> >> When creating a template table, the object pointer of the >> command line "struct context" was set with an offset from the >> original out buffer if there is a template ID. >> >> If the "rules_number" is specified after the template IDs, it >> couldn't be set and passed to the API correctly. With this commit, >> the pointer is reset before pasring the "rules_number" field. >> >> Fixes: c4b38873346b ("app/testpmd: add flow table management") >> Cc: akozyrev@nvidia.com >> Cc: stable@dpdk.org >> >> Signed-off-by: Bing Zhao >> --- > > Acked-by: Ori Kam > Applied to dpdk-next-net/main, thanks.