Message ID | 20190906075402.114177-1-xiaoyun.li@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9042E1F216; Fri, 6 Sep 2019 09:54:24 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 632ED1F194 for <dev@dpdk.org>; Fri, 6 Sep 2019 09:54:22 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Sep 2019 00:54:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,472,1559545200"; d="scan'208";a="183071317" Received: from dpdk-xiaoyun3.sh.intel.com ([10.67.119.190]) by fmsmga008.fm.intel.com with ESMTP; 06 Sep 2019 00:54:19 -0700 From: Xiaoyun Li <xiaoyun.li@intel.com> To: jingjing.wu@intel.com, keith.wiles@intel.com, omkar.maslekar@intel.com, cunming.liang@intel.com Cc: dev@dpdk.org, Xiaoyun Li <xiaoyun.li@intel.com> Date: Fri, 6 Sep 2019 15:53:58 +0800 Message-Id: <20190906075402.114177-1-xiaoyun.li@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190906030221.96093-1-xiaoyun.li@intel.com> References: <20190906030221.96093-1-xiaoyun.li@intel.com> Subject: [dpdk-dev] [PATCH v3 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series | enable FIFO for NTB | |
Message
Li, Xiaoyun
Sept. 6, 2019, 7:53 a.m. UTC
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.
Acked-by: Omkar Maslekar <omkar.maslekar@intel.com>
---
v3:
* Replace strncpy with memcpy to avoid gcc-9 compile issue.
v2:
* Fixed compile issues with 32-bit machine and lack of including file.
* Fixed a typo.
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 | 1075 +++++++++++++++-----
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 | 1298 +++++++++++++++++++++---
11 files changed, 2347 insertions(+), 416 deletions(-)
create mode 100644 drivers/raw/ntb/rte_pmd_ntb.h