Message ID | 20231215181425.2681426-1-srasheed@marvell.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-1507-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9479135dys; Fri, 15 Dec 2023 10:15:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhx43ukv6wybypQJp9cPHYcv07mUVi0wGxOL0ZUVcWxYHA405xMELi1zyvyF9dFYdYCMBm X-Received: by 2002:ac8:5942:0:b0:425:823e:8bb1 with SMTP id 2-20020ac85942000000b00425823e8bb1mr16352162qtz.4.1702664136762; Fri, 15 Dec 2023 10:15:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702664136; cv=none; d=google.com; s=arc-20160816; b=fFBWY5QKl/GWmc7Iav9WQHIzCK0E+0/MHyTz+KJvRbdF2RYyJe48PpU9tSM4Y7wGjA mmuJQaGNERPIKEn8iJoPgIjxQLe8bXWk4C8m4qD7y77esaGMLVWXyIPdcqB+CCP7fAsJ CsXEf8R7EYBJH4aDXie0pW/eeChz+SIoC5dAfE9/zRU+UJfa2hXwJiJEkYc4/nNcKiKP rtTy6PcRUIvj9f3GNHcvFzD72lmm7hxMq6GH0PArr2IuPYlpczyqdPJjmIC6M2hdi+PY 9rxNXJ/lMczgv5x1oo6aeFiAuoBAn0nCmpQM31cDmPlMe8x6mOo6GS4Qg99ph4CC++PJ DoCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=WbAOVsm22A6Mljz8c5jxGOOKm4PTAlo9Zgvohh7nb14=; fh=URFI8gzSx43bfIjK0oLEoRiPxGRkxVnFeMGrlh6Zb04=; b=qeFOGujRG929zBoY0GEPhVTX1h1zs58Ca2lXduPN4UI8UIXleQT1Od1nPZRLUCS3zL 8N86NDQ7ZxoXw66Cs6FoH2jHsfZKpWvDcIONU28lBoZzNHJJ7Chzo1hxl7PhOLZvr6CP WzFXl6YmafLyiRrX83FCKnBUZj8/UBY6k2Z0H5tVqyA+5wDkUMvr9dYPJBkschKEok5i pQ65KJd7fLkjnVSfJkU5naQji/8TT4QJ+zN48waUxlt0RPF2q4gLIQBAFFA8yGK6isej lHAJtZzP7Hxzm0xlQ9+KRNy7buf+MAfKAzzqeCBA2+11vPeDVAn11Q/7/jPCwd+Vi1sA +NLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=ariPsWsN; spf=pass (google.com: domain of linux-kernel+bounces-1507-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1507-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bz18-20020a05622a1e9200b00423966a761esi20143489qtb.561.2023.12.15.10.15.36 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 10:15:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1507-ouuuleilei=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=@marvell.com header.s=pfpt0220 header.b=ariPsWsN; spf=pass (google.com: domain of linux-kernel+bounces-1507-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1507-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com 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 86F6E1C23F55 for <ouuuleilei@gmail.com>; Fri, 15 Dec 2023 18:15:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD00B3FE4E; Fri, 15 Dec 2023 18:14:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=marvell.com header.i=@marvell.com header.b="ariPsWsN" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) (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 D446782EF8; Fri, 15 Dec 2023 18:14:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=marvell.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=marvell.com Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BFIAhn3020035; Fri, 15 Dec 2023 10:14:29 -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=WbAOVsm2 2A6Mljz8c5jxGOOKm4PTAlo9Zgvohh7nb14=; b=ariPsWsNvxsy3DhD4dEGeU/i kWyeRg5CNVcwN+vC5yGPKWLw1FNd79eXNa/NmjFFygqdagmfJhWxKuLT4DyNC4tJ oRk5vNCI3Wq4jCRuXQqUwZ8QS4EY7W0YijHbePrR7DCjjm/AFCTL6LG0jgeI78pB sTuzrG7TCYQ/CXXE+vwmdwJ2vy1RyaSyIjzu19sSQfuLfg9CXJdJ742sN6ygEKng wK9K6/OdxfzFFJIh8GgrS8L2M21OfFc+VOZaLWlGnsPFo9+nxXDFKrJptBkGVS1T xvJ5Ex3eMmIrloYix6ABmwi4+ORgGQX0epZWUhP/RK9Hw55YTWSjSKa5lrcdOA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3v06m0v7uj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 10:14:29 -0800 (PST) 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.48; Fri, 15 Dec 2023 10:14:27 -0800 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.48 via Frontend Transport; Fri, 15 Dec 2023 10:14:27 -0800 Received: from ubuntu-PowerEdge-T110-II.sclab.marvell.com (unknown [10.106.27.86]) by maili.marvell.com (Postfix) with ESMTP id 42C553F703F; Fri, 15 Dec 2023 10:14:27 -0800 (PST) From: Shinas Rasheed <srasheed@marvell.com> To: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org> CC: <hgani@marvell.com>, <vimleshk@marvell.com>, <egallen@redhat.com>, <mschmidt@redhat.com>, <pabeni@redhat.com>, <horms@kernel.org>, <kuba@kernel.org>, <davem@davemloft.net>, <wizhao@redhat.com>, <kheib@redhat.com>, <konguyen@redhat.com>, <shenjian15@huawei.com>, "Shinas Rasheed" <srasheed@marvell.com> Subject: [PATCH net-next v6 0/4] add PF-VF mailbox support Date: Fri, 15 Dec 2023 10:14:21 -0800 Message-ID: <20231215181425.2681426-1-srasheed@marvell.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: vcAZ6w-NGOaKLd6FLrvh_blzG-jHGLi_ X-Proofpoint-ORIG-GUID: vcAZ6w-NGOaKLd6FLrvh_blzG-jHGLi_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785372749917270487 X-GMAIL-MSGID: 1785372749917270487 |
Series |
add PF-VF mailbox support
|
|
Message
Shinas Rasheed
Dec. 15, 2023, 6:14 p.m. UTC
This patchset aims to add PF-VF mailbox support, its related version support, and relevant control net support for immediate functionalities such as firmware notifications to VF. Changes: V6: - Fixed 1/4 patch to apply to top of net-next merged with net fixes V5: https://lore.kernel.org/all/20231214164536.2670006-1-srasheed@marvell.com/ - Refactored patches to cut out redundant changes in 1/4 patch. V4: https://lore.kernel.org/all/20231213035816.2656851-1-srasheed@marvell.com/ - Included tag [1/4] in subject of first patch of series which was lost in V3 V3: https://lore.kernel.org/all/20231211063355.2630028-1-srasheed@marvell.com/ - Corrected error cleanup logic for PF-VF mbox setup - Removed double inclusion of types.h header file in octep_pfvf_mbox.c V2: https://lore.kernel.org/all/20231209081450.2613561-1-srasheed@marvell.com/ - Removed unused variable in PATCH 1/4 V1: https://lore.kernel.org/all/20231208070352.2606192-1-srasheed@marvell.com/ Shinas Rasheed (4): octeon_ep: add PF-VF mailbox communication octeon_ep: PF-VF mailbox version support octeon_ep: control net framework to support VF offloads octeon_ep: support firmware notifications for VFs .../net/ethernet/marvell/octeon_ep/Makefile | 2 +- .../marvell/octeon_ep/octep_cn9k_pf.c | 59 ++- .../marvell/octeon_ep/octep_cnxk_pf.c | 49 +- .../marvell/octeon_ep/octep_ctrl_mbox.h | 4 +- .../marvell/octeon_ep/octep_ctrl_net.c | 6 + .../ethernet/marvell/octeon_ep/octep_main.c | 84 +++- .../ethernet/marvell/octeon_ep/octep_main.h | 46 +- .../marvell/octeon_ep/octep_pfvf_mbox.c | 450 ++++++++++++++++++ .../marvell/octeon_ep/octep_pfvf_mbox.h | 167 +++++++ .../marvell/octeon_ep/octep_regs_cn9k_pf.h | 9 + .../marvell/octeon_ep/octep_regs_cnxk_pf.h | 13 + .../net/ethernet/marvell/octeon_ep/octep_tx.h | 24 +- 12 files changed, 864 insertions(+), 49 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
Comments
Hello: This series was applied to netdev/net-next.git (main) by Paolo Abeni <pabeni@redhat.com>: On Fri, 15 Dec 2023 10:14:21 -0800 you wrote: > This patchset aims to add PF-VF mailbox support, its related > version support, and relevant control net support for immediate > functionalities such as firmware notifications to VF. > > Changes: > V6: > - Fixed 1/4 patch to apply to top of net-next merged with net fixes > > [...] Here is the summary with links: - [net-next,v6,1/4] octeon_ep: add PF-VF mailbox communication https://git.kernel.org/netdev/net-next/c/cde29af9e68e - [net-next,v6,2/4] octeon_ep: PF-VF mailbox version support https://git.kernel.org/netdev/net-next/c/c130e589d50b - [net-next,v6,3/4] octeon_ep: control net framework to support VF offloads https://git.kernel.org/netdev/net-next/c/e28db8cbeba3 - [net-next,v6,4/4] octeon_ep: support firmware notifications for VFs https://git.kernel.org/netdev/net-next/c/4ebb86a97ceb You are awesome, thank you!