[dpdk-dev] Adding API to force freeing consumed buffers in TX ring

2016-11-22 Thread Wiles, Keith
> On Nov 21, 2016, at 9:25 AM, Richardson, Bruce intel.com> wrote: > > On Mon, Nov 21, 2016 at 04:06:32PM +0100, Olivier Matz wrote: >> Hi, >> >> On 11/21/2016 03:33 PM, Wiles, Keith wrote: >>> On Nov 21, 2016, at 4:48 AM, Damjan Marion (damarion) >>> cisco.com> wrote:

[dpdk-dev] Adding API to force freeing consumed buffers in TX ring

2016-11-21 Thread Olivier Matz
Hi, On 11/21/2016 03:33 PM, Wiles, Keith wrote: > >> On Nov 21, 2016, at 4:48 AM, Damjan Marion (damarion) > cisco.com> wrote: >> >> >> Hi, >> >> Currently in VPP we do memcpy of whole packet when we need to do >> replication as we cannot know if specific buffer is transmitted >> from tx ring

[dpdk-dev] Adding API to force freeing consumed buffers in TX ring

2016-11-21 Thread Damjan Marion (damarion)
Hi, Currently in VPP we do memcpy of whole packet when we need to do replication as we cannot know if specific buffer is transmitted from tx ring before we update it again (i.e. l2 header rewrite). Unless there is already a way to address this issue in DPDK which I?m not aware of my proposal