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 8EC8842368; Wed, 11 Oct 2023 19:51:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C701400EF; Wed, 11 Oct 2023 19:51:20 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2048.outbound.protection.outlook.com [40.107.93.48]) by mails.dpdk.org (Postfix) with ESMTP id F1E45400D7 for ; Wed, 11 Oct 2023 19:51:18 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IrHco6cHu0J6rdSzd0ym+J8dPq6HvxdUlmn34+ulivcgCPwKFdOt6XN6k2Lv1NTguQXExe8K8I5mKFI+g5R1ODaXek7W5KZf8jag3TZrzSE9jRalYInTcSftQzswpohhsST3NOqX0/L7AffTr7b7pwlbUwGRggXddeK6R+WTYm/tXntE+R/OK6CFwl0m+VGQFisto/H+ODeW/w0UKT7grMJtEk5RbgcOlO1vsSvCSjClL/jUQ7hl4qnj9agsEY2wZdyCqk0UTkkp7/SNX7kOFj8ulS72prmnD52Y0vrKa5cZWt31YwcrXlEdQWPekl9WUkbHl52QyEiIEFE3N0aKwQ== 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=daeHD2vOpHPThkohg7aeTiwLk1BCKXdLxJOeRL/43WE=; b=WI7202hgPV83ts+wKV07nGpghCkOWbSoso6QD+5vjss5oQUyA1RvVunJ+S4a1U9ChFiA1pAuJOp6OsLHfHz4nTeYnxSmJ5v3Wc7gVanEcpVkDujJuIVvX3SsGvbZqJ7W3i68S1QsZr2tLwAvRMEu36e+2wG6Y1Dgm3Va5SfO1lCjolFNfafUhfMBKNfHw4xoUQPTpVChcgdAkNzODU7Ze9AlP5qt/lBFoFx1I83VkYghGytsx59uJ8Ztw8FPpVdehYJLTqVBUX0vx2jnLmM5NjtonwzCnlsSJekVyADrOLJARLFiKJWun2ApETb4kFAbcF7uBmaoufGez87sm14xhA== 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=daeHD2vOpHPThkohg7aeTiwLk1BCKXdLxJOeRL/43WE=; b=sWDQ7gZl9y24u3YLFURZNRTQ4vh715IQLviplnngubJUwWTGqTG1QfFjFRxGImByRu8UoZLxl12pzYkKd4jJs5EE55cMxGsRS6rrqG/y1hygJVXA4dCzJKI09398lx68oaUJW0Dpb5bKgvaHMVBMdPfMc3Oiu83vYQdD6+e1zFI= 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 DM6PR12MB4403.namprd12.prod.outlook.com (2603:10b6:5:2ab::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.44; Wed, 11 Oct 2023 17:51:17 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::102f:c69b:d3e5:7fe8]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::102f:c69b:d3e5:7fe8%4]) with mapi id 15.20.6863.032; Wed, 11 Oct 2023 17:51:16 +0000 Message-ID: Date: Wed, 11 Oct 2023 18:51:12 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 21/40] net/igc: check RSS hash algorithms Content-Language: en-US To: Jie Hai , dev@dpdk.org, Junfeng Guo , Simei Su Cc: lihuisong@huawei.com, fengchengwen@huawei.com, liudongdong3@huawei.com References: <20230908080030.3837515-1-haijie1@huawei.com> <20231011092805.693171-1-haijie1@huawei.com> <20231011092805.693171-22-haijie1@huawei.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJjb9D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c2uR5jx8wb4j68umG2X++0dSta5eHAVhmtXvrqPW6Ku 3FQ= In-Reply-To: <20231011092805.693171-22-haijie1@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PA7P264CA0033.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:34b::11) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DM6PR12MB4403:EE_ X-MS-Office365-Filtering-Correlation-Id: eda04e4a-4644-40db-947d-08dbca82aab2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: k2X6Qj9dqv38EtzOmc85nxnAVZXXdNtUD7v+CzOTgtTDw8/dh4HR8hunETZlXfxlP+V7ySEadq6MN3A1pqeRB6ROatTeA6AnchcjYmKG80lKMZFic1D/qS2LVVoCfi5AFoburRqOWsCyyRIjmhJxEzwPPt4s+i2LltZ57RSPrhsLUn8pbLaFxo3G7J1flArjF9JNAm+YFhRzBQ1t0JOfev7SwTHUjZIdPheNkLlZNkn3WkThADpAtu92mf2EeOknM/rouqFAP3xGtqPbKAzOpPfl6LHM6oQdh+ci697KXwWl2Nsx9AyDNcY/PKtTMBKBH/Dot7r+dCvru8+ssKAkEHw2yzMn3oJINpQ4jr/s6oc7/IvIFsYJ3/77Ka/q+WqtkNxj/ipIWlm3IqoW90erH6Yqeb/lq6dAbzGQjckrN/gqojX517b3iOY7T4NuNLedqVe1oofN65AS5qTkI/opC3pOL1LQE02TS8a9Ctpyfwp8N9iewPbC5ZqVzbmpaWDvLKsFFitM2bZSkRsXWR+9QNPzOeNXFZt5wx4p3UpeXTlIup14o8CGbMvvJPP+YYr7TSl7GtPkV9NuLNUFrvB9MeGCOKXTZeim5kd3P3r7tRvOj6ZfjtGsiElsVwGpGNTBi6io/XP9XKrcFAQpMJM9Bg== 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:(13230031)(39860400002)(136003)(366004)(346002)(396003)(376002)(230922051799003)(186009)(451199024)(1800799009)(64100799003)(26005)(31696002)(478600001)(6486002)(86362001)(36756003)(6512007)(6666004)(6506007)(53546011)(41300700001)(66946007)(38100700002)(5660300002)(66556008)(66476007)(110136005)(316002)(2906002)(8676002)(8936002)(4326008)(44832011)(2616005)(83380400001)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YnV1a1NXZk1rRE9GMjVuOFZ6VmNDQUN4dzl6Ty9TNzlKQjFpSXZkQmIwaGRH?= =?utf-8?B?TWIwRG1BNHNoSXZoUnBGaUNONysxdXJURXpsUGFLTFY4Njl4S0ZUamNCSi9T?= =?utf-8?B?M1lYM0hCcnpSa3V3N1gzUzRMOXFXWHZJc2grZldGaDY2Ly9SMlEzcVlMU2ZV?= =?utf-8?B?SFl4UEo2UXNnZDJBZGlvb0dGWFlFZExma0hoYU8rRkNPOENGdGsvRE11dDZp?= =?utf-8?B?eDFHNDJrQm12SE9rQ256QXNDRzcwcW50MEp2Z01oNEhaY3ZJb3dzSnhTNmp5?= =?utf-8?B?U3R2N05wMnNhdXFKdkFnTjdIWlZFamwxNFVXVXVjQzRPQ3pBUlpjYUwzakJY?= =?utf-8?B?UG1jdkxjZUZTQXFiemFTUGVRVUMrSVBaRlBidWF2N0JZTTFyM1FuSGFMcEgv?= =?utf-8?B?R3dIbWNzc3lYZFRtdi92a3REekpYblJUWXpsRGxMRXMwYVhuNGhUbEpLWUFK?= =?utf-8?B?SUFyQStVb2ZuVmcxS29oZi9Kekh6RnNNU3p2cFJ6QVAwcUhHeWIwU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RkMVU4U2lNcDFUVUxoTkwx?= =?utf-8?B?UEVUdkd1eUFVUkdaWXVsVVpiVHJoeVJyQi9QbDNFbXJmMzNwaXRJRUkrRWZh?= =?utf-8?B?T1FaTVlQQnNxTGpUbnM3ZktTNktIT3FxbTFzcUNmTXd0VVhKTUttRXFYc2ww?= =?utf-8?B?eTVnWVoxQkdIMHA4RTJ0TmNKN3NVOEx6bkVTNE9xTUpxK29GZ1VrUkUrL1Ra?= =?utf-8?B?ZDdVUlJFZEsxMG1IVkYxQWsreVNUQWMxY3M0WldneGxhVXVlL2k4MFBWNGdR?= =?utf-8?B?Z2FZT3RXV1VGWmtqRDJKTGZ3OG5OWDUrV0RzSzg3YTdXRFZ6cmdTNmlrZ085?= =?utf-8?B?MlgvR3AxR3ZFVHV3U1FCdlZWbGkyOTVWc2F2ZWtaVERzeHg0UTF1dUExWWRn?= =?utf-8?B?ZE5vVkMyV2owd0RQcVFmWmkrWFpWZUtya1VXLzVSRXBnbDF4UncvWE9iT1A3?= =?utf-8?B?SFI3dGl4Tlg0dGJadEhVbVlpandSL1Q3aFBZZ1Y4dU9WRzYrSVVoSEJ4Tk1I?= =?utf-8?B?QVpGU3p5RTZqaTc4dEtZNDc1RU5nbFAydXdPK3F2MS9KVVRKYXMvSGhhbHhW?= =?utf-8?B?UnNiWTA2NXdEbmxTSit6cnJLSFlqS0VpQm9wTSt2dlR6aHJuYUxwblVBZFNP?= =?utf-8?B?V2EwN1BXTDdST1BrRzJrdGFmZHVQMnZXR1hVZTNaeDV6dDRZWE03Q3YvL0tV?= =?utf-8?Q?PPo5QCgia6FLCBnvBDC3iBJOw?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: eda04e4a-4644-40db-947d-08dbca82aab2 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2023 17:51:16.4245 (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: whs9rd+6iWun0DBlk9JtTLActMM5HZDi9lC6+NAZX8z1RgLM4F+RZ4QA6bBEgyq8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4403 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 10/11/2023 10:27 AM, Jie Hai wrote: > A new field 'algorithm' has been added to rss_conf, check it > in case of ignoring unsupported values. > > Signed-off-by: Jie Hai > --- > drivers/net/igc/igc_ethdev.c | 4 ++++ > drivers/net/igc/igc_txrx.c | 5 +++++ > 2 files changed, 9 insertions(+) > > diff --git a/drivers/net/igc/igc_ethdev.c b/drivers/net/igc/igc_ethdev.c > index 58c4f8092772..11c0f5ff231b 100644 > --- a/drivers/net/igc/igc_ethdev.c > +++ b/drivers/net/igc/igc_ethdev.c > @@ -2442,6 +2442,10 @@ eth_igc_rss_hash_update(struct rte_eth_dev *dev, > struct rte_eth_rss_conf *rss_conf) > { > struct igc_hw *hw = IGC_DEV_PRIVATE_HW(dev); > + > + if (rss_conf->algorithm != RTE_ETH_HASH_FUNCTION_DEFAULT) > + return -EINVAL; > + > igc_hw_rss_hash_set(hw, rss_conf); > return 0; > } > diff --git a/drivers/net/igc/igc_txrx.c b/drivers/net/igc/igc_txrx.c > index 5c60e3e99709..5e62e00d2ad9 100644 > --- a/drivers/net/igc/igc_txrx.c > +++ b/drivers/net/igc/igc_txrx.c > @@ -818,6 +818,7 @@ igc_rss_configure(struct rte_eth_dev *dev) > rss_conf = dev->data->dev_conf.rx_adv_conf.rss_conf; > if (rss_conf.rss_key == NULL) > rss_conf.rss_key = default_rss_key; > + > unintended change > igc_hw_rss_hash_set(hw, &rss_conf); > } > > @@ -958,6 +959,10 @@ igc_dev_mq_rx_configure(struct rte_eth_dev *dev) > return -EINVAL; > } > > + if (dev->data->dev_conf.rx_adv_conf.rss_conf.algorithm != > + RTE_ETH_HASH_FUNCTION_DEFAULT) > + return -EINVAL; > + > switch (dev->data->dev_conf.rxmode.mq_mode) { > case RTE_ETH_MQ_RX_RSS: > igc_rss_configure(dev);