Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
0002 /*
0003  * Copyright(c) 2018 - 2020 Intel Corporation.
0004  */
0005 
0006 #ifndef _HFI1_MSIX_H
0007 #define _HFI1_MSIX_H
0008 
0009 #include "hfi.h"
0010 
0011 /* MSIx interface */
0012 int msix_initialize(struct hfi1_devdata *dd);
0013 int msix_request_irqs(struct hfi1_devdata *dd);
0014 void msix_clean_up_interrupts(struct hfi1_devdata *dd);
0015 int msix_request_general_irq(struct hfi1_devdata *dd);
0016 int msix_request_rcd_irq(struct hfi1_ctxtdata *rcd);
0017 int msix_request_sdma_irq(struct sdma_engine *sde);
0018 void msix_free_irq(struct hfi1_devdata *dd, u8 msix_intr);
0019 
0020 /* Netdev interface */
0021 void msix_netdev_synchronize_irq(struct hfi1_devdata *dd);
0022 int msix_netdev_request_rcd_irq(struct hfi1_ctxtdata *rcd);
0023 
0024 #endif