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 D04E741B98; Wed, 1 Feb 2023 14:44:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A8BC94021F; Wed, 1 Feb 2023 14:44:53 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id BCCFF4021D for ; Wed, 1 Feb 2023 14:44:52 +0100 (CET) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 5549C5C0174; Wed, 1 Feb 2023 08:44:52 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 01 Feb 2023 08:44:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1675259092; x= 1675345492; bh=U4kBxfkd4KQJI3n7NLa3lW70ABBJvpICTQPVvK6nWRQ=; b=E r6drlNizkRYPIOhDt9jtuq0Xc7S7udHap2zwzYD44rBWvU1Ronp9d9i0g1xfr58U na2o93zGPeIVlAQdIjRSp867N5zd2nIC3h9BoainQhSAGESh4q0fpRu3txjy2uP5 h7eOi6qTZWsF5ytUN5NoZ24TX/4EFjQ//5dWWLTrKFyV38pUkQZuU8yfxo8O857Y TIH84kBgZV9FsLAUydTK547v9FfI4qwLJplHTbmfqUvtjqxxuIqtPkRtBY9M2Jkm y3lXsciW1eo1gVyRWksB5wi24qCynkiVvGSNhdN/ZmuGgLBN9csLYq4K4voqZavB QyxzAY84glLTfcAW3ib+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1675259092; x= 1675345492; bh=U4kBxfkd4KQJI3n7NLa3lW70ABBJvpICTQPVvK6nWRQ=; b=X AlkvJVZUXxO2wXryJNqb4CGo58JPaN6+ma4v4Zlo65vmqkGmH83AK+FPA9p8TVVf gGLl9knhFqImROlQ8QgQqtlUEIsuEl2Aw3n3gkI8DbGzatv/x/0pWQYHeqcwKuMq c4geMV4wj9zxSHfMwxyFsMCPjkMjIdjYBVolcr1dRthsFSDPQxYBfZJI7iPlTvnQ gq0LKv2q8TqbrG9WfVnZUrnHveyIzFaxL34/Nona5aChnCXLv0qhN5vn5N5r6otm 4I7UtoeCHG0OcQKYm2kMsqw5FaEJc17O21gDy69sWJpy6rexti17KCjjkN3vQY1I ii/Bd4tpy9SbWwkak8LkA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudefiedgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 1 Feb 2023 08:44:50 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org, matan@nvidia.com, viacheslavo@nvidia.com, orika@nvidia.com, Rongwei Liu Cc: rasland@nvidia.com, Aman Singh , Yuying Zhang , Ferruh Yigit , Andrew Rybchenko , Olivier Matz Subject: Re: [PATCH v5 1/3] ethdev: add IPv6 routing extension header definition Date: Wed, 01 Feb 2023 14:44:49 +0100 Message-ID: <2111452.3Lj2Plt8kZ@thomas> In-Reply-To: <20230201113511.2362188-2-rongweil@nvidia.com> References: <0c02f3bb-f733-b534-86e5-0cd047d927ee@oktetlabs.ru> <20230201113511.2362188-1-rongweil@nvidia.com> <20230201113511.2362188-2-rongweil@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 01/02/2023 12:35, Rongwei Liu: > +/** > + * IPv6 Routing Extension Header > + */ > +struct rte_ipv6_routing_ext { > + uint8_t next_hdr; /**< Protocol, next header. */ > + uint8_t hdr_len; /**< Header length. */ > + uint8_t type; /**< Extension header type. */ > + uint8_t segments_left; /**< Valid segments number. */ > + __extension__ > + union { > + rte_be32_t flags; /**< Packet control data per type. */ > + struct { > + uint8_t last_entry; /**< The last_entry field of SRH */ > + uint8_t flag; /**< Packet flag. */ > + rte_be16_t tag; /**< Packet tag. */ > + }; > + }; > + /** Following variable number of segments. */ Don't use doxygen here as there is no field following. Wording suggestion: "Next are 128-bit IPv6 address fields to describe segments." > +} __rte_packed;