mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 08:35:08 +08:00
145eba1aae
use SPDX-License-Identifier instead of a verbose license text Link: https://lore.kernel.org/r/20210823042622.109-1-caihuoqing@baidu.com Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
25 lines
714 B
C
25 lines
714 B
C
/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
|
|
/*
|
|
* Copyright(c) 2018 - 2020 Intel Corporation.
|
|
*/
|
|
|
|
#ifndef _HFI1_MSIX_H
|
|
#define _HFI1_MSIX_H
|
|
|
|
#include "hfi.h"
|
|
|
|
/* MSIx interface */
|
|
int msix_initialize(struct hfi1_devdata *dd);
|
|
int msix_request_irqs(struct hfi1_devdata *dd);
|
|
void msix_clean_up_interrupts(struct hfi1_devdata *dd);
|
|
int msix_request_general_irq(struct hfi1_devdata *dd);
|
|
int msix_request_rcd_irq(struct hfi1_ctxtdata *rcd);
|
|
int msix_request_sdma_irq(struct sdma_engine *sde);
|
|
void msix_free_irq(struct hfi1_devdata *dd, u8 msix_intr);
|
|
|
|
/* Netdev interface */
|
|
void msix_netdev_synchronize_irq(struct hfi1_devdata *dd);
|
|
int msix_netdev_request_rcd_irq(struct hfi1_ctxtdata *rcd);
|
|
|
|
#endif
|