From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 368FEA0471 for ; Tue, 13 Aug 2019 05:11:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 664961BE0C; Tue, 13 Aug 2019 05:11:10 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 89528378B for ; Tue, 13 Aug 2019 05:11:08 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Aug 2019 20:11:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,379,1559545200"; d="scan'208";a="259997324" Received: from npg-dpdk-haiyue-1.sh.intel.com ([10.67.111.73]) by orsmga001.jf.intel.com with ESMTP; 12 Aug 2019 20:11:06 -0700 From: Haiyue Wang To: dev@dpdk.org Cc: Haiyue Wang Date: Tue, 13 Aug 2019 11:06:09 +0800 Message-Id: <1565665572-65495-1-git-send-email-haiyue.wang@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [RFC v2 0/3] show the Rx/Tx burst description field X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" v1: ABI breaking http://mails.dpdk.org/archives/dev/2019-August/140916.html https://patchwork.dpdk.org/patch/57624/ https://patchwork.dpdk.org/patch/57625/ https://patchwork.dpdk.org/patch/57626/ v2: add a simple trace API to export string type information, if the return value > 0, then valid information is generated. testpmd> show rxq info 0 0 ********************* Infos for port 0 , RX queue 0 ********************* Mempool: mbuf_pool_socket_0 RX prefetch threshold: 0 RX host threshold: 0 RX writeback threshold: 0 RX free threshold: 32 RX drop packets: off RX deferred start: off RX scattered packets: on Number of RXDs: 1024 Burst description: AVX2 Vector Scattered Rx testpmd> show txq info 0 0 ********************* Infos for port 0 , TX queue 0 ********************* TX prefetch threshold: 32 TX host threshold: 0 TX writeback threshold: 0 TX RS threshold: 32 TX free threshold: 32 TX deferred start: off Number of TXDs: 1024 Burst description: AVX2 Vector Tx Haiyue Wang (3): ethdev: add the API for getting trace information testpmd: show the Rx/Tx burst description net/ice: support the Rx/Tx burst description trace app/test-pmd/config.c | 12 +++++++++ drivers/net/ice/ice_ethdev.c | 26 +++++++++++++++++++ drivers/net/ice/ice_rxtx.c | 52 +++++++++++++++++++++++++++++++++++++ drivers/net/ice/ice_rxtx.h | 4 +++ lib/librte_ethdev/rte_ethdev.c | 18 +++++++++++++ lib/librte_ethdev/rte_ethdev.h | 9 +++++++ lib/librte_ethdev/rte_ethdev_core.h | 4 +++ 7 files changed, 125 insertions(+) -- 2.7.4