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 D9AA1B65D for ; Tue, 17 Feb 2015 17:29:18 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 17 Feb 2015 08:23:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,595,1418112000"; d="scan'208";a="653315560" Received: from unknown (HELO Sent) ([10.217.248.233]) by orsmga001.jf.intel.com with SMTP; 17 Feb 2015 08:27:28 -0800 Received: by Sent (sSMTP sendmail emulation); Tue, 17 Feb 2015 17:19:49 +0100 From: Pawel Wodkowski To: dev@dpdk.org Date: Tue, 17 Feb 2015 17:19:44 +0100 Message-Id: <1424189986-26219-1-git-send-email-pawelx.wodkowski@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424187473-25853-1-git-send-email-pawelx.wodkowski@intel.com> References: <1424187473-25853-1-git-send-email-pawelx.wodkowski@intel.com> Subject: [dpdk-dev] [PATCH v3 0/2] new headroom stats library and example application 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, 17 Feb 2015 16:29:19 -0000 Hi community, I would like to introduce library for measuring load of some arbitrary jobs. It can be used to profile every kind of job sets on any arbitrary execution unit or tasking library. In provided l2fwd-headroom example I demonstrate how to use this library to select optimal rx burst poll time. Jobs are selected by using existing rte_timer library calls. This example does no limit possible schemes on which this library can be used. PATCH v3 changes: - spelling fixes. PATCH v2 changes: - Remove jobs management/callback from library to not duplicate tasking library behaviour. - Cleenup/remove useless statistics. - Rework example application to use rte_timer library for jobs selection. - Introduce new app parameter '-l' for automatic thousands separating in stats. - More readable statistics format. Pawel Wodkowski (2): pmd: enable DCB in SRIOV tespmd: fix DCB in SRIOV mode support app/test-pmd/cmdline.c | 4 ++-- app/test-pmd/testpmd.c | 39 +++++++++++++++++++++++++++---------- app/test-pmd/testpmd.h | 10 ---------- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 2 +- lib/librte_pmd_ixgbe/ixgbe_pf.c | 19 +++++++++--------- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 7 +++---- 6 files changed, 45 insertions(+), 36 deletions(-) -- 1.9.1