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

Bruce Richardson bruce.richardson at intel.com
Wed Jun 25 00:32:14 CEST 2014


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(-)

-- 
1.9.3



More information about the dev mailing list