Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1425506lqt; Wed, 20 Mar 2024 03:50:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXwOY++pSR+KlmlHCMXM1WUowPUgX5JA447Sw5wuSAkIrx7A0mNi1/NVmdBZV40CIF5dqvTQFyk87hRBUK4Cy+QLd59GwpIhiyAqebOxA== X-Google-Smtp-Source: AGHT+IFva3FyA121bXXO/0XBNtzp2Ewl7MLA0Yhz7CxqahJ6/sXpoQ4cEqnreDbzcqvHE19L4Odu X-Received: by 2002:ad4:4048:0:b0:691:86d2:b099 with SMTP id r8-20020ad44048000000b0069186d2b099mr4793428qvp.21.1710931839105; Wed, 20 Mar 2024 03:50:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710931839; cv=pass; d=google.com; s=arc-20160816; b=XnEvTe/FZn0D1CFDqLvb2fDKoYopuxQVp7o7n3vNtPtOJxYdYBCGyltNfEwKPo3+Vp 1mO119Hg675Ig0zPgxkFFX1HrJDLIKsb2FD0QpcmkktvOwZ65raKjyG7smJUxwXjGjGS 2FKcyshZedNdi6kqI3+kJL4qMvOXryL3ZpBi+xC6YqIaXBiWwLpfLxdUXbdBmmFmWRqs 99h0BBYV2ld/YOw6IiQOlMX8lrZ5ZDL2lHOSErteCpwV01RhXPcLMYVudC7y6guyFOX7 fY17V4U0zyAHgFLmy1I1yel/8kHtNCljDOJKbhmG42Ki+vqMjXr2WSnQ0gl3PpY+lfez 79dA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=dxeRcIHPCn5TDeX0/nSCcrD0Cp+2WdQ4yerpOV4Zzc4=; fh=jUSBiIDDq7kcPyfFqoCF9Y7kRImwab+naACawp90TBU=; b=N0MhgmYhjNAd/da3hslPu7SXLQHFC8oRo8qPGAAldBF5a9LOtgaMpteeuJy3O3v5Wd q3ahASTsVMnwyZqSfwTezn9az6tLwM2Qjd3Lo/IW0gtGs6vh7Vsq3TD5sJnRpBhuV/3y 6nhgij0uwFFWuo8S1xqz29ycCfMdqvu/nrsImVsGpn98xU9Ne8g0xpLjQbOqFCvCcRQE VnxP+MkWPnpyIXWGbnyRgO3sXWDZgW2L7PNRCOmX07nUhPOsdvMSPDaedtj8KLy06dFT Oe0ShMRvF1fPvM2Gw2448cTJUFEc62aSJF6c/lcuKitAD3WG+1tTPuM0sSL4hnFvRPJ8 arbQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G0DN0sPi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-108806-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108806-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y15-20020a05620a0e0f00b00789f812f4d4si7427197qkm.440.2024.03.20.03.50.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 03:50:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108806-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G0DN0sPi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-108806-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108806-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D11A91C221CA for ; Wed, 20 Mar 2024 10:50:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A7D633A1C5; Wed, 20 Mar 2024 10:50:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="G0DN0sPi" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D1D3129CEB; Wed, 20 Mar 2024 10:50:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710931829; cv=none; b=mYdYday9QIx9bxukESpFycLFHgCmr5iDzhAzxx0uc7HOvY39yN3bQ5r/wY15BUrQOVp2gCGYTNfOK03FstmTudgoM+0c5/MmNJ/VCy1k1XQy5XcOs73IIEHNX9Ly6ifXb8pIYypKT9zlz2+W7eo8SCRlGhOHb3B62/oVmmpGbQQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710931829; c=relaxed/simple; bh=33eYdkLv+vFOfzW7fW+bW6YTvn0TxW/yQv61af3+pCw=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=SdlUv5HWw5OpE73JoLwlGBXQ0dq5lXZwnCXQpSwbmUcTvfUzXgoNSbCnj72ow4X3YaLOLJBlpcxVpn6Ei6IGCIU2ttK7JGiH2MBY6K9XMQ4JSksO0dE7mMDBp45QgWDqktrPMdpD98af8qM+/lud6i8Qo/j7jSpI3jYaFG1IRBE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=G0DN0sPi; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 56951C433C7; Wed, 20 Mar 2024 10:50:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710931829; bh=33eYdkLv+vFOfzW7fW+bW6YTvn0TxW/yQv61af3+pCw=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=G0DN0sPidV9DZaSKasMn2t9y3aA7tTejW/wV3BwaYb9BrHSudtxiWh94qn4zC/0oy QwCF5y7d0t+j8mxolVgaBrtn2z2yrvOvR4LNRmnyjFOJdlqZ6cQHVNnSRoViVO12wg xbgKQ2mEl+BT/Z+KaxgpkRuLCTGmfIfegZgcQipyl1jZ7o/OadfScNl/OL7b7N3gsZ Gb8QrZ3afXE0yjcmphzsy+ZjeqvRjysEHEq2LmbFRCB5WfXXn2saOzm/xA4eqaIOB0 kcKDoKhRkXAZWnDogvSmwHV9K0pTZMW32nTq20E20xIq71vYmDP5inTBbiKFAwB2Xx Lt0rYsO6esHkw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 45E89D95060; Wed, 20 Mar 2024 10:50:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [v2 net PATCH 0/5] octeontx2-pf: RVU Mailbox fixes From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171093182928.6411.11540341489392829464.git-patchwork-notify@kernel.org> Date: Wed, 20 Mar 2024 10:50:29 +0000 References: <1710754198-18632-1-git-send-email-sbhatta@marvell.com> In-Reply-To: <1710754198-18632-1-git-send-email-sbhatta@marvell.com> To: Subbaraya Sundeep Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, sgoutham@marvell.com, lcherian@marvell.com, gakula@marvell.com, hkelam@marvell.com, naveenm@marvell.com, horms@kernel.org Hello: This series was applied to netdev/net.git (main) by David S. Miller : On Mon, 18 Mar 2024 14:59:53 +0530 you wrote: > This patchset fixes the problems related to RVU mailbox. > During long run tests some times VF commands like setting > MTU or toggling interface fails because VF mailbox is timedout > waiting for response from PF. > > Below are the fixes > Patch 1: There are two types of messages in RVU mailbox namely up and down > messages. Down messages are synchronous messages where a PF/VF sends > a message to AF and AF replies back with response. UP messages are > notifications and are asynchronous like AF sending link events to > PF. When VF sends a down message to PF, PF forwards to AF and sends > the response from AF back to VF. PF has to forward VF messages since > there is no path in hardware for VF to send directly to AF. > There is one mailbox interrupt from AF to PF when raised could mean > two scenarios one is where AF sending reply to PF for a down message > sent by PF and another one is AF sending up message asynchronously > when link changed for that PF. Receiving the up message interrupt while > PF is in middle of forwarding down message causes mailbox errors. > Fix this by receiver detecting the type of message from the mbox data register > set by sender. > > [...] Here is the summary with links: - [v2,net,1/5] octeontx2: Detect the mbox up or down message via register https://git.kernel.org/netdev/net/c/a88e0f936ba9 - [v2,net,2/5] octeontx2-pf: Wait till detach_resources msg is complete https://git.kernel.org/netdev/net/c/cbf2f24939a5 - [v2,net,3/5] octeontx2-pf: Use default max_active works instead of one https://git.kernel.org/netdev/net/c/7558ce0d974c - [v2,net,4/5] octeontx2-pf: Send UP messages to VF only when VF is up. https://git.kernel.org/netdev/net/c/dfcf6355f53b - [v2,net,5/5] octeontx2-af: Use separate handlers for interrupts https://git.kernel.org/netdev/net/c/50e60de381c3 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html