[dpdk-dev] [EXT] Re: input port in mbuf

Liron Himi lironh at marvell.com
Wed May 6 21:48:26 CEST 2020


Fine. Is there another location or option to save this information?

Regards,
Liron

-----Original Message-----
From: Stephen Hemminger <stephen at networkplumber.org> 
Sent: Wednesday, 6 May 2020 22:43
To: Liron Himi <lironh at marvell.com>
Cc: dpdk-dev <dev at dpdk.org>
Subject: [EXT] Re: [dpdk-dev] input port in mbuf

External Email

----------------------------------------------------------------------
On Wed, 6 May 2020 19:21:30 +0000
Liron Himi <lironh at marvell.com> wrote:

> Hi,
> 
> We need to save the input port in the mbuf in order to return the buffer to the right hw pool.
> For now we use the 'port' in the mbuf as it is supposed to be for this exact purpose.
> But we noticed that some applications are override it with the destination port.
> 
> What should be the right behavior?
> is there another location that that this information can be stored and read only by the ethdev drivers?
> 
> Regards,
> Liron
> 

There is no requirement that input port is unmodified by the application.


More information about the dev mailing list