Message ID | 20230324174704.9752-1-vburru@marvell.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp811272vqo; Fri, 24 Mar 2023 10:57:22 -0700 (PDT) X-Google-Smtp-Source: AKy350ZOULiaPGI+GjfHzfugzX2VgSqUUWKxWPRcumA48bpK4qXsWVpPUBhBexN0/lgDvQYiQvHx X-Received: by 2002:a17:906:2cc8:b0:93d:cbf8:ca14 with SMTP id r8-20020a1709062cc800b0093dcbf8ca14mr3048778ejr.75.1679680642002; Fri, 24 Mar 2023 10:57:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679680641; cv=none; d=google.com; s=arc-20160816; b=BU521GCRs4ctKaY8rpT+KjvHl/4j3XcfCtZzwzHmcHqtYQkRyk+Neoot+tTCCHq8rz Wk49pafIX9hsq89TbC5iiUUPIP3pvcWA1/XK8eUtiCM8xmCv8sy2PDdttss7IJnLVhPf R9sTpFbkAx6X6/HfbiWPAFNSPbClnweteiLTj6QdC8M1+dJmP3SMm/cBE0BpSCzuEf5x ZY+VdAvna2usBGd0CCjk923QiIH508Zdz31nWlmLOjpy65PmV8lUw+fmERBNdDqoWNtx /ryqBRdX7MRxC+TScsm8wuFHAxMyX2iSU9bThAgJns2uZlsmGJB8ZvHjDkVxCnHf+zu+ PiVw== 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=RQJnUV0LgzhgDRqK+teJvOHzNPq+nNWZbwxNL4URU0I=; b=TzzpOlQ7c9o0aUxRcMQKU5fhsoksZWcPV5BrqjbAlQn99LJ4UmrREy9UG+eYGqxnpj 6eXUQ8oVh/c067ZhqFRjhRVubGCwfQZRDbCaken29TN35VWJX0HXOxa3K/tGo5f2U0sM 9X7p/gvRKrH+RZ4TIX37V88fy9gSQEBK+GLKD9NrF+BtxAYDnQ+H7mvKbtKFFHxWeRHJ bpkWuZjSLN7P/9w+z9i7HlhVxWbccxs//Xm9Jmq4Y/J7fzckmAiEjIAyWWWGaB3gVyBi KbC7ONvwofCNZ2Ckcs4aUfms/1eKu8l8axXPD8F9oofpAObB8aJjUq+IpYgpnbUOTZ/o Fl1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b="jHVRWs/V"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d7-20020aa7c1c7000000b004fd2aaff404si22718694edp.644.2023.03.24.10.56.37; Fri, 24 Mar 2023 10:57:21 -0700 (PDT) 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="jHVRWs/V"; 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 S231906AbjCXRr2 (ORCPT <rfc822;makky5685@gmail.com> + 99 others); Fri, 24 Mar 2023 13:47:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjCXRr0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 24 Mar 2023 13:47:26 -0400 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B761819F39; Fri, 24 Mar 2023 10:47:22 -0700 (PDT) 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 32OH2r7V001150; Fri, 24 Mar 2023 10:47:14 -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-transfer-encoding : content-type; s=pfpt0220; bh=RQJnUV0LgzhgDRqK+teJvOHzNPq+nNWZbwxNL4URU0I=; b=jHVRWs/VmjGTLeTkzM98/BeFyt1mvw3PJf+tlYgDmCyc69evILXgpu+PAknBjRrR5uKY 731PLkC7f5Bg6jJIbTlRR7Ke/NNIGl3Zzakd2KTC5fqGvDJvb2R5SKQH22br11hXpdol 5HYPOeV6XklPKJ4FoXeUHF7q2GN2tloQUSdP1toFps/aGQHTBq8lXrLq8iIx8X10hvfS 9Wxx4DaYclHqKRJ90jPJ/J4Gu3WNU3z7Oqg6mIF7ICNUTOB5YFmHnmQY6T+zu3HlnYNH qiPKf+XmRRJQ7q1jkOcOymwPa7rjIXjI5u2geRQT9BAfrltGkBJtrYnDJkA/R6DgIGbl 6Q== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3pgxmfkdp2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 24 Mar 2023 10:47:14 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 24 Mar 2023 10:47:12 -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.42 via Frontend Transport; Fri, 24 Mar 2023 10:47:12 -0700 Received: from sburla-PowerEdge-T630.sclab.marvell.com (unknown [10.106.27.217]) by maili.marvell.com (Postfix) with ESMTP id 0A1923F7059; Fri, 24 Mar 2023 10:47:12 -0700 (PDT) From: Veerasenareddy Burru <vburru@marvell.com> To: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <aayarekar@marvell.com>, <sedara@marvell.com>, <sburla@marvell.com> CC: <linux-doc@vger.kernel.org>, Veerasenareddy Burru <vburru@marvell.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com> Subject: [PATCH net-next v5 0/8] octeon_ep: deferred probe and mailbox Date: Fri, 24 Mar 2023 10:46:55 -0700 Message-ID: <20230324174704.9752-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: R5aHlj6t82mx3b1MLlUJeH5zsfunVayT X-Proofpoint-ORIG-GUID: R5aHlj6t82mx3b1MLlUJeH5zsfunVayT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-24_11,2023-03-24_01,2023-02-09_01 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761272808903656742?= X-GMAIL-MSGID: =?utf-8?q?1761272808903656742?= |
Series |
octeon_ep: deferred probe and mailbox
|
|
Message
Veerasenareddy Burru
March 24, 2023, 5:46 p.m. UTC
Implement Deferred probe, mailbox enhancements and heartbeat monitor. v4 -> v5: - addressed review comments https://lore.kernel.org/all/20230323104703.GD36557@unreal/ replaced atomic_inc() + atomic_read() with atomic_inc_return(). v3 -> v4: - addressed review comments on v3 https://lore.kernel.org/all/20230214051422.13705-1-vburru@marvell.com/ - 0004-xxx.patch v3 is split into 0004-xxx.patch and 0005-xxx.patch in v4. - API changes to accept function ID are moved to 0005-xxx.patch. - fixed rct violations. - reverted newly added changes that do not yet have use cases. v2 -> v3: - removed SRIOV VF support changes from v2, as new drivers which use ndo_get_vf_xxx() and ndo_set_vf_xxx() are not accepted. https://lore.kernel.org/all/20221207200204.6819575a@kernel.org/ Will implement VF representors and submit again. - 0007-xxx.patch and 0008-xxx.patch from v2 are removed and 0009-xxx.patch in v2 is now 0007-xxx.patch in v3. - accordingly, changed title for cover letter. v1 -> v2: - remove separate workqueue task to wait for firmware ready. instead defer probe when firmware is not ready. Reported-by: Leon Romanovsky <leon@kernel.org> - This change has resulted in update of 0001-xxx.patch and all other patches in the patchset. Veerasenareddy Burru (8): octeon_ep: defer probe if firmware not ready octeon_ep: poll for control messages octeon_ep: control mailbox for multiple PFs octeon_ep: add separate mailbox command and response queues octeon_ep: include function id in mailbox commands octeon_ep: support asynchronous notifications octeon_ep: function id in link info and stats mailbox commands octeon_ep: add heartbeat monitor .../marvell/octeon_ep/octep_cn9k_pf.c | 72 ++-- .../ethernet/marvell/octeon_ep/octep_config.h | 6 + .../marvell/octeon_ep/octep_ctrl_mbox.c | 276 +++++++------ .../marvell/octeon_ep/octep_ctrl_mbox.h | 88 ++-- .../marvell/octeon_ep/octep_ctrl_net.c | 387 ++++++++++++------ .../marvell/octeon_ep/octep_ctrl_net.h | 196 +++++---- .../marvell/octeon_ep/octep_ethtool.c | 12 +- .../ethernet/marvell/octeon_ep/octep_main.c | 180 +++++--- .../ethernet/marvell/octeon_ep/octep_main.h | 18 +- .../marvell/octeon_ep/octep_regs_cn9k_pf.h | 6 + 10 files changed, 784 insertions(+), 457 deletions(-) base-commit: 323fe43cf9aef79159ba8937218a3f076bf505af
Comments
Hello: This series was applied to netdev/net-next.git (main) by David S. Miller <davem@davemloft.net>: On Fri, 24 Mar 2023 10:46:55 -0700 you wrote: > Implement Deferred probe, mailbox enhancements and heartbeat monitor. > > v4 -> v5: > - addressed review comments > https://lore.kernel.org/all/20230323104703.GD36557@unreal/ > replaced atomic_inc() + atomic_read() with atomic_inc_return(). > > [...] Here is the summary with links: - [net-next,v5,1/8] octeon_ep: defer probe if firmware not ready https://git.kernel.org/netdev/net-next/c/10c073e40469 - [net-next,v5,2/8] octeon_ep: poll for control messages https://git.kernel.org/netdev/net-next/c/24d4333233b3 - [net-next,v5,3/8] octeon_ep: control mailbox for multiple PFs https://git.kernel.org/netdev/net-next/c/7c05d3d06c23 - [net-next,v5,4/8] octeon_ep: add separate mailbox command and response queues https://git.kernel.org/netdev/net-next/c/577f0d1b1c5f - [net-next,v5,5/8] octeon_ep: include function id in mailbox commands https://git.kernel.org/netdev/net-next/c/f25e596755b4 - [net-next,v5,6/8] octeon_ep: support asynchronous notifications https://git.kernel.org/netdev/net-next/c/baa987988777 - [net-next,v5,7/8] octeon_ep: function id in link info and stats mailbox commands https://git.kernel.org/netdev/net-next/c/0718693fb36c - [net-next,v5,8/8] octeon_ep: add heartbeat monitor https://git.kernel.org/netdev/net-next/c/5cb96c29aa0e You are awesome, thank you!