Skip to content

ring: provide rte_ring_as_ethdev API

Bruce Richardson dpdk-dev 1 version NAK

Status from this message: NAK, I don't think this makes sense. If you want to encapsulate a ring pair as

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/3ethdev: Remove ethdev.h dependency on mbuf + mempoolapp/test-pmd/cmdline.c app/test/test_pmd_ring.c lib/librte_ether/rte_ethdev.h +1 more+6 -10 replies
2/3ring: add support for converting a ring to ethdevlib/librte_ring/Makefile lib/librte_ring/rte_ring.c lib/librte_ring/rte_ring.h+54 -00 replies
3/3ring: autotest for using ring as ethdevapp/test/test_ring.c+25 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ring: provide rte_ring_as_ethdev API

This patch set aims to provide a shorter simpler alternative the public API functions for using rings as ethdevs provided by the librte_pmd_ring library. This alternative just provides simple RX and TX burst functions and a conversion API, without any of the complexities present in the pmd_ring version. This replacement should allow the public APIs in the pmd_ring library to be deprecated in the future.

Bruce Richardson (3):
ethdev: Remove ethdev.h dependency on mbuf + mempool
ring: add support for converting a ring to ethdev
ring: autotest for using ring as ethdev

 app/test-pmd/cmdline.c                  |  1 +
 app/test/test_pmd_ring.c                |  1 +
 app/test/test_ring.c                    | 25 ++++++++++++++++++++
 lib/librte_ether/rte_ethdev.h           |  4 +++-
 lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c |  1 +
 lib/librte_ring/Makefile                |  1 +
 lib/librte_ring/rte_ring.c              | 42 +++++++++++++++++++++++++++++++++
 lib/librte_ring/rte_ring.h              | 11 +++++++++
 8 files changed, 85 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.0