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 82341A2E1B for ; Thu, 5 Sep 2019 07:39:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AA20F1EBC2; Thu, 5 Sep 2019 07:39:50 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 30B291EBB6 for ; Thu, 5 Sep 2019 07:39:48 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Sep 2019 22:39:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,469,1559545200"; d="scan'208";a="177188682" Received: from dpdk-xiaoyun3.sh.intel.com ([10.67.118.227]) by orsmga008.jf.intel.com with ESMTP; 04 Sep 2019 22:39:46 -0700 From: Xiaoyun Li To: jingjing.wu@intel.com, keith.wiles@intel.com, omkar.maslekar@intel.com, cunming.liang@intel.com Cc: dev@dpdk.org, Xiaoyun Li Date: Thu, 5 Sep 2019 13:39:29 +0800 Message-Id: <20190905053933.27929-1-xiaoyun.li@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH 0/4] enable FIFO for NTB 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" Enable FIFO for NTB rawdev driver to support packet based processing. And an example is provided to support txonly, rxonly, iofwd between NTB device and ethdev, and file transmission. Xiaoyun Li (4): raw/ntb: setup ntb queue raw/ntb: add xstats support raw/ntb: add enqueue and dequeue functions examples/ntb: support more functions for NTB doc/guides/rawdevs/ntb.rst | 67 +- doc/guides/rel_notes/release_19_11.rst | 4 + doc/guides/sample_app_ug/ntb.rst | 59 +- drivers/raw/ntb/Makefile | 3 + drivers/raw/ntb/meson.build | 1 + drivers/raw/ntb/ntb.c | 1078 +++++++++++++++----- drivers/raw/ntb/ntb.h | 162 ++- drivers/raw/ntb/ntb_hw_intel.c | 48 +- drivers/raw/ntb/rte_pmd_ntb.h | 43 + examples/ntb/meson.build | 3 + examples/ntb/ntb_fwd.c | 1297 +++++++++++++++++++++--- 11 files changed, 2349 insertions(+), 416 deletions(-) create mode 100644 drivers/raw/ntb/rte_pmd_ntb.h -- 2.17.1