From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,URIBL_SBL,URIBL_SBL_A autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8AE4C4321A for ; Fri, 28 Jun 2019 10:17:50 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 81A2620665 for ; Fri, 28 Jun 2019 10:17:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 81A2620665 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DD4445424; Fri, 28 Jun 2019 12:17:48 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 6079634F0 for ; Fri, 28 Jun 2019 12:17:47 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Jun 2019 03:17:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,427,1557212400"; d="scan'208";a="167718039" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga006.jf.intel.com with ESMTP; 28 Jun 2019 03:17:46 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 28 Jun 2019 03:17:46 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 28 Jun 2019 03:17:45 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.83]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.236]) with mapi id 14.03.0439.000; Fri, 28 Jun 2019 18:17:43 +0800 From: "Wu, Jingjing" To: "Li, Xiaoyun" , "Wiles, Keith" , "Liang, Cunming" , "Maslekar, Omkar" CC: "dev@dpdk.org" Thread-Topic: [PATCH v9 0/6] rawdev driver for ntb Thread-Index: AQHVLVzb1OeZxHqiJ0uWDPM6y5Ujwaaw2ayA Date: Fri, 28 Jun 2019 10:17:42 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F81146B485@SHSMSX103.ccr.corp.intel.com> References: <20190626071224.4819-1-xiaoyun.li@intel.com> <20190628025346.31312-1-xiaoyun.li@intel.com> In-Reply-To: <20190628025346.31312-1-xiaoyun.li@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZGRlZDU4MWEtMzMyZS00Nzc5LThiMmQtMDg1MGZlMzE4NTEzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSHJIUXRXUFRPK3h4dk1zVWRWR1RRV002UzJMYUFiTHhPaWxkV01TN3o2bEZEMW1FSHpKZmhkMmRSajFKS05cL2wifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v9 0/6] rawdev driver 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" series Acked-by: Jingjing Wu > -----Original Message----- > From: Li, Xiaoyun > Sent: Friday, June 28, 2019 10:54 AM > To: Wu, Jingjing ; Wiles, Keith ; Liang, > Cunming ; Maslekar, Omkar > Cc: dev@dpdk.org; Li, Xiaoyun > Subject: [PATCH v9 0/6] rawdev driver for ntb >=20 > This patch set adds support for Intel NTB device with Skylake platform. > It is a raw device for allowing two hosts to communicate with each other > and access the peer memory. >=20 > This patch set also provides a simple example to transmit a file between > two hosts. But since there is no FIFO here, only support file which is > no more than 4M. And will add FIFO in the future. >=20 > v9: > * Fixed a typo. > * Added default case for PPD parse. >=20 > v8: > * Fixed a coding style issue. > * Rebased codes to the newest master branch. >=20 > v7: > * Fixed a typo. > * Generic spad registers to be spad_user and the specific spad is > * defined by the specific hw. > * Refined the codes by replacing with lib functions such as rte_read32. > * Rebased the codes to the newest dpdk-next-net-intel branch. >=20 > v6: > * Fixed a typo. >=20 > v5: > * Actual v4. v4 patchset is the same as v3. >=20 > v4: > * Fix compile issues of comparison of array with null pointer. >=20 > v3: > * Fixed compilation issues with target i686. > * Renamed communication devices to misc devices in usertool. > * Rebased to the newest dpdk-next-net-intel branch. >=20 > v2: > * Replaced ! with NULL check for pointers. > * Added ntb_ops valid check before use it. > * Replaced RTE_MEMZONE_1GB with RTE_MEMZONE_IOVA_CONTIG in case users do > not use 1G hugepage. > * Added a timeout for dev_stop handshake in case that the peer stopped > abnormally such as crashed while debugging. > * Updated docs especailly about how to setup BIOS for skylake. > * Fixed not return issue and not free issue in example. > * Renamed ntb_devices to communication_devices to be more generic in > usertools. > * Polish the codes and docs. >=20 > Xiaoyun Li (6): > raw/ntb: introduce ntb rawdev driver > raw/ntb: add intel ntb support > raw/ntb: add handshake process > examples/ntb: enable an example for ntb > usertools/dpdk-devbind.py: add support for ntb > doc: update docs for ntb driver >=20 > MAINTAINERS | 9 + > config/common_base | 5 + > doc/guides/rawdevs/index.rst | 1 + > doc/guides/rawdevs/ntb_rawdev.rst | 41 + > doc/guides/rel_notes/release_19_08.rst | 15 + > doc/guides/sample_app_ug/index.rst | 1 + > doc/guides/sample_app_ug/ntb.rst | 47 + > drivers/raw/Makefile | 1 + > drivers/raw/meson.build | 2 +- > drivers/raw/ntb_rawdev/Makefile | 28 + > drivers/raw/ntb_rawdev/meson.build | 8 + > drivers/raw/ntb_rawdev/ntb_hw_intel.c | 369 ++++++++ > drivers/raw/ntb_rawdev/ntb_hw_intel.h | 86 ++ > drivers/raw/ntb_rawdev/ntb_rawdev.c | 839 ++++++++++++++++++ > drivers/raw/ntb_rawdev/ntb_rawdev.h | 164 ++++ > .../ntb_rawdev/rte_pmd_ntb_rawdev_version.map | 4 + > examples/Makefile | 1 + > examples/meson.build | 2 +- > examples/ntb/Makefile | 68 ++ > examples/ntb/meson.build | 16 + > examples/ntb/ntb_fwd.c | 377 ++++++++ > mk/rte.app.mk | 1 + > usertools/dpdk-devbind.py | 9 + > 23 files changed, 2092 insertions(+), 2 deletions(-) > create mode 100644 doc/guides/rawdevs/ntb_rawdev.rst > create mode 100644 doc/guides/sample_app_ug/ntb.rst > create mode 100644 drivers/raw/ntb_rawdev/Makefile > create mode 100644 drivers/raw/ntb_rawdev/meson.build > create mode 100644 drivers/raw/ntb_rawdev/ntb_hw_intel.c > create mode 100644 drivers/raw/ntb_rawdev/ntb_hw_intel.h > create mode 100644 drivers/raw/ntb_rawdev/ntb_rawdev.c > create mode 100644 drivers/raw/ntb_rawdev/ntb_rawdev.h > create mode 100644 drivers/raw/ntb_rawdev/rte_pmd_ntb_rawdev_version.map > create mode 100644 examples/ntb/Makefile > create mode 100644 examples/ntb/meson.build > create mode 100644 examples/ntb/ntb_fwd.c >=20 > -- > 2.17.1