DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
Cc: Ajit Khaparde <ajit.khaparde@broadcom.com>,
	Ferruh.yigit@xilinx.com, qi.z.zhang@intel.com, dev@dpdk.org,
	Stephen Hemminger <stephen@networkplumber.org>
Subject: Re: MPLS Push action
Date: Mon, 03 Mar 2025 20:25:03 +0100	[thread overview]
Message-ID: <15378777.dW097sEU6C@thomas> (raw)
In-Reply-To: <CACZ4nhuSCiD6gNzF2GFXVoAD__f0oOgu8fXCwRYy6UGMDy3atQ@mail.gmail.com>

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 AM Kishore Padmanabha
> <kishore.padmanabha@broadcom.com> wrote:
> >
> > Hi,
> >
> > Anyone has any inputs on this. Or should I add new CLI commands in testpmd 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 <kishore.padmanabha@broadcom.com>
> > Sent: Thursday, February 27, 2025 6:35 PM
> > To: 'dev@dpdk.org' <dev@dpdk.org>
> > Subject: MPLS Push action
> >
> > Hi,
> >
> > When MPLS push action is used, using testpmd action  of_push_mpls, it accepts 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 find that in dpdk implementation.

What is this documentation?
Please provide a link.







  reply	other threads:[~2025-03-03 19:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-03 16:02 Kishore Padmanabha
2025-03-03 17:04 ` Ajit Khaparde
2025-03-03 19:25   ` Thomas Monjalon [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-27 23:35 Kishore Padmanabha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15378777.dW097sEU6C@thomas \
    --to=thomas@monjalon.net \
    --cc=Ferruh.yigit@xilinx.com \
    --cc=ajit.khaparde@broadcom.com \
    --cc=dev@dpdk.org \
    --cc=kishore.padmanabha@broadcom.com \
    --cc=qi.z.zhang@intel.com \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).