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 6302BA0C45; Thu, 28 Oct 2021 09:56:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 269A84067B; Thu, 28 Oct 2021 09:56:15 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2045.outbound.protection.outlook.com [40.107.244.45]) by mails.dpdk.org (Postfix) with ESMTP id 5F8904003F for ; Thu, 28 Oct 2021 09:56:13 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YfI8MyRxrxW7IoBrB1HoGX6BYtMsoGQXgyw/UNlz5ZYNpZfTJY79Typ8/rUHsjh3sTIh2GujHM9H6owJWNAqnoGWEaNOf63kugdxMg2vdQFZPT+XZ38QGeytZfOJQiQXgDrxyYBe5PsOr4QClvwBVo8vimyZyDnE1FSL52tPK1X3UlNrReknynkAclbvbkbxs3iqqXEmeCSrtzhvVYSyLcy7teKbESvW4HF7i6MCVhXgzXeVaTQsyKOtDx+CMwhGmPvnV1LMqd6XPuoro/ONsvXr/vYyye7zHuSZvLaYbFDlLd9z1hvOG28RN4VAMKvuxvHH/pUSeYY3qKJ/Qd+TZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zw0gHl5u2JVcCdmcrsVbN7iOiPSEfu7955g6rRQMcJw=; b=Lc5YAHhw6o3LBsBuECHgFVgzhFYNFm6BTCu6N2xUZRCvfBPztnHZqRyby9qEtOdZr9htP7bjs1Ep9lvT3/VsdinPyJ9ROKhwHq+rmbFh9B3pZx+AjDWtTprzb9Fkx8qzWE78L+CyH59j+LRZzkb0dRGUxDUn4D2IA9unfyx3h5Z8euyEW1IE52ezWzRTkPH5mljjOr9f88SnVx2RjYEPwAVZG2/utZAx1V8WFdfcpw3uima0HOXbV5Mnmz05s3CtuWpsUpSmiVtXelzR0cqS8ctE6nRavZTnAijdfFSlN3/x/er4QFjSw1WLeJb0LMPWIHjTlUkEbL/fFbPIHsJ0Mw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=dpdk.org smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zw0gHl5u2JVcCdmcrsVbN7iOiPSEfu7955g6rRQMcJw=; b=dat3FUMqI/PBi/WhR964VkG9g5zSYbFJoHC3bWAdEh2BPTc12o3wVR+z1duBxkup57MBknjBXM8bU4ftRi4IaWMO83INc+gb/Yjk3oYY2kR3B2LM1zuLjN7FDJrZtgh94r7BiSp5+I/pD2X6ULO06m5D4EyuXCjmIbTsCEGF1dQ= Received: from BN6PR11CA0072.namprd11.prod.outlook.com (2603:10b6:404:f7::34) by MN2PR02MB6399.namprd02.prod.outlook.com (2603:10b6:208:1bd::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.20; Thu, 28 Oct 2021 07:56:11 +0000 Received: from BN1NAM02FT063.eop-nam02.prod.protection.outlook.com (2603:10b6:404:f7:cafe::40) by BN6PR11CA0072.outlook.office365.com (2603:10b6:404:f7::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15 via Frontend Transport; Thu, 28 Oct 2021 07:56:11 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch02.xlnx.xilinx.com; Received: from xsj-pvapexch02.xlnx.xilinx.com (149.199.62.198) by BN1NAM02FT063.mail.protection.outlook.com (10.13.2.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4649.14 via Frontend Transport; Thu, 28 Oct 2021 07:56:10 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Thu, 28 Oct 2021 00:56:10 -0700 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Thu, 28 Oct 2021 00:56:10 -0700 Envelope-to: dev@dpdk.org, maxime.coquelin@redhat.com, chenbo.xia@intel.com, andrew.rybchenko@oktetlabs.ru Received: from [10.170.66.108] (port=35870 helo=xndengvm004108.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1mg0Gf-0005p5-JX; Thu, 28 Oct 2021 00:56:10 -0700 From: Vijay Srivastava To: CC: , , , Vijay Srivastava Date: Thu, 28 Oct 2021 13:24:42 +0530 Message-ID: <20211028075452.11804-1-vsrivast@xilinx.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20210706164418.32615-1-vsrivast@xilinx.com> References: <20210706164418.32615-1-vsrivast@xilinx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f626f202-e819-4b28-d67f-08d999e86842 X-MS-TrafficTypeDiagnostic: MN2PR02MB6399: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5516; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5gnknRqGhYSQVMw6xtXgzhPj3fsaSiww/4UHDhZQjJCbyD+4lkrkd9JYOtHxQaEKFWS+Y00PEJTm5c81+pMut6GAe6Fm4v/nDxZ02kukLeBrBlab6PDyW7+xV3UDOnwBqigaCDeWoiOQ9Z+pH2UmEMAfC9chrgE3qlgjahx29uBwj5HiDVW58LUndZx+LcSzT5h0KFxrJ05zJwjCywN5CPmbt+2/x8bO3oOr20DN25dbROXykWYscsvKOd9NZTJCKcfZ+NddU2uSEGicp0ky9TQw1rB9+Rfmr0M4AjuaSrbf1wTMtpGtfMqY95hFQeV1z9PyVhaIezhQtQtPNS8ng1yDT283GIhlrDOqmTLKKfrEa6btIGPJAwTF/wD36Ee1dg6MdxDv9dLf+NmNSXh0sb6I386hy7U2lfwZgLq8QnPRJmEdZf4qYNoEGGVyoEkmy0g5hpSnZcbUZG1gnC2xtYpoBIhtqYsUMiuIGR/8SVWZ93foImQ4kQV2rfAlcGSfdnPE+XOh5S1ZOmKjLs+d/iMfH6s5VDea7p2GnWWaChlXwPDbS5PO6dhyiFlc1evDAXNtCsHzjNqBi14Up/LKvmVLLBhLMDCUCoYaFzGkJjXroxZSmK0d7TqpJVE8PmzWfn0NWaTspz1nocfPrF54o4IXfNIeqsElUsdeC1rpQ7tSz09lflI0t6x7BKJqDXN4OINIkChDPTEWOlq3hzRRjvavUtUIAArkSdkiQA/tZIg= X-Forefront-Antispam-Report: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch02.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(36840700001)(46966006)(7696005)(36860700001)(70206006)(356005)(2616005)(336012)(107886003)(7636003)(426003)(47076005)(82310400003)(36756003)(2906002)(5660300002)(44832011)(316002)(4326008)(1076003)(8676002)(186003)(9786002)(54906003)(70586007)(508600001)(26005)(6916009)(36906005)(6666004)(83380400001)(8936002)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2021 07:56:10.8909 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f626f202-e819-4b28-d67f-08d999e86842 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.62.198]; Helo=[xsj-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: BN1NAM02FT063.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR02MB6399 Subject: [dpdk-dev] [PATCH v2 00/10] vdpa/sfc: introduce Xilinx vDPA driver 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 Sender: "dev" This patch series introduces vDPA driver for Xilinx devices. The Xilinx vDPA (vhost data path acceleration) provides support for the Xilinx SN1022 SmartNICs. Vijay Kumar Srivastava (10): vdpa/sfc: introduce Xilinx vDPA driver vdpa/sfc: add support for device initialization vdpa/sfc: add support to get device and protocol features vdpa/sfc: get device supported max queue count vdpa/sfc: add support to get VFIO device fd vdpa/sfc: add support for dev conf and dev close ops vdpa/sfc: add support to get queue notify area info vdpa/sfc: add support for MAC filter config vdpa/sfc: add support to set vring state vdpa/sfc: set a multicast filter during vDPA init MAINTAINERS | 6 + doc/guides/rel_notes/release_21_11.rst | 5 + doc/guides/vdpadevs/features/sfc.ini | 19 + doc/guides/vdpadevs/sfc.rst | 107 ++++ drivers/common/sfc_efx/efsys.h | 2 +- drivers/common/sfc_efx/version.map | 10 + drivers/vdpa/meson.build | 1 + drivers/vdpa/sfc/meson.build | 37 ++ drivers/vdpa/sfc/sfc_vdpa.c | 367 +++++++++++++ drivers/vdpa/sfc/sfc_vdpa.h | 163 ++++++ drivers/vdpa/sfc/sfc_vdpa_debug.h | 21 + drivers/vdpa/sfc/sfc_vdpa_filter.c | 159 ++++++ drivers/vdpa/sfc/sfc_vdpa_hw.c | 419 +++++++++++++++ drivers/vdpa/sfc/sfc_vdpa_log.h | 59 ++ drivers/vdpa/sfc/sfc_vdpa_mcdi.c | 74 +++ drivers/vdpa/sfc/sfc_vdpa_ops.c | 947 +++++++++++++++++++++++++++++++++ drivers/vdpa/sfc/sfc_vdpa_ops.h | 69 +++ drivers/vdpa/sfc/version.map | 3 + 18 files changed, 2467 insertions(+), 1 deletion(-) create mode 100644 doc/guides/vdpadevs/features/sfc.ini create mode 100644 doc/guides/vdpadevs/sfc.rst create mode 100644 drivers/vdpa/sfc/meson.build create mode 100644 drivers/vdpa/sfc/sfc_vdpa.c create mode 100644 drivers/vdpa/sfc/sfc_vdpa.h create mode 100644 drivers/vdpa/sfc/sfc_vdpa_debug.h create mode 100644 drivers/vdpa/sfc/sfc_vdpa_filter.c create mode 100644 drivers/vdpa/sfc/sfc_vdpa_hw.c create mode 100644 drivers/vdpa/sfc/sfc_vdpa_log.h create mode 100644 drivers/vdpa/sfc/sfc_vdpa_mcdi.c create mode 100644 drivers/vdpa/sfc/sfc_vdpa_ops.c create mode 100644 drivers/vdpa/sfc/sfc_vdpa_ops.h create mode 100644 drivers/vdpa/sfc/version.map -- 1.8.3.1