* RE: MPLS Push action
@ 2025-03-03 16:02 Kishore Padmanabha
2025-03-03 17:04 ` Ajit Khaparde
0 siblings, 1 reply; 4+ messages in thread
From: Kishore Padmanabha @ 2025-03-03 16:02 UTC (permalink / raw)
To: Ajit Khaparde, Ferruh.yigit, qi.z.zhang; +Cc: dev
[-- Attachment #1.1: Type: text/plain, Size: 1539 bytes --]
Hi,
Anyone has any inputs on this. Or should I add new CLI commands in testpmd
to support action for push MPLS tag.
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
<https://opennetworking.org/wp-content/uploads/2014/10/openflow-switch-v1.5.1.pdf>,
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.
Thanks,
Kishore
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
[-- Attachment #1.2: Type: text/html, Size: 3533 bytes --]
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4227 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MPLS Push action
2025-03-03 16:02 MPLS Push action Kishore Padmanabha
@ 2025-03-03 17:04 ` Ajit Khaparde
2025-03-03 19:25 ` Thomas Monjalon
0 siblings, 1 reply; 4+ messages in thread
From: Ajit Khaparde @ 2025-03-03 17:04 UTC (permalink / raw)
To: Kishore Padmanabha, Thomas Monjalon; +Cc: Ferruh.yigit, qi.z.zhang, dev
[-- Attachment #1: Type: text/plain, Size: 866 bytes --]
+Thomas Monjalon
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.
>
>
>
> 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.
>
>
>
> Thanks,
>
> Kishore
>
>
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4218 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: MPLS Push action
2025-03-03 17:04 ` Ajit Khaparde
@ 2025-03-03 19:25 ` Thomas Monjalon
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2025-03-03 19:25 UTC (permalink / raw)
To: Kishore Padmanabha
Cc: Ajit Khaparde, Ferruh.yigit, qi.z.zhang, dev, Stephen Hemminger
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* MPLS Push action
@ 2025-02-27 23:35 Kishore Padmanabha
0 siblings, 0 replies; 4+ messages in thread
From: Kishore Padmanabha @ 2025-02-27 23:35 UTC (permalink / raw)
To: dev
[-- Attachment #1.1: Type: text/plain, Size: 1223 bytes --]
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
<https://opennetworking.org/wp-content/uploads/2014/10/openflow-switch-v1.5.1.pdf>,
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.
Thanks,
Kishore
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
[-- Attachment #1.2: Type: text/html, Size: 2489 bytes --]
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4227 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-03-03 19:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-03 16:02 MPLS Push action Kishore Padmanabha
2025-03-03 17:04 ` Ajit Khaparde
2025-03-03 19:25 ` Thomas Monjalon
-- strict thread matches above, loose matches on Subject: below --
2025-02-27 23:35 Kishore Padmanabha
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).