From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 22620B0FB for ; Fri, 16 May 2014 20:15:10 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 16 May 2014 11:10:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,1068,1389772800"; d="scan'208";a="541729652" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 16 May 2014 11:15:17 -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 s4GIFG29005878; Fri, 16 May 2014 19:15:16 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id s4GIFGsl028566; Fri, 16 May 2014 19:15:16 +0100 Received: (from bricha3@localhost) by sivswdev02.ir.intel.com with id s4GIFGXk028562; Fri, 16 May 2014 19:15:16 +0100 From: Bruce Richardson To: dev@dpdk.org Date: Fri, 16 May 2014 19:15:11 +0100 Message-Id: <1400264114-28455-1-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH 0/3] ring: provide rte_ring_as_ethdev API 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: Fri, 16 May 2014 18:15:11 -0000 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(-) -- 1.9.0