From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id DA87B8DAA for ; Wed, 30 Sep 2015 14:12:24 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 30 Sep 2015 05:12:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,612,1437462000"; d="scan'208";a="655036696" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga003.jf.intel.com with ESMTP; 30 Sep 2015 05:12:22 -0700 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t8UCCMSZ014963; Wed, 30 Sep 2015 13:12:22 +0100 Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id t8UCCMeg024416; Wed, 30 Sep 2015 13:12:22 +0100 Received: (from bricha3@localhost) by sivswdev01.ir.intel.com with id t8UCCMrK024412; Wed, 30 Sep 2015 13:12:22 +0100 From: Bruce Richardson To: dev@dpdk.org Date: Wed, 30 Sep 2015 13:12:18 +0100 Message-Id: <1443615142-24381-1-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH 0/4] eth_ring: perf test and usability improvements 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: Wed, 30 Sep 2015 12:12:25 -0000 This patchset makes it easier to create ring pmd instances from code, by providing a simple ring->ethdev wrapper function and also ensuring that any created rings are ready for use immediately, without having to call configure and rx/tx queue setup. This set also contains a set of unit tests to compare the performance of basic ring operations against the same operations via the ring ethdev. This shows how the perf penalty can be significant for small bursts, but is much less so for larger bursts of 32 packets. Bruce Richardson (4): ring: enhance rte_eth_from_rings rte_ring: store memzone pointer inside ring ring: add rte_eth_from_ring function test: Add perf test for ring pmd app/test/Makefile | 1 + app/test/test_pmd_ring_perf.c | 188 ++++++++++++++++++++++++++++++ drivers/net/ring/rte_eth_ring.c | 55 ++++++++- drivers/net/ring/rte_eth_ring.h | 14 +++ drivers/net/ring/rte_eth_ring_version.map | 5 + lib/librte_ring/rte_ring.c | 1 + lib/librte_ring/rte_ring.h | 4 + 7 files changed, 262 insertions(+), 6 deletions(-) create mode 100644 app/test/test_pmd_ring_perf.c -- 2.4.3