scsi: elx: libefc_sli: SLI Descriptors and Queue entries
Continue the libefc_sli SLI-4 library population. Add SLI-4 Data structures and defines for: - Buffer Descriptors (BDEs) - Scatter/Gather List elements (SGEs) - Queues and their Entry Descriptions for: Event Queues (EQs), Completion Queues (CQs), Receive Queues (RQs), and the Mailbox Queue (MQ). Link: https://lore.kernel.org/r/20210601235512.20104-3-jsmart2021@gmail.com Reviewed-by: Daniel Wagner <dwagner@suse.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Co-developed-by: Ram Vegesna <ram.vegesna@broadcom.com> Signed-off-by: Ram Vegesna <ram.vegesna@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
edba59f3cd
commit
216fc0b4b2
22
drivers/scsi/elx/include/efc_common.h
Normal file
22
drivers/scsi/elx/include/efc_common.h
Normal file
@ -0,0 +1,22 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* Copyright (C) 2021 Broadcom. All Rights Reserved. The term
|
||||
* “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
|
||||
*/
|
||||
|
||||
#ifndef __EFC_COMMON_H__
|
||||
#define __EFC_COMMON_H__
|
||||
|
||||
#include <linux/pci.h>
|
||||
|
||||
struct efc_dma {
|
||||
void *virt;
|
||||
void *alloc;
|
||||
dma_addr_t phys;
|
||||
|
||||
size_t size;
|
||||
size_t len;
|
||||
struct pci_dev *pdev;
|
||||
};
|
||||
|
||||
#endif /* __EFC_COMMON_H__ */
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user