[dpdk-users] access rte flow MARK action field

Raslan Darawsheh rasland at mellanox.com
Thu Dec 13 09:08:35 CET 2018


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 at dpdk.org> On Behalf Of Uiu Uioreanu
> Sent: Wednesday, December 12, 2018 5:34 PM
> To: users at 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


More information about the users mailing list