From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 2E7225961 for ; Wed, 25 Jun 2014 00:32:20 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 24 Jun 2014 15:32:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,540,1400050800"; d="scan'208";a="533594907" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 24 Jun 2014 15:32:22 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id s5OMWLXS007063; Tue, 24 Jun 2014 23:32:21 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s5OMWLpC023871; Tue, 24 Jun 2014 23:32:21 +0100 Received: (from bricha3@localhost) by sivswdev02.ir.intel.com with id s5OMWLHa023867; Tue, 24 Jun 2014 23:32:21 +0100 From: Bruce Richardson To: dev@dpdk.org Date: Tue, 24 Jun 2014 23:32:14 +0100 Message-Id: <1403649136-23551-1-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [RFC PATCH DRAFT 0/2] ethdev: Proposal to expand API for single-pkt-tx X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2014 22:32:21 -0000 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