mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

This patch implements the CN20k MBOX communication between PF and it's VFs. CN20K silicon got extra interrupt of MBOX response for trigger interrupt. Also few of the CSR offsets got changed in CN20K against prior series of silicons. Signed-off-by: Sai Krishna <saikrishnag@marvell.com> Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com> Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com> Link: https://patch.msgid.link/1749639716-13868-7-git-send-email-sbhatta@marvell.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
17 lines
435 B
C
17 lines
435 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Marvell RVU Ethernet driver
|
|
*
|
|
* Copyright (C) 2024 Marvell.
|
|
*
|
|
*/
|
|
|
|
#ifndef CN20K_H
|
|
#define CN20K_H
|
|
|
|
#include "otx2_common.h"
|
|
|
|
void cn20k_init(struct otx2_nic *pfvf);
|
|
int cn20k_register_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs);
|
|
void cn20k_disable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs);
|
|
void cn20k_enable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs);
|
|
#endif /* CN20K_H */
|