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 A04CDA0C53; Wed, 3 Nov 2021 09:04:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2C8E741140; Wed, 3 Nov 2021 09:04:49 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 52AA441134 for ; Wed, 3 Nov 2021 09:04:48 +0100 (CET) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 074DD5C0183; Wed, 3 Nov 2021 04:04:47 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 03 Nov 2021 04:04:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= qzhj5XFM5XHm1/Fx4mP4nOAPA25F53lGoTqt0kbZPDY=; b=lcyiFNqW/1PnxreM EbkZ0/JSUoiYS0E3ncRfF1xri5LqnmQzGUPvMQUbvls8kMjFeLearjhMCogrKy1Q gVeaIPZsl7vtVwK+q1ESpf0WA8tefoW2DM4geZFSrxPKSPp+77Xadvlaugq6lJed 2a5zE1J2KrLiDCOCS2bm4WEjLsDQ7X1FMgELQ0rjtpaoVzO4PEE5Ac4IKJVv3f8o lKJQ0yCQQzoiwvnxo0xTSnGjG4qVhywU79+ewnJQhC7pRFC2jTU6RSyY392JVYg+ N7Pth1pnYu5oj4wMnxNDiqRNv/KjfVbkZWPPIygGV4vsczswJ+QMyuAG1vXqTQWy 80AJfg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=qzhj5XFM5XHm1/Fx4mP4nOAPA25F53lGoTqt0kbZP DY=; b=d5OM+rtmqlgcxk9Fz0SiuAC2jTp2MFOxlQje5KwxYpLbO3f4CpYqao57p SiZd5ZyzGB7pRSJOF4rEBptjKrs0Crq/bZoW1IcdPaO0sd8p5s//7WQ+PXXptTav x6fnFzQC+VXvVvwLIgeRp9LHxtPXVtXqHh2S38bPCJ5SOyxmZhnLZ3gQ9dQIfAMo U+owYDTR98aqXjAyWyVLaMpD34cZ3zptoV2ZmnoKCwZtf2qluLQzHGNkCXgfrG0p jwj4ZaslIUWRS90dLKqiHW0OqsuRtO+7TQMR6LK+aQ+1aE1M5NeFGgeGLqhGVn7o vayBPmKmlCtJn5iv4DNwoDg8uSnGQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrtddugdduudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 3 Nov 2021 04:04:45 -0400 (EDT) From: Thomas Monjalon To: "lihuisong (C)" Cc: "dev@dpdk.org" , Ferruh Yigit , andrew.rybchenko@oktetlabs.ru, qi.z.zhang@intel.com, ajit.khaparde@broadcom.com, jerinj@marvell.com, viacheslavo@nvidia.com Date: Wed, 03 Nov 2021 09:04:44 +0100 Message-ID: <5547595.6aP3pihIX3@thomas> In-Reply-To: <02f1634c-bd47-24f7-858b-80b3e006ea73@huawei.com> References: <02f1634c-bd47-24f7-858b-80b3e006ea73@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] Question about RSS offload types 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 Sender: "dev" 03/11/2021 02:35, lihuisong (C): > Below macros are defined for RSS offload types in rte_ethdev.h. > > #define *ETH_RSS_IPV4 * (1ULL << 2) > #define ETH_RSS_FRAG_IPV4 (1ULL << 3) > #define ETH_RSS_NONFRAG_IPV4_TCP (1ULL << 4) > #define ETH_RSS_NONFRAG_IPV4_UDP (1ULL << 5) > #define ETH_RSS_NONFRAG_IPV4_SCTP (1ULL << 6) > #define *ETH_RSS_NONFRAG_IPV4_OTHER* (1ULL << 7) > > What types of packets do ETH_RSS_IPV4 and ETH_RSS_NONFRAG_IPV4_OTHER refer > to respectively, and what are the differences between them? I understand why you have this question, but we should not have this kind of basic question if the API was properly documented. Please let's check all PMDs have the same expectation regarding these values and let's document it with Doxygen comments. PMD maintainers, how do you understand and implement these values?