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 B943946311; Mon, 3 Mar 2025 20:25:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 61B8E40156; Mon, 3 Mar 2025 20:25:09 +0100 (CET) Received: from fhigh-a2-smtp.messagingengine.com (fhigh-a2-smtp.messagingengine.com [103.168.172.153]) by mails.dpdk.org (Postfix) with ESMTP id D4FC440041 for ; Mon, 3 Mar 2025 20:25:07 +0100 (CET) Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 4B51011401D9; Mon, 3 Mar 2025 14:25:07 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Mon, 03 Mar 2025 14:25:07 -0500 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=1741029907; x=1741116307; bh=uTOuP8o2tjO8JgVpTxcnx+zqejueL4UT2ZfRCxE9wsA=; b= VTXExr1Mr8FuQXxGiOdGUzjX49b1XaGQpIrrFBnlq1S+L63owixBKlLpl+eU+EI7 Rb7ZQZWinf89BewAG/ObdzDP9ChxEDyXniocElit2t89dr3fl8d6No3isvPWEMI6 2luXzBFsMLPPALT7MfSuMDS4ONRcsT1ZjGt/1ArMmLHsES2hW0quAiRTmxf7Ppey KZejwzCl81Mnf32MQzgO+BPyKhfaR8ihy4xz228VC3F4aU/2idjRCGqLcT1vgl5R ECBkj0HAOwfVPvqy5FMPJb2X1Wilp24eixzEFZMWhJ3HfkeHjWhdCgT5xVt/heSb Fo9ikark0zaUvtOJvi8dhw== 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-sender:x-me-sender:x-sasl-enc; s=fm1; t=1741029907; x= 1741116307; bh=uTOuP8o2tjO8JgVpTxcnx+zqejueL4UT2ZfRCxE9wsA=; b=m XLwSLqGXPSpq8EsglxXH3QHp7IuKKh6Ft1H+i0V5Vrf3AMrOYRaYghNeTuIDFTpj XLFkj9OTrwdTjkfZFSR5Iilnwr8Gh3hPWCInpZpQbwBjzVHDTLR2xBxLbQ2ej4BL h8MuIWxkpxxdIXrESlOMktu7NAFxOCNVG+qDiX/3aX4qaRrYuTdfece7mEGvc/tg gH4zNUFYduTFuew5fZ3SFSRZ9GURSSN3ivPubwxqcLQ5wzbJmlyqibYNG6NeOYu3 GkAtOh0VYBMasoYrMgV5QXtfZhqUvZAvHPiAPZbjTwk1dgedhpYytXbeGGmJwa7o JqGPR2Obc+OlzRstLXdvQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdelleelhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtqhertddttdej necuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjh grlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepgedttdeljeejgeffkeekkedtjeev tdehvedtkeeivdeuuedvieduvdelveejueejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvthdp nhgspghrtghpthhtohepiedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepkhhish hhohhrvgdrphgrughmrghnrggshhgrsegsrhhorggutghomhdrtghomhdprhgtphhtthho pegrjhhithdrkhhhrghprghruggvsegsrhhorggutghomhdrtghomhdprhgtphhtthhope hfvghrrhhuhhdrhihighhithesgihilhhinhigrdgtohhmpdhrtghpthhtohepqhhirdii rdiihhgrnhhgsehinhhtvghlrdgtohhmpdhrtghpthhtohepuggvvhesughpughkrdhorh hgpdhrtghpthhtohepshhtvghphhgvnhesnhgvthifohhrkhhplhhumhgsvghrrdhorhhg X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 3 Mar 2025 14:25:05 -0500 (EST) From: Thomas Monjalon To: Kishore Padmanabha Cc: Ajit Khaparde , Ferruh.yigit@xilinx.com, qi.z.zhang@intel.com, dev@dpdk.org, Stephen Hemminger Subject: Re: MPLS Push action Date: Mon, 03 Mar 2025 20:25:03 +0100 Message-ID: <15378777.dW097sEU6C@thomas> In-Reply-To: References: 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 Hi, This is the related code: /** * RTE_FLOW_ACTION_TYPE_OF_PUSH_MPLS * * Implements OFPAT_PUSH_MPLS ("push a new MPLS tag") as defined by the * OpenFlow Switch Specification. */ struct rte_flow_action_of_push_mpls { rte_be16_t ethertype; /**< EtherType. */ }; > On Mon, Mar 3, 2025 at 8:02=E2=80=AFAM Kishore Padmanabha > wrote: > > > > Hi, > > > > Anyone has any inputs on this. Or should I add new CLI commands in test= pmd to support action for push MPLS tag. This action was designed as an OpenFlow implementation. Is what you require an OpenFlow spec? If yes, we may consider an update, if no, we should create a new action. > > > > Thanks, > > > > Kishore > > > > From: Kishore Padmanabha > > Sent: Thursday, February 27, 2025 6:35 PM > > To: 'dev@dpdk.org' > > Subject: MPLS Push action > > > > Hi, > > > > When MPLS push action is used, using testpmd action of_push_mpls, it a= ccepts the ethertype only. How do I specify the MPLS label and other fields= for the MPLS header to be added ? In the doc, in section 7.2.3.7 there is = mention of OFXPMT_OFB_MPLS_LABEL and other MPLS fields, but I could not fin= d that in dpdk implementation. What is this documentation? Please provide a link.