Skip to content

Commit

Permalink
scsi: elx: libefc_sli: Queue create/destroy/parse routines
Browse files Browse the repository at this point in the history
Add service routines to create mailbox commands and add APIs to
create/destroy/parse SLI-4 EQ, CQ, RQ and MQ queues.

Link: https://lore.kernel.org/r/20210601235512.20104-5-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>
  • Loading branch information
James Smart authored and Martin K. Petersen committed Jun 16, 2021
1 parent 18be69f commit 7c5b768
Show file tree
Hide file tree
Showing 3 changed files with 1,371 additions and 0 deletions.
15 changes: 15 additions & 0 deletions drivers/scsi/elx/include/efc_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,19 @@ struct efc_dma {
struct pci_dev *pdev;
};

#define efc_log_crit(efc, fmt, args...) \
dev_crit(&((efc)->pci)->dev, fmt, ##args)

#define efc_log_err(efc, fmt, args...) \
dev_err(&((efc)->pci)->dev, fmt, ##args)

#define efc_log_warn(efc, fmt, args...) \
dev_warn(&((efc)->pci)->dev, fmt, ##args)

#define efc_log_info(efc, fmt, args...) \
dev_info(&((efc)->pci)->dev, fmt, ##args)

#define efc_log_debug(efc, fmt, args...) \
dev_dbg(&((efc)->pci)->dev, fmt, ##args)

#endif /* __EFC_COMMON_H__ */
Loading

0 comments on commit 7c5b768

Please sign in to comment.