[dpdk-dev] [PATCH 0/4] eth_ring: perf test and usability improvements
> > This patchset makes it easier to create ring pmd instances from code, by > > providing a simple ring->ethdev wrapper function and also ensuring that > > any created rings are ready for use immediately, without having to call > > configure and rx/tx queue setup. > > > > This set also contains a set of unit tests to compare the performance of > > basic ring operations against the same operations via the ring ethdev. > > This shows how the perf penalty can be significant for small bursts, but > > is much less so for larger bursts of 32 packets. > > > > Bruce Richardson (4): > > ring: enhance rte_eth_from_rings > > rte_ring: store memzone pointer inside ring > > ring: add rte_eth_from_ring function > > test: Add perf test for ring pmd > > Series-acked-by: Pablo de Lara Applied, thanks
[dpdk-dev] [PATCH 0/4] eth_ring: perf test and usability improvements
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Wednesday, September 30, 2015 1:12 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 0/4] eth_ring: perf test and usability > improvements > > This patchset makes it easier to create ring pmd instances from code, by > providing a simple ring->ethdev wrapper function and also ensuring that > any created rings are ready for use immediately, without having to call > configure and rx/tx queue setup. > > This set also contains a set of unit tests to compare the performance of > basic ring operations against the same operations via the ring ethdev. > This shows how the perf penalty can be significant for small bursts, but > is much less so for larger bursts of 32 packets. > > Bruce Richardson (4): > ring: enhance rte_eth_from_rings > rte_ring: store memzone pointer inside ring > ring: add rte_eth_from_ring function > test: Add perf test for ring pmd > > app/test/Makefile | 1 + > app/test/test_pmd_ring_perf.c | 188 > ++ > drivers/net/ring/rte_eth_ring.c | 55 - > drivers/net/ring/rte_eth_ring.h | 14 +++ > drivers/net/ring/rte_eth_ring_version.map | 5 + > lib/librte_ring/rte_ring.c| 1 + > lib/librte_ring/rte_ring.h| 4 + > 7 files changed, 262 insertions(+), 6 deletions(-) > create mode 100644 app/test/test_pmd_ring_perf.c > > -- > 2.4.3 Series-acked-by: Pablo de Lara
[dpdk-dev] [PATCH 0/4] eth_ring: perf test and usability improvements
This patchset makes it easier to create ring pmd instances from code, by providing a simple ring->ethdev wrapper function and also ensuring that any created rings are ready for use immediately, without having to call configure and rx/tx queue setup. This set also contains a set of unit tests to compare the performance of basic ring operations against the same operations via the ring ethdev. This shows how the perf penalty can be significant for small bursts, but is much less so for larger bursts of 32 packets. Bruce Richardson (4): ring: enhance rte_eth_from_rings rte_ring: store memzone pointer inside ring ring: add rte_eth_from_ring function test: Add perf test for ring pmd app/test/Makefile | 1 + app/test/test_pmd_ring_perf.c | 188 ++ drivers/net/ring/rte_eth_ring.c | 55 - drivers/net/ring/rte_eth_ring.h | 14 +++ drivers/net/ring/rte_eth_ring_version.map | 5 + lib/librte_ring/rte_ring.c| 1 + lib/librte_ring/rte_ring.h| 4 + 7 files changed, 262 insertions(+), 6 deletions(-) create mode 100644 app/test/test_pmd_ring_perf.c -- 2.4.3