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 BCA8EA0547; Fri, 29 Oct 2021 16:48:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A26B54111F; Fri, 29 Oct 2021 16:48:28 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2058.outbound.protection.outlook.com [40.107.92.58]) by mails.dpdk.org (Postfix) with ESMTP id E6BAB410E1 for ; Fri, 29 Oct 2021 16:48:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H7sInRHlGQ0c/Pbuk0d7Lia8g2uuyiqkePv3z/NtG76JEbnoet78alKHEuX8L3DjN2ofxojoM9xpCnmTM9XLjYtJ1i+ZW9PiCKhZfp2hMytceVHpN3gkVuxXFFw8yXIpZF6QuOYZsySLndUszqn6dzkxvdH+n8d64yc2iIWGRaRdGCRwRHSaOA/a0yU8qIKs5Dp4D0K+XiOl3wsOdVmFqGnETtWFyV9wJeDxrQiB2ipLp3kvWbKDmBqs2ycLrlfEqyGkL2XpMpUXa/eaNleAR0IgMUx1FDlX/L263C3Zn25cLPVTwCTyBxZTJ6IZcuuk0+mIhC3OWPe+mDS+dB7p5A== 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=0P9uWlgsnBPvLWeDXI2cdF7wku4MgFst496sffv4Ho0=; b=jP7xJ2hzY0Tpt5eXaWJ6sYVZIAWWG1XdvA0PJoYC6iy+gXL+aYah0GMfmAY+WN4FmmrnpPmU9ozB3g3fprQh7Z9IPoVUPi9e35FP+1LCmhqVq1JhEJsz6czZCoNAmyd6ro3NYP+G04AA0CigEbpPIo46gfk7eoSoXK87RHqzmI0pZ84DiRn5JFxJOl/79JJzhwetTihDJW8h6Ww01wVkjCzmfNo+gYr0lV0he4zh6T4BBXsJhsaxcTSfazRjWGL+GacyNQ1aWZMlL/VRe8x0pF7IpRJuz/ClJ+HcFYSr8UrfAQlmarZxTqnZCn2TQwpRn4nmGvVJKFFYDrYWuXkZNg== 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=0P9uWlgsnBPvLWeDXI2cdF7wku4MgFst496sffv4Ho0=; b=iU0zwCILl4vz1e1pe2cqjRWnpQ+Gl/1p1ztVmKthuS8qNtP1JBmDWARpCtn8FIubnfsJBZ4Y4vTjoInNGXF6UwZRhxMGtB/qwgw2WDhW7tjd3GA8NiiLqkUj5DK63je1axm1SxFc30EnIYKNchtuI4q6GA70302A5RQkKArG1IQ= Received: from DM6PR01CA0020.prod.exchangelabs.com (2603:10b6:5:296::25) by DM5PR0201MB3622.namprd02.prod.outlook.com (2603:10b6:4:78::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.13; Fri, 29 Oct 2021 14:48:25 +0000 Received: from DM3NAM02FT046.eop-nam02.prod.protection.outlook.com (2603:10b6:5:296:cafe::fb) by DM6PR01CA0020.outlook.office365.com (2603:10b6:5:296::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15 via Frontend Transport; Fri, 29 Oct 2021 14:48:25 +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 DM3NAM02FT046.mail.protection.outlook.com (10.13.4.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4649.14 via Frontend Transport; Fri, 29 Oct 2021 14:48:25 +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; Fri, 29 Oct 2021 07:48:24 -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; Fri, 29 Oct 2021 07:48:24 -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=36706 helo=xndengvm004108.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1mgTB9-0008YO-Tu; Fri, 29 Oct 2021 07:48:24 -0700 From: Vijay Srivastava To: CC: , , , Vijay Srivastava Date: Fri, 29 Oct 2021 20:16:35 +0530 Message-ID: <20211029144645.30295-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: 69295091-bc7e-4945-a6c9-08d99aeb2967 X-MS-TrafficTypeDiagnostic: DM5PR0201MB3622: 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: WSUHqK/SHeGUgLy/LsblQq9P5I/rwpoK6QavVigp9qABi/9UDyUcHhQxRa2Pbh4MNKBE0NHeHWtHwo9HovVaiZHjMt+stPDS6Ydsq0XAaKnAstCujwMuMAm0rfmx5Rcznusiv0YLnyJTJKySjNWqbyf7CxbaXRtPHOjyg1Wh7aUiFyZ5nxUzj+pZ/xcYI7uyunivXSZamkx4LuzqSFxzSNobB7hT4oABuxcchXEtQZh0C9a9K3Zq8Zq1phnDf900SDMcz1OTfNA29TrSjKGZ/jzgD4ExFbwNNKTad6cx62GA/Cu3VGx1yfsPnujawr4/c1XK6fs5XLbQGJyFFAmgG6Lm138VzwV+tg8JjGyGlAmZ9WSWsReIzrWC3pfgm2XQS0aY8hjTDHM5vil3vEDF2dl0AIWfU80cKnhd6VOK+5Z3LoaFl0nwArJRmdecpUMglC3r8lALSM7sxgl5UUdMFKa1IM8EOBn0Vm/HC8yQbFoLG+/J5h2NvjLNPBGII85QE3b49lxOoICCTkv572YZVRSxJoHg+Nk/HRE+vs01ztlnw8qpEdLvJ5Ul7NAOgtQcv+WS40Oe5rWncKUnWFFMm25Z757WVivZ/Dt3OiGUvSZLjP60XNpZ1aC4b4DOANW4WAlm8kotHp4NRJwecdbIwFlkhdNAGBb3qBSV9lgNonelpuJH9wnuKhYf8+whBO26jet77feycxp4E81JVz6DJlSWad8FKaDSKF8ltYn81/A= 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:(46966006)(36840700001)(70206006)(70586007)(83380400001)(426003)(36756003)(7696005)(82310400003)(5660300002)(47076005)(44832011)(36860700001)(2616005)(26005)(6666004)(8676002)(54906003)(508600001)(1076003)(7636003)(186003)(36906005)(316002)(8936002)(4326008)(9786002)(336012)(2906002)(356005)(107886003)(6916009)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2021 14:48:25.1377 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 69295091-bc7e-4945-a6c9-08d99aeb2967 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: DM3NAM02FT046.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR0201MB3622 Subject: [dpdk-dev] [PATCH v3 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 | 2 + 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 | 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 + 19 files changed, 2458 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