add PF-VF mailbox support
From: | Shinas Rasheed <srasheed-AT-marvell.com> | |
To: | <netdev-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org> | |
Subject: | [PATCH net-next v1 0/4] add PF-VF mailbox support | |
Date: | Thu, 07 Dec 2023 23:03:48 -0800 | |
Message-ID: | <20231208070352.2606192-1-srasheed@marvell.com> | |
Cc: | <hgani-AT-marvell.com>, <vimleshk-AT-marvell.com>, <egallen-AT-redhat.com>, <mschmidt-AT-redhat.com>, <pabeni-AT-redhat.com>, <horms-AT-kernel.org>, <kuba-AT-kernel.org>, <davem-AT-davemloft.net>, <wizhao-AT-redhat.com>, <kheib-AT-redhat.com>, <konguyen-AT-redhat.com>, Shinas Rasheed <srasheed-AT-marvell.com> | |
Archive-link: | Article |
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. 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 -- 2.25.1