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 04F1B45962; Wed, 11 Sep 2024 15:20:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CEFC6402D1; Wed, 11 Sep 2024 15:20:15 +0200 (CEST) Received: from fhigh8-smtp.messagingengine.com (fhigh8-smtp.messagingengine.com [103.168.172.159]) by mails.dpdk.org (Postfix) with ESMTP id C7B954029E for ; Wed, 11 Sep 2024 15:20:14 +0200 (CEST) Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id 407EE114019C; Wed, 11 Sep 2024 09:20:14 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Wed, 11 Sep 2024 09:20:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1726060814; x=1726147214; bh=wc79fbP4jI72p1LGn3wSYmTFpA4t7HSaqx928eigE1Q=; b= SlDu0dFMbxK6NVmOKrxOK2le/2Dh92fZy10QRi/XRa2edrzcxdjFd9ozQ/0QVkOV yqmg+a7wwPgpZM7UgN6o/9Nrc7gY+C0/ywIehxKUmMAvPATyQ+mZlsQ+XIEwqGMB D1p34fl1yTa/kV6va5RBNmgMqOZXgt318DYtVjBF6oXEhCN48aqhTDhjzvkhplLb nDdEpXwiarIdiMlFnxuqpZwfqjU1Zysma9Mg+nqeCTXXicz134Ld3zUQsX3i/Mda iIuIwrGh8Cp1Xn4kj17dZvLaPBTevnwneTWIuz1tVl4ItNL+3kfyrXBFWbefRmTZ 3r5LooL0P+254D+ma4Carg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1726060814; x= 1726147214; bh=wc79fbP4jI72p1LGn3wSYmTFpA4t7HSaqx928eigE1Q=; b=B 9xfjWP811EVixhvGIJg/sR7MaUuIcTesPXp2FuQbnDeicm41WiVv8BJsMNulJcYk /D4kdKuEEZwW9ZNvOWeiBG7xBJ15aCnGPiPEfMmIw80LwpsBD9j+Z2AZLW/O2q8Z Ro2Bar8SgzMt2YL7NkbUn24iKeMIkSSZOENzk3BDJnHMXm7Y3cYdLLlvjkEwg7vP uSdw86oEtU+DXuTKAZ3arOUkmuTQZIIuiDmyD8kIkiWRxB0q50u2CSYQRh8JoHbT kge11ooG3AyFqFfIR4DJ3AjEYIuoaVlQhygNju6ILVCfc2RGzUmJKHjC/44kb/dz mnBsQD/GkIqEZXhy+iiFA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudejuddgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkjghfggfgtgesthhqredttddtjeen ucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrg hlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpeefgfegfeegueetvdelteeuleetjeei keegkeeiveetheeijefftddttdetkeetheenucffohhmrghinheprhigmhhouggvrdhmqh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtpdhnsggprhgtphhtthhopeeipdhmohguvgepsh hmthhpohhuthdprhgtphhtthhopegrnhgurhgvfidrrhihsggthhgvnhhkohesohhkthgv thhlrggsshdrrhhupdhrtghpthhtohepfhgvrhhruhhhrdihihhgihhtsegrmhgurdgtoh hmpdhrtghpthhtohepmhgssehsmhgrrhhtshhhrghrvghshihsthgvmhhsrdgtohhmpdhr tghpthhtohepuggvvhesughpughkrdhorhhgpdhrtghpthhtohepmhgrgihimhgvrdgtoh hquhgvlhhinhesrhgvughhrghtrdgtohhmpdhrtghpthhtoheptghhvghnsghogiesnhhv ihguihgrrdgtohhm X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 11 Sep 2024 09:20:12 -0400 (EDT) From: Thomas Monjalon To: Andrew Rybchenko , Ferruh Yigit , Morten =?UTF-8?B?QnLDuHJ1cA==?= Cc: dev@dpdk.org, maxime.coquelin@redhat.com, Chenbo Xia Subject: Re: virtio: RSS support capa Date: Wed, 11 Sep 2024 15:20:10 +0200 Message-ID: <3312524.aeNJFYEL58@thomas> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F6CE@smartserver.smartshare.dk> References: <98CBD80474FA8B44BF855DF32C47DC35E9F6BB@smartserver.smartshare.dk> <6a32ac92-1513-4c62-b201-3f99dacf5aab@oktetlabs.ru> <98CBD80474FA8B44BF855DF32C47DC35E9F6CE@smartserver.smartshare.dk> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 11/09/2024 14:17, Morten Br=C3=B8rup: > From: Andrew Rybchenko [mailto:andrew.rybchenko@oktetlabs.ru] > > On 9/7/24 23:55, Morten Br=C3=B8rup wrote: > > >> From: Morten Br=C3=B8rup [mailto:mb@smartsharesystems.com] > > >> dev_info->rx_offload_capa |=3D RTE_ETH_RX_OFFLOAD_RSS_HASH; > > > > > > Or perhaps I'm misunderstanding this capability flag. > > > > > > I thought it indicated RSS ability, i.e. multi-queue, effectively sha= dowing > > rte_eth_conf.rxmode.mq_mode RTE_ETH_MQ_RX_RSS_FLAG. > > > But maybe it doesn't. Maybe it indicates the ability to store the RSS= hash > > value in the mbuf. > > > > > > The RTE_ETH_RX_OFFLOAD_RSS_HASH flag is completely undocumented. > > > > > > Can someone please clarify? > > > > > RTE_ETH_RX_OFFLOAD_RSS_HASH means that the driver can provide RSS hash > > value in mbuf (it makes sense if HW can provide it to the driver). >=20 > OK, thanks. >=20 > Then what indicates this ethdev capability: Use RSS to distribute packets= into multiple RX queues? > I.e. what to check before setting rte_eth_conf.rxmode.mq_mode=3DRTE_ETH_M= Q_RX_RSS_FLAG? It is supposed to be implemented by all DPDK drivers I think. Is there any case where RSS is not supported?