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 6BB49A0C4A; Wed, 7 Jul 2021 10:25:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 58CF3413C7; Wed, 7 Jul 2021 10:25:30 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam08on2065.outbound.protection.outlook.com [40.107.102.65]) by mails.dpdk.org (Postfix) with ESMTP id C27684120E for ; Tue, 6 Jul 2021 18:45:11 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dkv+Nw9z9CHgu9vhteebwqGpBeKwckng7ApGh/Ur3NdWJOj6dFGN0GAEHq3WGqJq4IG176Htl2S3IirnlRoQwT0YqE7hP19Msq1TlZY40+OyiZ6k4TD505UQpLUgyEpKIvOwJ1qCvFVrK/K+a1lW1jO2S7C5gjzwCnrobpVXZz4YIlOwNbAbp3kmoWNbd6fbR6wrGoFPYCRuIL8jwtKkqqBZEWO6pRW2w/urvyO8H2q084DEcvoREyk4ojH3e7F0TOBWIxyWAN2cNwLbQ+JaZdCAZ2GIn5y/R3jWNPsuLDopizyj8xfWxWtPpp8CGAdDwHo2p8CsXF1G5yYNauno4w== 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-SenderADCheck; bh=AYtF3/IWXj4hSDRdvtCkyvJUmP+7n4/jaW4XJUtVQK4=; b=fpzU4qJ/shjZplfR9Dn3bFlS2WmYlKaYg+0RgOOGJXPefge9pVyOCqr8HKgdk96b89LLPDWO/Suq66FRmn8qs1dIVGtC2oyUK9o4cBwkPRV/07z6ibvMrrD2FQ5UII1UJA+jZdHEtHqOAiZfLW+P6X/F6uk7DHhjiLUp/JMe0tYrKhIEbWN9kDgWcMU9rpN6JDLlR7LaECj6Ji/UK9ke4Mg2XbTEqEghgw6L9dRvZQ4tnypTW66G6JCVa5dG1kuPM1UnRVQZt7ZB6T8lYPniRr8WO80dRkEd7Rp5e60xm+E9+nQMPceksrT7lnR0GG4Ylk7R30Nzr+YKMJbb8UGoeA== 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=AYtF3/IWXj4hSDRdvtCkyvJUmP+7n4/jaW4XJUtVQK4=; b=cCjPEkIsR5gGJKq8f1xM0XJxZT5TQWUSiytazdu6jJIWt8CRzxCwbR1r6Gv5i32MycFy/hYw0M9KhSOrOPOF0iCfq2WLMZ+uqXsbk460NRGkZ02B5SeqJHJQEolmMdwtQ5nGNLLkyYMZVOtt954E7GpzDe03yUs7MoqS3f9oJNg= Received: from SN6PR04CA0100.namprd04.prod.outlook.com (2603:10b6:805:f2::41) by DM5PR0201MB3494.namprd02.prod.outlook.com (2603:10b6:4:78::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.31; Tue, 6 Jul 2021 16:45:09 +0000 Received: from SN1NAM02FT0044.eop-nam02.prod.protection.outlook.com (2603:10b6:805:f2:cafe::30) by SN6PR04CA0100.outlook.office365.com (2603:10b6:805:f2::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.20 via Frontend Transport; Tue, 6 Jul 2021 16:45:09 +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 SN1NAM02FT0044.mail.protection.outlook.com (10.97.5.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4287.22 via Frontend Transport; Tue, 6 Jul 2021 16:45:09 +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.2; Tue, 6 Jul 2021 09:45:08 -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.2 via Frontend Transport; Tue, 6 Jul 2021 09:45:08 -0700 Envelope-to: dev@dpdk.org, maxime.coquelin@redhat.com, chenbo.xia@intel.com, andrew.rybchenko@oktetlabs.ru Received: from [10.177.4.108] (port=54950 helo=xndengvm004108.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1m0oC3-0000pF-Qx; Tue, 06 Jul 2021 09:45:08 -0700 From: Vijay Srivastava To: CC: , , , Vijay Srivastava Date: Tue, 6 Jul 2021 22:14:08 +0530 Message-ID: <20210706164418.32615-1-vsrivast@xilinx.com> X-Mailer: git-send-email 2.25.0 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: c54108f4-a423-4b29-a4f2-08d9409d6a8b X-MS-TrafficTypeDiagnostic: DM5PR0201MB3494: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5516; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5d3NmqVTFpljn2SizZtQvn++rMEiBr6HQcB8B4kllqchvgCfPyfV18vd1QupxaeDv/bq7bherG0m6pCnJ24wgNtL0BKxTBjGKlRNE9s7zonjFv1Wy27h+OL5QNEONdEuUgPqSAc7tV2lNhJ486LzNAiJtvikt16HbJxAM/iA0lEPDHRjmFfmR6+CwtRLF9pFM/VrxlklE3OQ2wEklIURTwYTRBw1/fjtmQpIw472ft9sq3Djn5sMd7MJkpOWb9Xpgfz+5psOL0zb6Wrxa9CB8RM9mJihrXDiyIduho9kKWqZCuJLoFNcuiEba3lSwai+JoxRC8hoAunMOZ2uK2MS5RToHhacL3WLEg0szNrVTFUus7XXC1IZYlPmc2LWJZzU5Rdj+nyNcbh28jgiuh9tMAste36HBDa3WUZwPedU32ydfBQPRfVHmtFS5o8vRXeoCrLqIKs9gbfLzDd3MVrscsFPUNg36FNpN4EWOpCFMO+mZqtmVqglRxssFvQCcb7MGbgRLhUExk5LrQsfgukNzyjAfFFXZbpeI2r2go906iRIfgEwSZqO4jN4WE2m/Ilpmc3CBYfqlZAblW4SZ2aHJqvGBPQAlMRjSbZy0cGISx0HlnlbUrCz+yaEua3BQRPjcRmf7nbpMLqyOEfC15qnXMNQx3K362tZLovKJ82Y41fbfYmogB7Yl6UbX54VbunOLEiPlo6Gotr5nPu7cXYpqna6XAQuW7bnOp5WVcnjZzI= 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:(4636009)(376002)(136003)(39860400002)(396003)(346002)(46966006)(36840700001)(82740400003)(82310400003)(70586007)(26005)(70206006)(426003)(1076003)(316002)(54906003)(5660300002)(8676002)(36860700001)(7696005)(336012)(44832011)(36906005)(2616005)(186003)(47076005)(4326008)(2906002)(7636003)(107886003)(356005)(478600001)(9786002)(6916009)(36756003)(83380400001)(8936002)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2021 16:45:09.0405 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c54108f4-a423-4b29-a4f2-08d9409d6a8b 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: SN1NAM02FT0044.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR0201MB3494 X-Mailman-Approved-At: Wed, 07 Jul 2021 10:25:28 +0200 Subject: [dpdk-dev] [PATCH 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. This Patch series includes following patches: 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_08.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 | 415 +++++++++++++++ drivers/vdpa/sfc/sfc_vdpa_log.h | 80 +++ drivers/vdpa/sfc/sfc_vdpa_mcdi.c | 74 +++ drivers/vdpa/sfc/sfc_vdpa_ops.c | 942 +++++++++++++++++++++++++++++++++ drivers/vdpa/sfc/sfc_vdpa_ops.h | 69 +++ drivers/vdpa/sfc/version.map | 3 + 18 files changed, 2479 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