From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 61962A0547; Thu, 9 Jun 2022 04:36:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4BF2B4280B; Thu, 9 Jun 2022 04:36:39 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id AB40B40220; Thu, 9 Jun 2022 04:36:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654742197; x=1686278197; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=opflq7D0CZ4gPcVoQiR9xyWWZ7fAu8yHvp0rUOzBaLs=; b=c5N/zCxXPdNaZ81GK/7Cn55BQx6AgQwR+kV2cMw9cOQIucawVx0gcc2S 92c0WWXFBH4IcBO8J+zTd1pNnXUpmFlPsd0dsITWCe8WjnERQBYnM7H3L hTzMcsxEwcAFALrRK+FFQc0xk734KFrHlfBtwbSLvX9ORngd+UW+MNWzO uXuCuIKFrmcLGpbpi1PpwawljWb9nlal/MMYuOO9PR8sI4Q9R+yT/dp2A gTJHFdSTClJzk3mv6LE/LHuQ5c159CTufP0k3yczslc6cTEfnT1uMyfS1 k38z/rPY0KjLvKXS3RfKosJGzVeh7sP3DA1orySboNgHY0MLpDz+d+QrP Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10372"; a="277146268" X-IronPort-AV: E=Sophos;i="5.91,287,1647327600"; d="scan'208";a="277146268" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2022 19:36:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,287,1647327600"; d="scan'208";a="827300391" Received: from unknown (HELO zj-fpga-amt.sh.intel.com) ([10.238.175.102]) by fmsmga006.fm.intel.com with ESMTP; 08 Jun 2022 19:36:33 -0700 From: Wei Huang To: dev@dpdk.org, thomas@monjalon.net, nipun.gupta@nxp.com, hemant.agrawal@nxp.com Cc: stable@dpdk.org, rosen.xu@intel.com, tianfei.zhang@intel.com, qi.z.zhang@intel.com, Wei Huang Subject: [PATCH v6 0/5] introduce AFU PMD driver of FPGA Date: Wed, 8 Jun 2022 22:44:05 -0400 Message-Id: <1654742650-7214-1-git-send-email-wei.huang@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1653629824-4535-1-git-send-email-wei.huang@intel.com> References: <1653629824-4535-1-git-send-email-wei.huang@intel.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The first patch implements the framework of the AFU PMD driver based on raw device interfaces. The subsequent patches implement the driver of some AFUs. Changes from v5: 1. Move source files to raw/ifpga directory and rename them. 2. Use spinlock to prevent AFU from accessing simultaneously. 3. Refine code per Tianfei's comments. Wei Huang (5): raw/ifpga: introduce AFU driver framework raw/ifpga: add N3000 AFU driver raw/ifpga: add HE-LPBK AFU driver raw/ifpga: add HE-MEM AFU driver raw/ifpga: add HE-HSSI AFU driver drivers/raw/ifpga/afu_pmd_core.c | 453 ++++++++ drivers/raw/ifpga/afu_pmd_core.h | 94 ++ drivers/raw/ifpga/afu_pmd_he_hssi.c | 371 +++++++ drivers/raw/ifpga/afu_pmd_he_hssi.h | 108 ++ drivers/raw/ifpga/afu_pmd_he_lpbk.c | 436 ++++++++ drivers/raw/ifpga/afu_pmd_he_lpbk.h | 126 +++ drivers/raw/ifpga/afu_pmd_he_mem.c | 183 ++++ drivers/raw/ifpga/afu_pmd_he_mem.h | 46 + drivers/raw/ifpga/afu_pmd_n3000.c | 2019 +++++++++++++++++++++++++++++++++++ drivers/raw/ifpga/afu_pmd_n3000.h | 339 ++++++ drivers/raw/ifpga/meson.build | 4 +- drivers/raw/ifpga/rte_pmd_afu.h | 134 +++ 12 files changed, 4312 insertions(+), 1 deletion(-) create mode 100644 drivers/raw/ifpga/afu_pmd_core.c create mode 100644 drivers/raw/ifpga/afu_pmd_core.h create mode 100644 drivers/raw/ifpga/afu_pmd_he_hssi.c create mode 100644 drivers/raw/ifpga/afu_pmd_he_hssi.h create mode 100644 drivers/raw/ifpga/afu_pmd_he_lpbk.c create mode 100644 drivers/raw/ifpga/afu_pmd_he_lpbk.h create mode 100644 drivers/raw/ifpga/afu_pmd_he_mem.c create mode 100644 drivers/raw/ifpga/afu_pmd_he_mem.h create mode 100644 drivers/raw/ifpga/afu_pmd_n3000.c create mode 100644 drivers/raw/ifpga/afu_pmd_n3000.h create mode 100644 drivers/raw/ifpga/rte_pmd_afu.h -- 1.8.3.1