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 A10E842527; Wed, 6 Sep 2023 17:10:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F84D4027C; Wed, 6 Sep 2023 17:10:21 +0200 (CEST) Received: from mail-il1-f169.google.com (mail-il1-f169.google.com [209.85.166.169]) by mails.dpdk.org (Postfix) with ESMTP id 2944940270 for ; Wed, 6 Sep 2023 17:10:20 +0200 (CEST) Received: by mail-il1-f169.google.com with SMTP id e9e14a558f8ab-34dee07e676so13305905ab.3 for ; Wed, 06 Sep 2023 08:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1694013019; x=1694617819; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=nciN730UqEyay8evMKVgHTottLA78/WlbQnThFWcqCE=; b=05aO1BBYkPidk+Qk6GUzYNUS+mt/NhfE/V5Bvnue/jNubJiS9dLMDCjp+ZwxjAk0Lm 8yftdfe7mh32gcgcsLFTHIt3zSgRrc0oYN9ymb/jbeT5Ri1fAbx1UF0wYpLL4NCf7s4B 4ZCtc6b398/J5DoA8mO4Cod51s9lYT2JkAbS5k1q8TaeRNTg8Pd5g9OOotL6vAgN46U9 9n//KjquZIgQu7xCpCZKuuMiCqw4PDoSuk2YOeWcJr2DpVU9naIctDqyRWaZqt2UubIq w1CKBk30E/MvEgEdbLRbtUlHm/Ok9fnuNKS8jKLPcaqD6zKYO8A/FSzvwUqTAtKh8YdA RvrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694013019; x=1694617819; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nciN730UqEyay8evMKVgHTottLA78/WlbQnThFWcqCE=; b=Vw4R1epqCfte1SaCsVuXFDehhmJNohxUEL7JpL6T0fixSNyHC304+ZUdL/XTJSPt8G v+df1xwAFVNymW+v47qeVsltYKEA+ipH4nUqJP/5ww+fneyHv9yyZhd7HfTay2gMExlx qfgb33zs+7GDHd/DwmfXVuo+JwGF7FqMaBHi/nOG01Wo3NW2pGCfHSEyAeohol4TituN fqb2VLcMzO9pVBzXPioZbkLRXpOvnLOjtyZBriSHOx3YsLLOdZWSmKonIOmBAn8cfpe9 hfhIUZttVHUSXek8oASUD5xq4GSCEW50uIeIUSszoSo+2ZMnX2D33dCEN/zJgBSzcQgZ U1Kg== X-Gm-Message-State: AOJu0YwcOCHxnpjhtcls6B8SPxVnKwhghwFTvSfS6ESLwA2M/nRV+71K LiWemLkgc+/Mpn5z3RWj8GPu/A== X-Google-Smtp-Source: AGHT+IHF/RGsmcHL/qdtrPBwsRfoEp5b52+owoEqE58vuHYLlym4TxdaRCSANpTjM/avwnyrA0efsQ== X-Received: by 2002:a05:6e02:1b82:b0:34c:bc10:2566 with SMTP id h2-20020a056e021b8200b0034cbc102566mr19115043ili.8.1694013019364; Wed, 06 Sep 2023 08:10:19 -0700 (PDT) Received: from hermes.local (204-195-112-131.wavecable.com. [204.195.112.131]) by smtp.gmail.com with ESMTPSA id g15-20020a63be4f000000b00565dd935938sm10200628pgo.85.2023.09.06.08.10.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Sep 2023 08:10:19 -0700 (PDT) Date: Wed, 6 Sep 2023 08:10:17 -0700 From: Stephen Hemminger To: Jie Hai Cc: , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , Subject: Re: [PATCH v2 1/5] ethdev: support setting and querying RSS algorithm Message-ID: <20230906081017.5d490c53@hermes.local> In-Reply-To: <20230826074607.16771-2-haijie1@huawei.com> References: <20230315110033.30143-1-liudongdong3@huawei.com> <20230826074607.16771-1-haijie1@huawei.com> <20230826074607.16771-2-haijie1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Sat, 26 Aug 2023 15:46:03 +0800 Jie Hai wrote: > Currently, rte_eth_rss_conf supports configuring and querying > rss hash functions, rss key and it's length, but not rss hash > algorithm. > > The structure ``rte_eth_rss_conf`` is extended by adding a new > field "func". This represents the RSS algorithms to apply. The > following API is affected: > - rte_eth_dev_configure > - rte_eth_dev_rss_hash_update > - rte_eth_dev_rss_hash_conf_get > > If the value of "func" used for configuration is a gibberish > value, report the error and return. Do the same for > rte_eth_dev_rss_hash_update and rte_eth_dev_configure. > > To check whether the drivers report the "func" field, it is set > to default value before querying. > > Signed-off-by: Jie Hai > Signed-off-by: Dongdong Liu This is unannounced API/ABI change.