DPDK usage discussions
 help / color / mirror / Atom feed
From: Raslan Darawsheh <rasland@mellanox.com>
To: Uiu Uioreanu <uiuoreanu@gmail.com>, "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] access rte flow MARK action field
Date: Thu, 13 Dec 2018 08:08:35 +0000	[thread overview]
Message-ID: <AM6PR05MB5926B74335E35EB9BAE62EDBC2A00@AM6PR05MB5926.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <CAFAKT1xteveQNWMk8M8hkT=DnB-G4ZEFA00TYYu35+StYu8OJQ@mail.gmail.com>

Hi,

The mbuf will have this ol_flag PKT_RX_FDIR_ID and mark id can be restored from this field mb->hash.fdir.hi 

Kindest regards,
Raslan Darawsheh

> -----Original Message-----
> From: users <users-bounces@dpdk.org> On Behalf Of Uiu Uioreanu
> Sent: Wednesday, December 12, 2018 5:34 PM
> To: users@dpdk.org
> Subject: [dpdk-users] access rte flow MARK action field
> 
> Hi,
> 
> Let's say that you create a rte flow rule in order to match some traffic and use
> the MARK action to mark certain packets with an integer.
> Is it possible to access that mark value/integer later on, in your pipeline, by
> retrieving it from the rte_mbuf structure? I did not find any "mark" field in
> any of the rte structures.
> 
> Also, I am not interested in making another rule to match the marked packet
> later on.
> 
> Thanks,
> Uiu

      reply	other threads:[~2018-12-13  8:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-12 15:34 Uiu Uioreanu
2018-12-13  8:08 ` Raslan Darawsheh [this message]

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=AM6PR05MB5926B74335E35EB9BAE62EDBC2A00@AM6PR05MB5926.eurprd05.prod.outlook.com \
    --to=rasland@mellanox.com \
    --cc=uiuoreanu@gmail.com \
    --cc=users@dpdk.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).