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 EB65C41E2E; Fri, 10 Mar 2023 21:58:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DA22140A8B; Fri, 10 Mar 2023 21:58:21 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2086.outbound.protection.outlook.com [40.107.243.86]) by mails.dpdk.org (Postfix) with ESMTP id 42AE340685; Fri, 10 Mar 2023 21:58:20 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VPcTEARWWcun8OJ0rXWEX+DH0nZiNHxSr9EnqC7gAWAO+D9GoKXNWc8w98qSbvzWwyTv1bwipF5KJ7/1/Vmpw9TTQH4RwmitgPRXl2PTYG1znpPOVCtZAbQUYEGI4MabBugwONL01yeCo4PxUqTvK9jPX1iME6VBLwZOKhwLlAhNomtI70bPktyj0ZCZgZfPew09E2gOggbeiT5+zgC1NtF9pKk6PcYp6f6xecegAxCnvP6tlHKXlh0rzNCoqD8UStbVRbc1I4R1ddNq2e5Xm1fdHLfd+FK83g6zwkXP7Q5J+lkVBefAfZCA2qiIVSCt8krVrlCHXT94hdOsTasaYg== 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=WR2LDVISSvAPDHS1NOYOjnKzwHSUdXN7ZhnAqe1sQ/M=; b=K7aPvaYS3hxriqY77HuirmQvs3lyOP5mRMKpAA9a8pUD2Bv4Dzo3UgW5aso34G/440h8IytU8qZTHyHNL4Wi9DLIuOiJ/bAdKo02/4Kwm/78lqi0qu0a4L3Ym/aX7d8Gh1cn7wuzhOwdOqRVPym+PVm3f8cPxxu5c3M+hkB+V+KZXkiUeHoVu8mU4RRjyaa7qjDtWiFRh0b4Ir18vrzmr/Q02k/fAh/8WjB8OJCA8HmDDUBMKG4ysPcQZsOoHTXapHlFvIqtw/rhdt3GrVpwcu1I7qm9bdPLYPJqLInm4rycOAtJsfjYqEDp2H8Ggf5S5uLRKVNHnD/8pJs9Ik/Wwg== 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=WR2LDVISSvAPDHS1NOYOjnKzwHSUdXN7ZhnAqe1sQ/M=; b=eadr7z4SANbovXmIsv6Y0IpX+gqbuYGs36zV47cXo2JEwvqO5Vq9Chm9ohW0t4X90UWAY8RrXipG7Sm7XwYowoyxydYPoisGBUgLBSlb4y8XXNNxTp2XKFU33BhnFnK1QLpI+Zg1BXnol59Fpvhm3332KmLaLfgkeXwFO9hK0CQ= 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 DM6PR12MB4532.namprd12.prod.outlook.com (2603:10b6:5:2af::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.19; Fri, 10 Mar 2023 20:58:18 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640%5]) with mapi id 15.20.6178.019; Fri, 10 Mar 2023 20:58:18 +0000 Message-ID: <20423dc9-d674-d85b-05cd-4b8b8853b285@amd.com> Date: Fri, 10 Mar 2023 20:58:11 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH 00/16] net/hns3: some code refactor for hns3 RSS Content-Language: en-US To: Dongdong Liu , thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru Cc: stable@dpdk.org, yisen.zhuang@huawei.com, lihuisong@huawei.com, dev@dpdk.org References: <20230310093518.5198-1-liudongdong3@huawei.com> From: Ferruh Yigit In-Reply-To: <20230310093518.5198-1-liudongdong3@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO0P123CA0013.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:354::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_|DM6PR12MB4532:EE_ X-MS-Office365-Filtering-Correlation-Id: a5515c89-37bf-46de-6460-08db21aa2ca9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dE9IyKhTjW4+HzTOa3nqCNiHNwD6m1VK6Lx99jm7BBs0a+sQBAk3gAi1zuP0e7Mgipgqg1d2kvNNSiMqSjx/x+to/EBjGW+l9gp9c95tqTfcY7alUaYf6dkJNnd2Fu05B6UGD+vVlXdBjQEL3AKWju5JyRdhV3q0jbupBincLf3Oxk3AtBQatqRBxVhhy056iK0gIU2yUYUG4lzNMhiQnwzx7syhwpkCi3N5344bo60q35Hb5Ga9c+MwYZ+QWpVFl77Ubucz4ar9lUEHmx/kh5/UGv0dbUcZXaDhqdF9u7HDyWWs6Kfhzvbb1sXeTYHB9Fim64ww8orEhTXYkRjfyFv7qIgMlAP10fs0cszU+3uasuM6GwWHKMtHprr3k2x0WZyiqi94Gagw/OKE+mVVVP2XdYx94/p9No0iMzQ+CTjonF5nmBHtucuPVsS86YVKDCGNpUKP5jitvKekVvsyJEf1/9zRc7+irIF02hZ2mPoK6WVCc0e454nWVfOG1+MsLY5DGmUFcrLxvG1tspgY98aRH3Sghmy9ZOt3knLLg7Jsblykp9/VNiz9oY6KfYYowW9y5opOiGWN8AM4JO4HBRuR47LAuSa7GN+kwB5BNpZhJxWFRyf1Hfc5zprTWdaFnl5GACM80EOmIIKld6nZNHEKTb4Qxp/wPiop6YB7Yg4NxCN3y+q7q/oq6TTTxrfJeWKEu3DsWBHEfge7SaYchiDFd3330+PL5jGeF8Izf+s= 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)(376002)(346002)(396003)(39860400002)(136003)(366004)(451199018)(2906002)(31686004)(83380400001)(44832011)(5660300002)(36756003)(66476007)(66556008)(31696002)(8936002)(66946007)(8676002)(26005)(316002)(4326008)(38100700002)(6666004)(86362001)(186003)(478600001)(6506007)(2616005)(53546011)(6512007)(6486002)(41300700001)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZGJwTXoxMDViMUFVRi8zSjNJRFZ0eUsvdXFKa3dkMk9wMSsyZmRESXAxcTU1?= =?utf-8?B?TWphMFBMTUVnaFFFNFRuVGtSc0tLcjEyY2pnalBQVlFObENLWVZGZi92TXIv?= =?utf-8?B?MUFaek9tbkk3TVYrdXo3dWw4ZWQwcXg3TjN1bFFZT3pubkJNWExpaWtIWkdT?= =?utf-8?B?aU9vUE9rTkUzRHhSaXV3b29yb2VEQ2N2U2tKemVMOWVGOUtXRnFhK3pGV0Ur?= =?utf-8?B?VUFkNmhUSnlTUXFHMHRXeVdFdGx1REgxZjJjVVIwMkRBd09HT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jZkM1VjNBM3dyTEoza1NPS2R0ZFd0UVZsc1hhWDhKS1U1c2xacm1H?= =?utf-8?Q?6DrigXIUK0xiQ9qQu0+X468gJ?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5515c89-37bf-46de-6460-08db21aa2ca9 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2023 20:58:18.3481 (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: ZnfpZjVo7i6Bs9CI981DZTsJdHRal+CwtS+KwJ5Dbx+hrKW13EuYZASY3BD+F5u3 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4532 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 3/10/2023 9:35 AM, Dongdong Liu wrote: > This patchset is to do some code refactor for hns3 RSS. > 1. [PATCH 01/16]-[PATCH 02/16] fix some hns3 RSS bug. > 2. [PATCH 03/16]-[PATCH 14/16] refactoring hns3 RSS code. > 3. [PATCH 15/16]-[PATCH 16/16] reimplement hash flow function. > > > Huisong Li (16): > net/hns3: fix possible truncation of hash key when config > net/hns3: fix possible truncation of redirection table > net/hns3: use hardware config to report hash key > net/hns3: use hardware config to report hash types > net/hns3: use hardware config to report redirection table > net/hns3: separate the setting of hash algorithm > net/hns3: separate the setting of hash key > net/hns3: separate the setting of redirection table > net/hns3: separate the setting of RSS types > net/hns3: separate the setting and clearing of RSS rule > net/hns3: use new RSS rule to configure hardware > net/hns3: save hash algo to RSS filter list node > net/hns3: adding queue buffer size hash rule allowed > net/hns3: separate rte flow RSS config from hns3 rss conf > net/hns3: reimplement hash flow function > net/hns3: add the verification of RSS types with mentioned minor modifications in 1/16 & 2/16 Series applied to dpdk-next-net/main, thanks.