Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1315287rwb; Sun, 6 Nov 2022 23:31:42 -0800 (PST) X-Google-Smtp-Source: AMsMyM5XnkK8MpMAMqA+mMNaz9feu0YaGguNI+ENytbu79kvK+xUKTvIm5bJLU7hX/WlELqpWVjI X-Received: by 2002:a05:6402:1248:b0:461:fc07:b95b with SMTP id l8-20020a056402124800b00461fc07b95bmr49427761edw.56.1667806302400; Sun, 06 Nov 2022 23:31:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667806302; cv=none; d=google.com; s=arc-20160816; b=e4fEaRmPDZl+kCRfYSvgLHmK060Nwp11PC4dPDzmRRVhngyQ7EuDDp7bd4IcdID3rV /JfLO6Lk67sNlIczErdnb19Kkvw+vEiZru+KzUmPCyG7LJexvHFFNUwQJ+BT0j+qJCCe tR05NgGWW5YlTlKvlHHB5J4QP3X7sKavaMaOoihSEaxsRXAhl2v36vRA7agxsI8T9T9Z Ouw5uqE6Rq5INM9ondEW0SLLW5OTeENuFQEJgMki0tHUxW2JMCekYTht55vyHyYXPYXF l56Qhm0s7P7bVtbKMZH0vox1aXswK6aBiG7yGLgH2CVEpNKTitfpzRy2kda/R6aXaToB 5D+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=dR84L5M7f0rEp14WkHYS3A0CrieBvZ3Ul0UZdPrab3s=; b=DaeWbf3o34+w//YuNoUgVpdnLi/b6X6qD4cEqzP+8ZSQkK65pVPTeGiPxd3Dg92jcL sFCCQ9TP+m1rKFzIJoT0PqeYCa3/SFz/2eqgDC/U54uRt+WeEg8AMQbq8IuYNX1fk3o2 7La8Wa3hlRcqF2CrlVsqQ3+ujvv/Y02NUwVxDHGT5s1IpXjMmhj5YZRNZt70IiXAudV8 ck6P28SMFhLHyTQjV3FIfpAStsBwgknd/U/FIv6FbsEXNRVumcCmwL7MggcO5Wd9z32m WDMkTmC3pOG2O5Wwhe4/ysiagqSNdiisAp6fruUQAVTMHqJr2lMvtT27zPF3A+fqcttY upkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=f72elxwj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l20-20020a170906795400b007ae21bbb010si9540872ejo.462.2022.11.06.23.31.18; Sun, 06 Nov 2022 23:31:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=f72elxwj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231313AbiKGHZ4 (ORCPT + 95 others); Mon, 7 Nov 2022 02:25:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230050AbiKGHZt (ORCPT ); Mon, 7 Nov 2022 02:25:49 -0500 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EBA7FE7; Sun, 6 Nov 2022 23:25:48 -0800 (PST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2A76WkaT004205; Sun, 6 Nov 2022 23:25:40 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=dR84L5M7f0rEp14WkHYS3A0CrieBvZ3Ul0UZdPrab3s=; b=f72elxwjs9jaqhp2sVRBDloP4Pxnmw3IZBsa13dSnzz32C92WtUrldP6nH48Ix+gBTsh SjUAgS34z/kNdncOBdG7zOhhXCsR3fphEH6aC9skzCraf1l9CwoT+XFXJj5gU7ym8qE2 3lhVpJQ2OXl99HPt6hAwpilVFsnbkDn7CreOzf6z9aiH0uZDV4uauaesuZ6dKmMeeZLs 9QPkQDESQEgqPU2BzYsToB9xrZWthdspY0BdEA08PUwMwVdZCEEJBH1P0FYkuR08bgUX 7IrxVjoKxbYnZfUFGlmtEzrAK2A6Zd1CypBNy0TZKRdTDhkrqqommaVdqp3UjwCTxSzy fA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3kpvuk858a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 06 Nov 2022 23:25:40 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sun, 6 Nov 2022 23:25:38 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sun, 6 Nov 2022 23:25:38 -0800 Received: from sburla-PowerEdge-T630.caveonetworks.com (unknown [10.106.27.217]) by maili.marvell.com (Postfix) with ESMTP id 0D4AF3F704F; Sun, 6 Nov 2022 23:25:38 -0800 (PST) From: Veerasenareddy Burru To: , , , , , CC: , Veerasenareddy Burru , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Subject: [PATCH net-next 0/9] octeon_ep: Update PF mailbox for VF Date: Sun, 6 Nov 2022 23:25:14 -0800 Message-ID: <20221107072524.9485-1-vburru@marvell.com> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: KXCrLo-q7l4yAu92coZCPN-Z4oGFL_Yk X-Proofpoint-ORIG-GUID: KXCrLo-q7l4yAu92coZCPN-Z4oGFL_Yk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-06_16,2022-11-03_01,2022-06-22_01 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update PF mailbox for VF support. Octeon VF driver will be submitted as separate patchset. Veerasenareddy Burru (9): octeon_ep: wait for firmware ready octeon_ep: poll for control messages octeon_ep: control mailbox for multiple PFs octeon_ep: enhance control mailbox for VF support octeon_ep: support asynchronous notifications octeon_ep: control mbox support for VF stats and link info octeon_ep: add SRIOV VF creation octeon_ep: add PF-VF mailbox communication octeon_ep: add heartbeat monitor .../net/ethernet/marvell/octeon_ep/Makefile | 3 +- .../marvell/octeon_ep/octep_cn9k_pf.c | 114 +++-- .../ethernet/marvell/octeon_ep/octep_config.h | 6 + .../marvell/octeon_ep/octep_ctrl_mbox.c | 318 ++++++++------ .../marvell/octeon_ep/octep_ctrl_mbox.h | 102 +++-- .../marvell/octeon_ep/octep_ctrl_net.c | 404 ++++++++++++------ .../marvell/octeon_ep/octep_ctrl_net.h | 196 +++++---- .../marvell/octeon_ep/octep_ethtool.c | 12 +- .../ethernet/marvell/octeon_ep/octep_main.c | 378 ++++++++++++---- .../ethernet/marvell/octeon_ep/octep_main.h | 81 +++- .../marvell/octeon_ep/octep_pfvf_mbox.c | 306 +++++++++++++ .../marvell/octeon_ep/octep_pfvf_mbox.h | 126 ++++++ .../marvell/octeon_ep/octep_regs_cn9k_pf.h | 15 + .../net/ethernet/marvell/octeon_ep/octep_tx.h | 24 +- 14 files changed, 1544 insertions(+), 541 deletions(-) create mode 100644 drivers/net/ethernet/marvell/octeon_ep/octep_pfvf_mbox.c create mode 100644 drivers/net/ethernet/marvell/octeon_ep/octep_pfvf_mbox.h base-commit: 63d9e12914840400e9f96c2ae9a51cd9702c2daf -- 2.36.0