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 AB52241CF5; Tue, 21 Feb 2023 04:11:27 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F5AE43141; Tue, 21 Feb 2023 04:11:23 +0100 (CET) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2116.outbound.protection.outlook.com [40.107.101.116]) by mails.dpdk.org (Postfix) with ESMTP id 41A5040ED7 for ; Tue, 21 Feb 2023 04:11:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=auq5kaAdvdbxw9aI2NDr65dx/vVXr7vwtqJ6m9QaPcVq6sPIJGj0fGryO2lxspTiqNUWOMoay+ACfB1fQeYEgQCur3IDdl+9RrF+xwUQH3DeJWqprhcIxJlaFpBtW955JTdKX/c0u4ywbIT3R8mxAYZ9qy7utdlrDAOG7/UmEtcbkY5UZfHMPzVafgA+kapxx0Bo5xO7Enp3t0h1ycCPZipb7KxrgJoQ3Jf8m5fRZoP5s2FF+BJb+dgKw8A2l/IQ6HX1Rfnn4AmftVRVN6LLcP+e2raXLnEXgP8nKxQeEg3OkjgWaHBJj4BjdqWXn5CVFfDN+zE8Yy+jnUb7wgFHhw== 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=Gu9XUr/80upsGmnpWg3Mz+szup+H6D81OW2klEV6Fjg=; b=AKG+UGAJDbRXSMA2dMVZV76eEl8TwCksi02C8nXWz0bH8qD1+KZD6MU7CUZchaomqRxlQx1Mcm8g/rMjdu3iUsrcBKBYXlREIzEhqjxpvB1OBfBzXYZg5FzOsrkcPLuYSQjwdnPFHGin1JtFxypcnir8R9nCiaMFuumV4RRH584iM4fQSquYnEIrS2DspLC1dbv9s6hZaoilwBhnBTxcNJdGoxIFWfdp1RNQkygfuRrD14wQv6YtgwK4mEr8Q9twKFZ/Cs5HNgt6kGVrvPsRxGPBg0XXBWKp6ePiwLt/fHkrMP9sMfsDGhduzSQm5/qqKQqzBgPstUfmxHBRPPzHpg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Gu9XUr/80upsGmnpWg3Mz+szup+H6D81OW2klEV6Fjg=; b=bcYP+U3qJMdsEOZ/wrm7/fwUMGz1fVWRDWqM0meQx0On02MAOKlVktqTX+KRv6SgFJdpDuhOjB00d6OQh7JoAGvf1q8TPIMj0NLFazOhvVLmu/+fks6MsoL9BWm7U+h3alatGwzbhBCOT1Dpt3RBTYALNhgb9UBVX3rzB9qANzE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by SJ0PR13MB5658.namprd13.prod.outlook.com (2603:10b6:a03:401::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.20; Tue, 21 Feb 2023 03:11:17 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7ea4:e421:5dd5:9f4d]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7ea4:e421:5dd5:9f4d%7]) with mapi id 15.20.6111.021; Tue, 21 Feb 2023 03:11:17 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Chaoyong He Subject: [PATCH 0/2] configure RSS and handle metadata correctly Date: Tue, 21 Feb 2023 11:10:53 +0800 Message-Id: <20230221031055.5484-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.29.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SG2PR02CA0066.apcprd02.prod.outlook.com (2603:1096:4:54::30) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|SJ0PR13MB5658:EE_ X-MS-Office365-Filtering-Correlation-Id: 82ded898-04e3-4928-aa78-08db13b94b87 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: So6V+uIAkJhEIJXFtBI16za4iv3YDX75wMNvODaPmjz7JK5aVxq9u4g4ZiswoIOrdzXrcB4a59d2PyzCu1xRveamQ14KMxSWmMGS6SFm65uoAMgZEMBvEZY7O/VTJua9i3Gm+/OxmJNKUndh28hUAD2+EGp94U5XLmno3oRHJI7XSKHYDYzr8oYgfCcWeqxiK8y3l1LIU03lbvYx1EAlkKpYhGYtE5PBef4JRgyXHfiz6EfaJeTGGcFwzovUxvHX36/F/8P8loKOutIXQ3NSJghVYFk710MTiY6qhv6+Gr1Yngq7yB9aCmvzz0DY25oJAQ/9EQwAUy3bIC+Who908blixJe/XhCFxJOD2tTp7h7iKzwzyqNT5qYIfNyD2prm0NX22alV9WmOIHDHIhTMxCPfQvYSejtsC2kImsXX6F7KIURx7cpTJCAk0hotV6z4TFTa5HObSuA69Fw0zRP2A9hY/A13O3y4u1H80864GK0R+PoTPwQVS+6EOiMicox8JjiCyJx1DXWiE/SVp4GLNfCrl/Hty6tMU0dlFhKt3jgiehu7kbOIyBz6LTqp6xk8uJAzwcIqZrPqGGG48wVE2TwiWs3jQrv9cIcriLkTETER6LPRhjCT0+2x1joKIhMMox6dWmZ4iGEDTruWHs5VBVFKRNhus1UDwbH5rtKoxF0cTcDGyyNFe63KPvMdVNUuz+s4YbKP59AFtas7CMGU2CYNPKusMFeGVLUahRT6R5Ivo1dC0ZuFFBufchG+GkkV X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(346002)(39840400004)(376002)(136003)(366004)(396003)(451199018)(5660300002)(8936002)(83380400001)(86362001)(6512007)(6486002)(38100700002)(38350700002)(478600001)(41300700001)(8676002)(316002)(4326008)(6916009)(66556008)(66476007)(2616005)(26005)(186003)(6506007)(1076003)(52116002)(36756003)(107886003)(6666004)(66946007)(4744005)(2906002)(44832011); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VzVmZGZKa2pCS09rZ0JGRjNYTnlscDYwMFJuVWozR0htcjN3Z2VpRmQ5OXND?= =?utf-8?B?bWV0OFNuT2pPNmFseDRrUXNQYmJnZithdDhJaVViNng3QUJaYi9XaWlyR05B?= =?utf-8?B?T3NQME1JWStndkRMcmlQT09ZcGFHeHpZUmw3bXRiYkU2Z0NBMTJNaTZIM1gv?= =?utf-8?B?VXZGYjVIT2ZPL2l4K3lEd0FGd3I2NmY4VnhNVzN4QUZ6clhOWmpYeFBWenBa?= =?utf-8?B?KzU4QWdYcFFWVzJKc1JQaGsxRlhJcHVUVk1xbHR1UytGOVViWmpOOW9ML0Zl?= =?utf-8?B?STFKcjgrcFpEUU9icVpSdmNQK3VYaVJmMTBFRlBRaEFVSjk1aStlRlN1VE12?= =?utf-8?B?RS9ZSnVNSElZdm5EY0w0SkczNHEzcWtZVzNaL0s5ejZj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: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 82ded898-04e3-4928-aa78-08db13b94b87 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2023 03:11:16.4490 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kzDCkh+lW2kqP5OSOHb+9VzUEuctijbZefgVP0ep9zt7cGxvs9040WvxdZsizKvmdPvnBIZ8u83R/kVjHaBmjjZNbZ2Ah9ynzZZkhux6e28= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR13MB5658 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 Select the appropriate RSS configuration in the initial process logic and modify the logic of processing metadata based on RSS configuration in the RX function. Long Wu (2): net/nfp: standardize the use of RSS-related codes net/nfp: modify RSS's processing logic drivers/net/nfp/nfp_common.c | 25 +++++++- drivers/net/nfp/nfp_common.h | 7 +++ drivers/net/nfp/nfp_ctrl.h | 18 +++++- drivers/net/nfp/nfp_ethdev.c | 7 +-- drivers/net/nfp/nfp_ethdev_vf.c | 7 +-- drivers/net/nfp/nfp_rxtx.c | 108 ++++++++++++++++++++------------ 6 files changed, 122 insertions(+), 50 deletions(-) -- 2.29.3