Skip to content

RFC ethdev: Proposal to expand API for single-pkt-tx

Bruce Richardson dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ethdev: add buffered single pkt TX function to APIconfig/common_bsdapp config/common_linuxapp lib/librte_ether/rte_ethdev.c +1 more+118 -24 replies
2/2l2fwd: update l2fwd to use tx_buffer APIexamples/l2fwd/main.c+7 -540 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH DRAFT 0/2] ethdev: Proposal to expand API for single-pkt-tx

This is an RFC patch to get feedback on this change proposal before I do any further investigation work into it, looking at all the example apps - as there are a lot of them. :-)
The idea is to remove all the code in the sample applications for buffering packets on TX by moving the buffering functionality into the ethdev API, so we can just do buffered TX of packets, one packet at a time.
For more details, see description in patch 1...

Bruce Richardson (2):
ethdev: add buffered single pkt TX function to API
l2fwd: update l2fwd to use tx_buffer API

 config/common_bsdapp          |  1 +
 config/common_linuxapp        |  1 +
 examples/l2fwd/main.c         | 61 +++++------------------------------------
 lib/librte_ether/rte_ethdev.c | 55 +++++++++++++++++++++++++++++++++++--
 lib/librte_ether/rte_ethdev.h | 63 +++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 125 insertions(+), 56 deletions(-)
Signature · 1 line
1.9.3