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 EE70CA0C53; Wed, 3 Nov 2021 15:00:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8734D426DD; Wed, 3 Nov 2021 15:00:42 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2089.outbound.protection.outlook.com [40.107.223.89]) by mails.dpdk.org (Postfix) with ESMTP id 22D4141134 for ; Wed, 3 Nov 2021 15:00:41 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gocmdtVUVdnshcWCq51IuIau4ixM0Pw9GC9jdRQht9VlHYzAHJhShz9gXLN+ktaOPs5oiWGpI4mN6/ygjT5CbNPcs9Ije6pLOu4lMvE0Xm7DrK2/xLMvBTd1UmeJqR+c5WWK3OQTclQsLyg45POJB5MFlQkFQT3/dcR3jtIGb2KSXX2ySUTiYivqrLlouzEfdoDnwWujjLEZQLVT/VL6lMP4LztKKF+7Dg1AoHHAjo80yL9K7jOrVqCqd+N2KUhW2ZDTlTjz0xUHWT9RQ3TF75nED/3gIIdbHBhGa+VpkFpkrtIzr0BTdeKLdr3acWCj7uks501GX6ADX36Uc8kBfQ== 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=spUcViHSns9SUUHHO+WsEO7HkRZg+Z4x/S1gQaB5hlY=; b=SXNi+xpThQvu3yD0n7v1ieKZVbnZkx64ou5lP2DaNRr1Mek/S7oP96HaOx9YDWa6R08wpYatUie6b/DciR+S3fqFLkgZOQjoAEWaSIzjwcaqBZ/rgVkpe3RVkfa9SNY6uHg3/q4kTPy3EXdLQHZB929uTyw8f7YoyuIKmyDDHSyWl9AvmkP9f462qwnPvxgH88dsKkJ4guvuNERXfkoXiHH3NBwisjm5FqEyD6XRejJ3iVcJDRXHsnhvPKOkVIzTxaJ7fBhjwctsKB715zlxvtaYDP/HFwy9aAI0Xd0zLeT6KUquKmRWCgMtYfQrlcQ1XRw+xu50jofVOvVZtbF/ZA== 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=spUcViHSns9SUUHHO+WsEO7HkRZg+Z4x/S1gQaB5hlY=; b=EbL1n8hqPd6WZiHTb/OJW/TxoE7Q6fAnWTSX1AhNkulSsffgdhu6vSaTF5ZZIaMt4zx0dIMGLTHmCi/EeFNEiSoVnwlDTYPaZqP/BKZsRl+DGc8Df4+KZHfxkErTFzyoOWU03ZtWYmjH9pgnF+yvhiNf4poEY5vRUKgFSrwJLpc= Received: from BN9PR03CA0349.namprd03.prod.outlook.com (2603:10b6:408:f6::24) by BL0PR02MB4866.namprd02.prod.outlook.com (2603:10b6:208:2a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10; Wed, 3 Nov 2021 14:00:38 +0000 Received: from BN1NAM02FT030.eop-nam02.prod.protection.outlook.com (2603:10b6:408:f6:cafe::33) by BN9PR03CA0349.outlook.office365.com (2603:10b6:408:f6::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10 via Frontend Transport; Wed, 3 Nov 2021 14:00:38 +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-pvapexch01.xlnx.xilinx.com; Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by BN1NAM02FT030.mail.protection.outlook.com (10.13.2.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4649.14 via Frontend Transport; Wed, 3 Nov 2021 14:00:38 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Wed, 3 Nov 2021 07:00:33 -0700 Received: from smtp.xilinx.com (172.19.127.96) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Wed, 3 Nov 2021 07:00:33 -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=38886 helo=xndengvm004108.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1miGoa-0003SS-KE; Wed, 03 Nov 2021 07:00:33 -0700 From: Vijay Srivastava To: CC: , , , Vijay Srivastava Date: Wed, 3 Nov 2021 19:27:44 +0530 Message-ID: <20211103135754.17411-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: e31b5cdc-4eab-4c23-44cc-08d99ed25095 X-MS-TrafficTypeDiagnostic: BL0PR02MB4866: 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: E4j7NhdLlCMWOKtbdQ3mPF2UfziGHCQRmrV7i+O5D7izz19bH01ZYDPaOFHv3HZlfzdDZTBY6PxCFWcl84V6I/T+m5NTGGrdJWhQV4Gp3BazpzMzf62gUyLYAKpvTRg63FTYkKhkK333/TypDg9LnamNO8XjnHyYvATWotCUR6vPgONZYrfBXMV6mZOWQ3buwtng2F0u5dZny7xbb7XkZr10ysKU2GOUNBWMX3dgP3yt9uvgLa/g+EVAhsiIxNAj4owr9vSbsSt/y5INfZzAlfbtEjCimeCpCCC94EkNILRMmKthiIxHqvJEXi6bAvWSrzz9IGr/+tSe0ubChO7DiK9a+8PtMoSxBMBX7r/eT1S2gtamJmKvR5PmgZO3nW8CWn6Z7nlKDVHdGU8uVXYaeoaHE4DTjhivZ919u2x1ehsTTLMtMpSrqSliZFC+EjaplHeTlWUArNcdtktbcPtJLNmP7l1ehNjIcuSWyRyCDNO3sIbrHpzI3+Nn0PYBga7xVoxb9tKvBXSb6khv0slr6eI2uj2KPSWI7Hz5obiU37krJ+SDpesDYbfvXPoIk9Ftx+BfMNhdh9aMFyTaS/oUjpHCytYyohSCJfkLoCo/dxMt4e5NNgoXGh+8nkwlDmokvbQS9fsD1VRxrHEJ/dH+JyADgo/L4xNcXGJ43ynDgGbA3HYOUSMwKYDpQ+pCLdMCwzLxCVgtz1jJAnm1SEt2R2HIDsCq38QHM6YNOLqgpsI= X-Forefront-Antispam-Report: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch01.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(36840700001)(46966006)(6666004)(82310400003)(7696005)(83380400001)(508600001)(1076003)(47076005)(26005)(8936002)(6916009)(186003)(8676002)(9786002)(5660300002)(107886003)(36756003)(54906003)(36906005)(4326008)(7636003)(316002)(36860700001)(44832011)(356005)(2906002)(426003)(70586007)(336012)(2616005)(70206006)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2021 14:00:38.0487 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e31b5cdc-4eab-4c23-44cc-08d99ed25095 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-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: BN1NAM02FT030.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR02MB4866 Subject: [dpdk-dev] [PATCH v4 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/index.rst | 1 + 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 | 26 + drivers/vdpa/sfc/sfc_vdpa.c | 363 +++++++++++++ drivers/vdpa/sfc/sfc_vdpa.h | 162 ++++++ drivers/vdpa/sfc/sfc_vdpa_debug.h | 21 + drivers/vdpa/sfc/sfc_vdpa_filter.c | 150 ++++++ drivers/vdpa/sfc/sfc_vdpa_hw.c | 418 +++++++++++++++ drivers/vdpa/sfc/sfc_vdpa_log.h | 59 +++ drivers/vdpa/sfc/sfc_vdpa_mcdi.c | 74 +++ drivers/vdpa/sfc/sfc_vdpa_ops.c | 930 +++++++++++++++++++++++++++++++++ drivers/vdpa/sfc/sfc_vdpa_ops.h | 67 +++ drivers/vdpa/sfc/version.map | 3 + 19 files changed, 2423 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