Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline packet

2019-10-25 Thread Jerin Jacob
On Wed, Oct 23, 2019 at 4:54 PM Shahaf Shuler wrote: > > Tuesday, October 22, 2019 6:17 PM, Jerin Jacob: > > > > Subject: Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline > > packet > > [...] > > > > > I think, pushing this logic to th

Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline packet

2019-10-23 Thread Shahaf Shuler
Tuesday, October 22, 2019 6:17 PM, Jerin Jacob: > > Subject: Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline > packet [...] > > > I think, pushing this logic to the application is bad idea. But if > > > you are writing some custom application a

Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline packet

2019-10-22 Thread Jerin Jacob
On Tue, Oct 22, 2019 at 11:56 AM Shahaf Shuler wrote: > > Thursday, October 17, 2019 8:19 PM, Jerin Jacob: > > Subject: Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline > > packet > > > > On Thu, Oct 17, 2019 at 4:30 PM Shahaf Shuler > > wrote: &g

Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline packet

2019-10-21 Thread Shahaf Shuler
Thursday, October 17, 2019 6:15 PM, Stephen Hemminger: > Subject: Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline > packet > > On Thu, 17 Oct 2019 07:27:34 + > Shahaf Shuler wrote: > > > Some PMDs inline the mbuf data buffer directly to device. This is

Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline packet

2019-10-21 Thread Shahaf Shuler
Thursday, October 17, 2019 8:19 PM, Jerin Jacob: > Subject: Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline > packet > > On Thu, Oct 17, 2019 at 4:30 PM Shahaf Shuler > wrote: > > > > Thursday, October 17, 2019 11:17 AM, Jerin Jacob: > > > Subj

Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline packet

2019-10-17 Thread Jerin Jacob
On Thu, Oct 17, 2019 at 4:30 PM Shahaf Shuler wrote: > > Thursday, October 17, 2019 11:17 AM, Jerin Jacob: > > Subject: Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline > > packet > > > > On Thu, Oct 17, 2019 at 12:57 PM Shahaf Shuler > > wrote: &

Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline packet

2019-10-17 Thread Stephen Hemminger
On Thu, 17 Oct 2019 07:27:34 + Shahaf Shuler wrote: > Some PMDs inline the mbuf data buffer directly to device. This is in > order to save the overhead of the PCI headers involved when the device > DMA read the buffer pointer. For some devices it is essential in order > to reach the pick BW.

Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline packet

2019-10-17 Thread Shahaf Shuler
Thursday, October 17, 2019 11:17 AM, Jerin Jacob: > Subject: Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline > packet > > On Thu, Oct 17, 2019 at 12:57 PM Shahaf Shuler > wrote: > > > > Some PMDs inline the mbuf data buffer directly to device. This

Re: [dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline packet

2019-10-17 Thread Jerin Jacob
On Thu, Oct 17, 2019 at 12:57 PM Shahaf Shuler wrote: > > Some PMDs inline the mbuf data buffer directly to device. This is in > order to save the overhead of the PCI headers involved when the device > DMA read the buffer pointer. For some devices it is essential in order > to reach the pick BW. >

[dpdk-dev] [RFC PATCH 20.02] mbuf: hint PMD not to inline packet

2019-10-17 Thread Shahaf Shuler
Some PMDs inline the mbuf data buffer directly to device. This is in order to save the overhead of the PCI headers involved when the device DMA read the buffer pointer. For some devices it is essential in order to reach the pick BW. However, there are cases where such inlining is in-efficient. For