From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 08033A0526; Wed, 8 Jul 2020 16:27:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 33C501DEF3; Wed, 8 Jul 2020 16:27:45 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 3E7C01DEF2 for ; Wed, 8 Jul 2020 16:27:43 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 87A525C00FB; Wed, 8 Jul 2020 10:27:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 08 Jul 2020 10:27:42 -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=fm1; bh= hSvC9CTv3DkjDKHkXttJnKPtOQPdg3SoOIANyrEilng=; b=nGa1LqDRRKS2wv+R 4uwVWHlOaSUcYgxl/1ObuLgTkFFxkeiCW/3zefMCMnZeGbv7LxDlHeW1a1b7TAZC ZoDH9lyokdjS6oRU0suXT22415+QSV/vqQrFCZcbiatSohdipMqxG6sqzsMCKYHR EhiW3dygm7ki/gpx0bP4SXmSY02OwrpwfafbB/lVU+Xz8g6XYYtYy772RLXiK5Sf +XEYRjgBiOvEzKiRLf1KDncJMT4sW+s8Yhk8BmLS4wNyAIbMh/pNzI92wY2t9Bxz SZmSohXNavyDMM43fj476l9B90TTn31DqINgPB50H82dcLmLJrTcl3+KRyYm8VYl 7J9bXg== 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=fm3; bh=hSvC9CTv3DkjDKHkXttJnKPtOQPdg3SoOIANyrEil ng=; b=lmtautP5xIWWiTx0kJwyEEf8/8acYdcxB+1Bmfk3VZf7bXTDFJqkt/zBp uucI9WDiHq7cjhoG+kLR7PTO/hXIOh7oZwNIGRBmO1p/Zdh8g/PkJr2VHuwTbzTP 0d4X/lMxO55St4f6E1AAtt2AF+zwAKFDRy/irqI3xMBNEIzUnUX3+U4/cczdsdAm vy+BN2hQTGiNRMJAz+7eBbHTv3yUsmj0Xk38Xm87uhOC7SFNa6O9vq5aYct/mlvX l5eY4SyW30298Rw7VdtjMOZgH2jO14F4rhKnvVJl7a9MBFqezfAmTMa+vnduycPp zfi/VOx43yl5RDOWJXZh4eNVsLfdw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudejgdejkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpeefleehieetteetgfdukeetiefhieetgfdvfefhtddvieefgffgheet feefudeufeenucffohhmrghinhepihgvthhfrdhorhhgnecukfhppeejjedrudefgedrvd dtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A2E26328005E; Wed, 8 Jul 2020 10:27:41 -0400 (EDT) From: Thomas Monjalon To: Qi Zhang Cc: dev@dpdk.org, ferruh.yigit@intel.com, Junfeng Guo , arybchenko@solarflare.com Date: Wed, 08 Jul 2020 16:27:40 +0200 Message-ID: <1602929.xpCJ37cAdX@thomas> In-Reply-To: <20200708133703.48945-1-qi.z.zhang@intel.com> References: <20200708133703.48945-1-qi.z.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5 1/3] ethdev: add new RSS types for IPv6 prefix X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" 08/07/2020 15:37, Qi Zhang: > --- a/lib/librte_ethdev/rte_ethdev.h > +++ b/lib/librte_ethdev/rte_ethdev.h > +/* > + * Only select IPV6 address prefix as RSS input set according to > + * https://tools.ietf.org/html/rfc6052 > + * Must be combined with ETH_RSS_IPV6, ETH_RSS_NONFRAG_IPV6_UDP, > + * ETH_RSS_NONFRAG_IPV6_TCP, ETH_RSS_NONFRAG_IPV6_SCTP. > + */ > +#define ETH_RSS_L3_PRE32 (1ULL << 57) > +#define ETH_RSS_L3_PRE40 (1ULL << 56) > +#define ETH_RSS_L3_PRE48 (1ULL << 55) > +#define ETH_RSS_L3_PRE56 (1ULL << 54) > +#define ETH_RSS_L3_PRE64 (1ULL << 53) > +#define ETH_RSS_L3_PRE96 (1ULL << 52) I still think names should start with RTE_ for new additions. Please Cc Andrew as well as he is a maintainer of ethdev.