From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 497BBA04FE; Tue, 9 Jun 2020 21:42:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9E3A61DB9; Tue, 9 Jun 2020 21:42:37 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 3C4581B53 for ; Tue, 9 Jun 2020 21:42:36 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 059JZ2mW013011; Tue, 9 Jun 2020 12:42:35 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=uDyuLhMl1YtPUlisa4m916vUi/DAF6xAUJiaKe5CqJI=; b=jAp43PnkJNdEwpmquXWpOdl9BErIlykADRwwZ2tISWfHCHI06EJKijyvcU5k9LVCFrgM SQZ8/dDG7e9srMATirkI+rn6mJoMtzzsXUuk5kOarthRUrxYMd4gxcfr3rLowYYZ+KBU ZSHwuDtT/4IpwIFUo/Uupf0tVh5bPUC5dnS90KxJx0AGHfQKR6jwjhnmhsv+hclZDXlr lnvjpRTDtvdhEbfwp/0Ho/XqoW1tHCyYyUKGLHbSPRMWmIHa4huASLbt7b07lK9SQugR IxnPqBmcrbbQ8290HRdUSoTpDUr52ezy+cuCAD2Q6rxQSX7+hrcaQ/2upx6cMSWhIrtq LQ== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 31j77dj5hq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 09 Jun 2020 12:42:35 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 9 Jun 2020 12:42:34 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 9 Jun 2020 12:42:34 -0700 Received: from dut1171.mv.qlogic.com (unknown [10.112.88.18]) by maili.marvell.com (Postfix) with ESMTP id 139D53F7041; Tue, 9 Jun 2020 12:42:34 -0700 (PDT) Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id 059JgXej024375; Tue, 9 Jun 2020 12:42:33 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id 059JgXfO024374; Tue, 9 Jun 2020 12:42:33 -0700 From: Manish Chopra To: , , CC: , , , Date: Tue, 9 Jun 2020 12:42:01 -0700 Message-ID: <20200609194207.24328-1-manishc@marvell.com> X-Mailer: git-send-email 2.12.0 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687 definitions=2020-06-09_13:2020-06-09, 2020-06-09 signatures=0 Subject: [dpdk-dev] [PATCH 0/6] qede: SR-IOV PF driver support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Hi, This series adds SR-IOV PF pmd driver support to have VF pmd driver work over PF pmd driver instances in order to run the adapter completely under DPDK environment for one of the use cases like ovs-dpdk. This is very initial bring-up with following testing covered - * Enable/Disable SR-IOV VFs through igb_uio sysfs hook. * Load VFs, run fastpath, teardown VFs in hypervisor and guest VM. * VF FLR flow (in case of VF PCI passthrough to the guest VM) * Bulletin mechanism tested to communicate link changes to the VFs. Note that this series is only intended for upcoming DPDK release (20.08) Please consider applying this series to dpdk-next-net-mrvl.git Thanks, Manish Manish Chopra (6): net/qede: define PCI config space specific osals net/qede: configure VFs on hardware net/qede: add infrastructure support for VF load net/qede: initialize VF MAC and link net/qede: add VF FLR support doc/guides: update qede features list doc/guides/nics/features/qede.ini | 1 + doc/guides/nics/qede.rst | 2 +- drivers/net/qede/Makefile | 1 + drivers/net/qede/base/bcm_osal.c | 71 +++++++++ drivers/net/qede/base/bcm_osal.h | 30 +++- drivers/net/qede/base/ecore.h | 27 ++++ drivers/net/qede/base/ecore_iov_api.h | 3 + drivers/net/qede/meson.build | 1 + drivers/net/qede/qede_ethdev.c | 37 ++++- drivers/net/qede/qede_ethdev.h | 1 + drivers/net/qede/qede_if.h | 1 + drivers/net/qede/qede_main.c | 13 +- drivers/net/qede/qede_sriov.c | 219 ++++++++++++++++++++++++++ drivers/net/qede/qede_sriov.h | 22 +++ 14 files changed, 417 insertions(+), 12 deletions(-) create mode 100644 drivers/net/qede/qede_sriov.c create mode 100644 drivers/net/qede/qede_sriov.h -- 2.17.1