Re: [PATCH] net/ring: Set mbuf->port for received packets

2024-07-05 Thread Ferruh Yigit
On 6/19/2024 7:48 AM, Morten Brørup wrote: >> From: Sriram Yagnaraman [mailto:sriram.yagnara...@ericsson.com] >> >> Hi Morten, >> >>> From: Morten Brørup >>> From: Sriram Yagnaraman [mailto:sriram.yagnara...@ericsson.com] When using ring based ethdev, mbuf->port is not set on receiv

Re: [PATCH] net/ring: Set mbuf->port for received packets

2024-07-05 Thread Ferruh Yigit
On 6/18/2024 8:14 PM, Sriram Yagnaraman wrote: > Hi Morten, > >> -Original Message- >> From: Morten Brørup >> Sent: Tuesday, 18 June 2024 18:01 >> To: Sriram Yagnaraman >> Cc: dev@dpdk.org; Bruce Richardson >> Subject: RE: [PATCH] net/ring: Set

RE: [PATCH] net/ring: Set mbuf->port for received packets

2024-06-18 Thread Morten Brørup
> From: Sriram Yagnaraman [mailto:sriram.yagnara...@ericsson.com] > > Hi Morten, > > > From: Morten Brørup > > > > > From: Sriram Yagnaraman [mailto:sriram.yagnara...@ericsson.com] > > > > > > When using ring based ethdev, mbuf->port is not set on received packets. > > > > > > For applications t

RE: [PATCH] net/ring: Set mbuf->port for received packets

2024-06-18 Thread Sriram Yagnaraman
Hi Morten, > -Original Message- > From: Morten Brørup > Sent: Tuesday, 18 June 2024 18:01 > To: Sriram Yagnaraman > Cc: dev@dpdk.org; Bruce Richardson > Subject: RE: [PATCH] net/ring: Set mbuf->port for received packets > > [Du får inte e-post ofta från m...

RE: [PATCH] net/ring: Set mbuf->port for received packets

2024-06-18 Thread Morten Brørup
> From: Sriram Yagnaraman [mailto:sriram.yagnara...@ericsson.com] > > When using ring based ethdev, mbuf->port is not set on received packets. > > For applications that use the mbuf->port to identify the incoming port, > especially when eventdev RX adapter pulls the packet on a different core > a

[PATCH] net/ring: Set mbuf->port for received packets

2024-06-18 Thread Sriram Yagnaraman
When using ring based ethdev, mbuf->port is not set on received packets. For applications that use the mbuf->port to identify the incoming port, especially when eventdev RX adapter pulls the packet on a different core and the application running on a worker core has no clue on the incoming port. T