Message ID | 20201025054556.14277-1-honnappa.nagarahalli@arm.com |
---|---|
Headers | show |
Series | lib/ring: add zero copy APIs | expand |
On Sun, Oct 25, 2020 at 6:46 AM Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> wrote: > > It is pretty common for the DPDK applications to be deployed in > semi-pipeline model. In these models, a small number of cores > (typically 1) are designated as I/O cores. The I/O cores work > on receiving and transmitting packets from the NIC and several > packet processing cores. The IO core and the packet processing > cores exchange the packets over a ring. Typically, such applications > receive the mbufs in a temporary array and copy the mbufs on > to the ring. Depending on the requirements the packets > could be copied in batches of 32, 64 etc resulting in 256B, > 512B etc memory copy. > > The zero copy APIs help avoid intermediate copies by exposing > the space on the ring directly to the application. Reordered the patches to have the fixes and coding style changes first in the series. Fixed incorrect Fixes: line format. Squashed documentation with introduction of the API. Moved release note update (ring comes after EAL). Fixed example of API usage. Series applied, thanks Honnappa. -- David Marchand
<snip> > On Sun, Oct 25, 2020 at 6:46 AM Honnappa Nagarahalli > <honnappa.nagarahalli@arm.com> wrote: > > > > It is pretty common for the DPDK applications to be deployed in > > semi-pipeline model. In these models, a small number of cores > > (typically 1) are designated as I/O cores. The I/O cores work on > > receiving and transmitting packets from the NIC and several packet > > processing cores. The IO core and the packet processing cores exchange > > the packets over a ring. Typically, such applications receive the > > mbufs in a temporary array and copy the mbufs on to the ring. > > Depending on the requirements the packets could be copied in batches > > of 32, 64 etc resulting in 256B, 512B etc memory copy. > > > > The zero copy APIs help avoid intermediate copies by exposing the > > space on the ring directly to the application. > > Reordered the patches to have the fixes and coding style changes first in the > series. > Fixed incorrect Fixes: line format. > Squashed documentation with introduction of the API. > Moved release note update (ring comes after EAL). > Fixed example of API usage. > > Series applied, thanks Honnappa. Thanks David. Sorry, you had to fix things up. > > -- > David Marchand