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 75DD342368; Wed, 11 Oct 2023 19:32:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 22C7C400EF; Wed, 11 Oct 2023 19:32:53 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id 8E222400D7 for ; Wed, 11 Oct 2023 19:32:51 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ltPjgzYpl9fKGzKhA5IfFKkltjSj6TiL3Yu2nVRtGgbQVaH+2aFGLL3G8UKgKVNgR98qsbQN+QQ/HxCfKDJ94Xhc/Rb8nhDKxu7NcgkE3bK7boiBdq0YSRJLwITjR9bPeT3SU+X5gW/LxqcLBVXptv6xh7mZl+th3obwSwCPiPqDjMm5JjJ4mxiRwxfncCLszH6TpayOywiDi/1+EbiMcLjruKqonymax+qYouOkRIpw8RGRYgc2BuvQn0+DcjnLP/FO5FfonyMeYmHOjsjbBt6OSqSQeBmchRcHWmnBdHwH0bhJc79VwudR8TdFTXBFClIeop81NbXAc4JWa9TuHQ== 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=UZ+eLSK1fgjhag1Mfi1Hli6UYXProsAeyHRGjM7xBvQ=; b=FRuMd9ERQn2GbUoLGTTG3iQAV3Om98YhDJacwoZm5o89qXliChvkx1qvyCSkJKqT2ySDR2CWN8f1IO5WciER3nb6/voyRheFaaqoQqJltg4WWJjSCHdvNV9Ml43Ns4cVGs/M5fCZ5RF0IgBujxPCm/42ImWQOMYMBzBR0bgyjrtJw2eLWBJXbcRYgROw2vIZ3ll2nchjVCXVgLlOuhEE10MhEiBRkx11bYMR2IY5QkF26PO0KPQlw6+XXzD3D73T8ezH5RifVOdsX2mHfZYS/MaXxizbPy4wWTD7d7yAfZiFoPdGJ3knfDaE8VSNAkhXvODEwLGDnMxyv2eIl6Kabw== 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=UZ+eLSK1fgjhag1Mfi1Hli6UYXProsAeyHRGjM7xBvQ=; b=Eoyr+uoEdWfxRngqUHTTDOCEJ3rYP5sbht5Zs69tJQckndwsdnhZEhyK0HUWqNvz6AiAxcND5EdWrKBD+OS2ZPJ/pVWqp5c7N3HufzvcGy9aJ8VNNcIBq3mw3ouj1SzcicqCmDxju/p0AOKcvVXBcn6KmrcijyOG1pFbIfjhy0E= 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 MW4PR12MB7165.namprd12.prod.outlook.com (2603:10b6:303:21b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.38; Wed, 11 Oct 2023 17:32:49 +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:32:49 +0000 Message-ID: <52d9cedf-3bd7-4ed9-9b86-d289c9005eb9@amd.com> Date: Wed, 11 Oct 2023 18:32:44 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 14/40] net/enic: check RSS hash algorithms Content-Language: en-US To: Jie Hai , dev@dpdk.org, John Daley , Hyong Youb Kim 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-15-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 aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULC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IJY9wTJo5gD9EgGIbItv3qWTq29dihLYpzd6dqB708k7 4RBz9051oLaFVGkguFw/tXmA17nx+c2uR5jx8wb4j68umG2X++0dSta5eHAVhmtXvrqPW6Ku 3FQ= In-Reply-To: <20231011092805.693171-15-haijie1@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0087.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2bd::18) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|MW4PR12MB7165:EE_ X-MS-Office365-Filtering-Correlation-Id: 2c168bf2-6169-4159-6fce-08dbca8016d6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mw3PMIsBc2WcRqCzEDaumfoqIb5ThNNDOXR/u64KvKjIa1hCAZfUwx8LjqQOI8Ee0mGATz4WkdWNZSNxxouzl76PIeJaHQbNtuh/hypjJhq/VMkMYW/qDB2u17aWQ68mF/kuoHqdpq8qHVI7L9XfBJHIM1iYMzV/ZSEqzLoQBtE9W0YduudWnhywuhng6jWBtk8tlmyZwanSHnppJkp1SwQYlOHtU0FvY2DkvZopbIoadtPfafkRIm307G672AX6DTBL72InwMwyZU2gKK5n1Ea9FAQoHIAaeQnX5ezT+rnn8gbwn4l4dw05jdWZ8Gdn6pzOpupSldKMkYhLKquuDAyi413UwGIDosCwVjCvRisPJMQ8hZBa+hGsxg333f+c2d/zHtfvYdRrGT3JWbn2GkMeWFWQwd1c4sZYsvA/FvOn+/nv2j8c1AITV6W/rSZx/w5b9CNlHq8i5UziFvavAodq5nOzbz1McXt6/fTlsI7SMwKOZZ+j4RNRJwiJpMXMTCxdlz/RQj5O/h/org0ThLeXONU2662n6FTPeSa+x3ELTXl/bfo8N/xzaS8fW/BESl1xVJ5UqilxJGBzISxOTbnyWsHp/++U38iZJaouQ4dtYqRak79AB/RQIjzHaj8qxCCc7M0zGLouZvnhagh/9A== 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)(376002)(346002)(136003)(396003)(366004)(39860400002)(230922051799003)(1800799009)(186009)(451199024)(64100799003)(31696002)(6506007)(6666004)(478600001)(36756003)(26005)(83380400001)(2906002)(6512007)(2616005)(53546011)(86362001)(38100700002)(6486002)(44832011)(8676002)(5660300002)(41300700001)(66946007)(110136005)(66556008)(66476007)(316002)(31686004)(8936002)(4326008)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eksvRGZGWkYwYzBXUzROUFdYTEJ1djZrM2xtdFN2YllNNTgxZmxzSjdMMWho?= =?utf-8?B?RGo5ZDR4eUNFSmpWc281TUtUMHlBTWJTVDcyU3hsQ01wU3RzdFJkaGUwTG5T?= =?utf-8?B?anJHQ3d3YWRhTGZjaEY4dGJyTFdDMzlnZy9OWkI5eEFzYURJM1doaXZsTWRt?= =?utf-8?B?UFJ0elZLWU1HQlZNL01Ga3k2QlRTMEk2Zm9qUkZNamZveFdIU3ZhWTZEZ2V4?= =?utf-8?B?VExrcmcxWFYyYTVON1NZNzFScldpN3lmL0Z5Q2VtaVVheDJmS201STVSQkxu?= =?utf-8?B?dGZWUUN5MjVkZm9CTGtOSUVTLzFST2pwbWJCM3FSSkY4ZVlpSXM4OVlab25D?= =?utf-8?B?bVduaENIcHFVTURGQkZ5aTZlMFp2NS9Qc0YvRm5BeDc3UC9HTGJHbDhtalFw?= =?utf-8?B?dnEybzV1aW84YWYyaFdSYmVhd0pOOE1qRUtmK0o0YXE4b0JRbk1kRjlCYXZh?= =?utf-8?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MHQwcXltNTV2RUZs?= =?utf-8?B?Z3U2N1NlS2RSWFFkMzhrY1lPaGdmeWFqMTQyQ0xYOFBCT01DZXI2SXBkRE5n?= =?utf-8?B?RDdWMndVRUJkVUJ2UFQ2SkUxZkVNQXlzckp3TlA2aUcrYms1OFBmWmFRTjdC?= =?utf-8?B?ZkNCR2NkQ3BnTTBrbnNWT2xyb2tqaXdabU9JekxUZE84cmRkc1Z3ZlEzdWly?= =?utf-8?B?V3VyalUzZnkwUTNPdjZ2dk05YjFpdHhVNmhNSjlRTVVabzAzOXhwbjdSVjZv?= =?utf-8?B?eHd1MXEwemlsRWhwMnBDODd2TlROK1I2S01teGxuSnR4dUxKeG8wL0ZNbSth?= =?utf-8?B?R2dVTFdjdng2c0pRaHV0cExrdTZwUmY3eEhBZTdVdkRYcWhLU2lYQXg0bUVs?= =?utf-8?B?NFZ0MDZoZldjK3BKUk1MQkNJTmREMndIQTNxeHVXVXJIbHVIUkN3QTZnUWhF?= =?utf-8?B?STFrRjJ3OThTM3VjWFVLa3RWSVJMYkl0WXYxdHVEeFVqbjdwNE92OWZPTldu?= =?utf-8?B?dUp3RDhNVyt5ZjVkVzBSMWxPckczL0RtM2NmMjA2VjBBZGIyUFNuc0ZMdWdq?= =?utf-8?B?M0dzREdyWjAxRmRXT1hzeS9JMldDbHZiUXBVSUtlVlhQcERnbUp2QzVmZ1VW?= =?utf-8?B?b2d2YitrUlBkdmxBZ05mUTQ2Z3dOYXV6Smp4MUdwbnpjU2hFZ1kwNlFwc0cr?= =?utf-8?B?VlNEQXRtd1J6dm5TMGlLaFg3TVYxYURJWURweHlmTUcrTkhnTVdZQmRHWWJh?= =?utf-8?Q?EvRTiQ0axUhZr4WOREGtyON2q?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2c168bf2-6169-4159-6fce-08dbca8016d6 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:32:49.2991 (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: xgeCdgFT/8SyGnFwhGQhceTbcvVy9q5gnm6J5XLtNiTperGNLcfR/yVylCrAlXeI X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB7165 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/enic/enic_ethdev.c | 1 + > drivers/net/enic/enic_main.c | 3 +++ > 2 files changed, 4 insertions(+) > > diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c > index cdf091559196..164f423a85c8 100644 > --- a/drivers/net/enic/enic_ethdev.c > +++ b/drivers/net/enic/enic_ethdev.c > @@ -834,6 +834,7 @@ static int enicpmd_dev_rss_hash_conf_get(struct rte_eth_dev *dev, > ENICPMD_FUNC_TRACE(); > if (rss_conf == NULL) > return -EINVAL; > + > unintended change. also 'enicpmd_dev_configure()' looks like can be updated. > if (rss_conf->rss_key != NULL && > rss_conf->rss_key_len < ENIC_RSS_HASH_KEY_SIZE) { > dev_err(enic, "rss_hash_conf_get: wrong rss_key_len. given=%u" > diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c > index 19a99a82c501..2eafe7637b3a 100644 > --- a/drivers/net/enic/enic_main.c > +++ b/drivers/net/enic/enic_main.c > @@ -1428,6 +1428,9 @@ int enic_set_rss_conf(struct enic *enic, struct rte_eth_rss_conf *rss_conf) > } > } > > + if (rss_enable && rss_conf->algorithm != RTE_ETH_HASH_FUNCTION_DEFAULT) > + return -EINVAL; > + > ret = enic_set_niccfg(enic, ENIC_RSS_DEFAULT_CPU, rss_hash_type, > ENIC_RSS_HASH_BITS, ENIC_RSS_BASE_CPU, > rss_enable);