mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
7a027b57f9
Enable the available interrupt vectors for PF in SR-IOV Mode. Only single vector entry 192 is valid of PF. This is used to notify any hardware errors and mailbox messages from VF(s). Signed-off-by: Srikanth Jampala <Jampala.Srikanth@cavium.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
13 lines
397 B
C
13 lines
397 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __NITROX_ISR_H
|
|
#define __NITROX_ISR_H
|
|
|
|
#include "nitrox_dev.h"
|
|
|
|
int nitrox_register_interrupts(struct nitrox_device *ndev);
|
|
void nitrox_unregister_interrupts(struct nitrox_device *ndev);
|
|
int nitrox_sriov_register_interupts(struct nitrox_device *ndev);
|
|
void nitrox_sriov_unregister_interrupts(struct nitrox_device *ndev);
|
|
|
|
#endif /* __NITROX_ISR_H */
|