Re: [PATCH v2 01/13] lpfc: Rework lpfc to allow different sli4 cq and eq handlers

2018-02-07 Thread Johannes Thumshirn
I first though of renameing: lpfc_sli4_eq_clr_intr -> lpfc_sli4_t2_eq_clr_intr lpfc_sli4_eq_release -> lpfc_sli4_t2_eq_release lpfc_sli4_cq_release -> lpfc_sli4_t2_cq_release and then make lpfc_sli4_eq_clr_intr, etc... wrappers over the new function pointers so and you could keep the callsites,

[PATCH v2 01/13] lpfc: Rework lpfc to allow different sli4 cq and eq handlers

2018-02-06 Thread James Smart
Up until now, an SLI-4 device had no variance in the way it handled its EQs and CQs. With newer hardware, there are now differences in doorbells and some differences in how entries are valid. Prepare the code for new hardware by creating a sli4-based callout table that can be set based on if_type.