aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_els.c
AgeCommit message (Expand)AuthorFilesLines
12 daysscsi: lpfc: Change lpfc_hba hba_flag member into a bitmaskJustin Tee1-19/+24
2024-03-10scsi: lpfc: Define types in a union for generic void *context3 ptrJustin Tee1-9/+8
2024-03-10scsi: lpfc: Define lpfc_dmabuf type for ctx_buf ptrJustin Tee1-7/+7
2024-03-10scsi: lpfc: Define lpfc_nodelist type for ctx_ndlp ptrJustin Tee1-6/+4
2024-03-10scsi: lpfc: Release hbalock before calling lpfc_worker_wake_up()Justin Tee1-10/+10
2024-02-05scsi: lpfc: Copyright updates for 14.4.0.0 patchesJustin Tee1-1/+1
2024-02-05scsi: lpfc: Change lpfc_vport load_flag member into a bitmaskJustin Tee1-11/+11
2024-02-05scsi: lpfc: Change lpfc_vport fc_flag member into a bitmaskJustin Tee1-221/+139
2024-02-05scsi: lpfc: Change nlp state statistic counters into atomic_tJustin Tee1-4/+6
2024-02-05scsi: lpfc: Save FPIN frequency statistics upon receipt of peer cgn notificat...Justin Tee1-0/+3
2024-02-05scsi: lpfc: Allow lpfc_plogi_confirm_nport() logic to execute for Fabric nodesJustin Tee1-17/+32
2023-12-13scsi: lpfc: Move determination of vmid_flag after VMID reinitialization compl...Justin Tee1-3/+3
2023-12-13scsi: lpfc: Reinitialize an NPIV's VMID data structures after FDISCJustin Tee1-0/+8
2023-11-15scsi: lpfc: Enhance driver logging for selected discovery eventsJustin Tee1-18/+31
2023-11-15scsi: lpfc: Fix list_entry null check warning in lpfc_cmpl_els_plogi()Justin Tee1-2/+2
2023-10-13scsi: lpfc: Validate ELS LS_ACC completion payloadJustin Tee1-0/+23
2023-08-21scsi: lpfc: Do not abuse UUID APIs and LPFC_COMPRESS_VMID_SIZEAndy Shevchenko1-5/+7
2023-07-23scsi: lpfc: Abort outstanding ELS cmds when mailbox timeout error is detectedJustin Tee1-7/+18
2023-07-23scsi: lpfc: Make fabric zone discovery more robust when handling unsolicited ...Justin Tee1-6/+8
2023-07-23scsi: lpfc: Set Establish Image Pair service parameter only for Target FunctionsJustin Tee1-1/+15
2023-07-23scsi: lpfc: Remove extra ndlp kref decrement in FLOGI cmpl for loop topologyJustin Tee1-2/+1
2023-05-31scsi: lpfc: Revise NPIV ELS unsol rcv cmpl logic to drop ndlp based on nlp_stateJustin Tee1-2/+12
2023-05-08scsi: lpfc: Fix double free in lpfc_cmpl_els_logo_acc() caused by lpfc_nlp_no...Justin Tee1-23/+7
2023-03-09scsi: lpfc: Revise lpfc_error_lost_link() reason code evaluation logicJustin Tee1-7/+7
2023-03-09scsi: lpfc: Correct used_rpi count when devloss tmo fires with no recoveryJustin Tee1-11/+13
2023-03-09scsi: lpfc: Defer issuing new PLOGI if received RSCN before completing REG_LOGINJustin Tee1-3/+4
2023-03-09scsi: lpfc: Record LOGO state with discovery engine even if abortedJustin Tee1-3/+4
2023-02-21scsi: lpfc: Fix double word in commentsBo Liu1-1/+1
2023-02-21scsi: scsi_transport_fc: Add an additional flag to fc_host_fpin_rcv()Muneendra1-1/+1
2023-01-12scsi: lpfc: Copyright updates for 14.2.0.10 patchesJustin Tee1-1/+1
2023-01-12scsi: lpfc: Reinitialize internal VMID data structures after FLOGI completionJustin Tee1-0/+3
2023-01-12scsi: lpfc: Exit PRLI completion handling early if ndlp not in PRLI_ISSUE stateJustin Tee1-2/+26
2022-11-17scsi: lpfc: Fix crash involving race between FLOGI timeout and devloss handlerJustin Tee1-5/+31
2022-11-17scsi: lpfc: Remove redundant pointer 'lp'Colin Ian King1-5/+0
2022-10-22scsi: lpfc: Create a sysfs entry called lpfc_xcvr_data for transceiver infoJustin Tee1-0/+128
2022-09-15scsi: lpfc: Add reporting capability for Link Degrade SignalingJames Smart1-43/+111
2022-09-15scsi: lpfc: Fix multiple NVMe remoteport registration calls for the same NPor...James Smart1-40/+36
2022-09-15scsi: lpfc: Fix prli_fc4_req checks in PRLI handlingJames Smart1-2/+2
2022-07-07scsi: lpfc: Remove Menlo/Hornet related codeJames Smart1-9/+0
2022-07-07scsi: lpfc: Revert RSCN_MEMENTO workaround for misbehaved configurationJames Smart1-6/+2
2022-07-07scsi: lpfc: Fix lost NVMe paths during LIF bounce stress testJames Smart1-7/+8
2022-06-07scsi: lpfc: Resolve NULL ptr dereference after an ELS LOGO is abortedJames Smart1-12/+9
2022-05-25Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-377/+338
2022-05-10scsi: lpfc: Alter FPIN stat accounting logicJames Smart1-34/+15
2022-05-10scsi: lpfc: Change VMID registration to be based on fabric parametersJames Smart1-1/+2
2022-05-10scsi: lpfc: Use list_for_each_entry_safe() in rscn_recovery_check()James Smart1-2/+2
2022-05-10scsi: lpfc: Inhibit aborts if external loopback plug is insertedJames Smart1-0/+12
2022-05-10scsi: lpfc: Fill in missing ndlp kref puts in error pathsJames Smart1-6/+5
2022-05-10scsi: lpfc: Fix split code for FLOGI on FCoEJames Smart1-1/+1
2022-04-18scsi: lpfc: Refactor cleanup of mailbox commandsJames Smart1-77/+28
2022-04-18scsi: lpfc: Fix field overload in lpfc_iocbq data structureJames Smart1-223/+220
2022-04-18scsi: lpfc: Introduce FC_RSCN_MEMENTO flag for tracking post RSCN completionJames Smart1-2/+6
2022-04-18scsi: lpfc: Remove unnecessary NULL pointer assignment for ELS_RDF pathJames Smart1-1/+0
2022-04-18scsi: lpfc: Transition to NPR state upon LOGO cmpl if link down or abortedJames Smart1-0/+3
2022-04-18scsi: lpfc: Update fc_prli_sent outstanding only after guaranteed IOCB submitJames Smart1-18/+11
2022-04-18scsi: lpfc: Fix null pointer dereference after failing to issue FLOGI and PLOGIJames Smart1-16/+35
2022-04-18scsi: lpfc: Clear fabric topology flag before initiating a new FLOGIJames Smart1-0/+2
2022-04-18scsi: lpfc: Tweak message log categories for ELS/FDMI/NVMe rescanJames Smart1-1/+1
2022-03-24Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-568/+945
2022-03-15scsi: lpfc: Copyright updates for 14.2.0.0 patchesJames Smart1-1/+1
2022-03-15scsi: lpfc: SLI path split: Refactor misc ELS pathsJames Smart1-86/+138
2022-03-15scsi: lpfc: SLI path split: Refactor VMID pathsJames Smart1-6/+8
2022-03-15scsi: lpfc: SLI path split: Refactor FDISC pathsJames Smart1-18/+29
2022-03-15scsi: lpfc: SLI path split: Refactor LS_RJT pathsJames Smart1-5/+15
2022-03-15scsi: lpfc: SLI path split: Refactor LS_ACC pathsJames Smart1-67/+177
2022-03-15scsi: lpfc: SLI path split: Refactor the RSCN/SCR/RDF/EDC/FARPR pathsJames Smart1-34/+81
2022-03-15scsi: lpfc: SLI path split: Refactor PLOGI/PRLI/ADISC/LOGO pathsJames Smart1-80/+198
2022-03-15scsi: lpfc: SLI path split: Refactor base ELS paths and the FLOGI pathJames Smart1-207/+233
2022-03-15scsi: lpfc: SLI path split: Introduce lpfc_prep_wqeJames Smart1-0/+2
2022-03-15scsi: lpfc: SLI path split: Refactor lpfc_iocbqJames Smart1-70/+69
2022-02-14scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loopJames Smart1-1/+19
2021-12-16Merge branch '5.16/scsi-fixes' into 5.17/scsi-stagingMartin K. Petersen1-7/+2
2021-12-06scsi: lpfc: Fix NPIV port deletion crashJames Smart1-1/+10
2021-12-06scsi: lpfc: Fix lpfc_force_rscn ndlp kref imbalanceJames Smart1-5/+0
2021-12-06scsi: lpfc: Fix leaked lpfc_dmabuf mbox allocations with NPIVJames Smart1-1/+5
2021-11-23scsi: lpfc: Fix non-recovery of remote ports following an unsolicited LOGOJames Smart1-7/+2
2021-10-20scsi: lpfc: Allow fabric node recovery if recovery is in progress before devlossJames Smart1-2/+5
2021-10-20scsi: lpfc: Allow PLOGI retry if previous PLOGI was abortedJames Smart1-0/+13
2021-10-12Merge branch '5.15/scsi-fixes' into 5.16/scsi-stagingMartin K. Petersen1-5/+5
2021-09-22scsi: lpfc: Fix sprintf() overflow in lpfc_display_fpin_wwpn()Dan Carpenter1-1/+1
2021-09-14scsi: lpfc: Fix NVMe I/O failover to non-optimized pathJames Smart1-0/+1
2021-09-14scsi: lpfc: Don't remove ndlp on PRLI errors in P2P modeJames Smart1-0/+7
2021-09-14scsi: lpfc: Fix hang on unload due to stuck fport nodeJames Smart1-0/+14
2021-09-14scsi: lpfc: Fix premature rpi release for unsolicited TPLS and LS_RJTJames Smart1-3/+5
2021-09-14scsi: lpfc: Don't release final kref on Fport node while ABTS outstandingJames Smart1-6/+5
2021-09-13scsi: lpfc: Fix CPU to/from endian warnings introduced by ELS processingJames Smart1-4/+4
2021-08-24scsi: lpfc: Add cmf_info sysfs entryJames Smart1-1/+1
2021-08-24scsi: lpfc: Add support for maintaining the cm statistics bufferJames Smart1-0/+10
2021-08-24scsi: lpfc: Add support for the CM frameworkJames Smart1-4/+69
2021-08-24scsi: lpfc: Add EDC ELS supportJames Smart1-4/+633
2021-08-24scsi: lpfc: Expand FPIN and RDF receive loggingJames Smart1-41/+308
2021-07-27scsi: lpfc: Add 256 Gb link speed supportJames Smart1-0/+8
2021-07-18scsi: lpfc: Skip reg_vpi when link is down for SLI3 in ADISC cmpl pathJames Smart1-0/+8
2021-07-18scsi: lpfc: Call discovery state machine when handling PLOGI/ADISC completionsJames Smart1-11/+4
2021-07-18scsi: lpfc: Delay unregistering from transport until GIDFT or ADISC completesJames Smart1-26/+40
2021-07-18scsi: lpfc: Remove REG_LOGIN check requirement to issue an ELS RDFJames Smart1-12/+0
2021-07-18scsi: lpfc: Fix memory leaks in error paths while issuing ELS RDF/SCR requestJames Smart1-0/+2
2021-07-18scsi: lpfc: Fix NULL ptr dereference with NPIV ports for RDF handlingJames Smart1-5/+2
2021-07-18scsi: lpfc: Discovery state machine fixes for LOGO handlingJames Smart1-0/+12
2021-06-10scsi: lpfc: vmid: Implement ELS commands for appidGaurav Srivastava1-4/+362
2021-05-21scsi: lpfc: Reregister FPIN types if ELS_RDF is received from fabric controllerJames Smart1-0/+75
2021-05-21scsi: lpfc: Fix node handling for Fabric Controller and Domain ControllerJames Smart1-13/+124
2021-05-21scsi: lpfc: Fix Node recovery when driver is handling simultaneous PLOGIsJames Smart1-3/+18
2021-05-21scsi: lpfc: Fix "Unexpected timeout" error in direct attach topologyJames Smart1-0/+9
2021-05-21scsi: lpfc: Fix unreleased RPIs when NPIV ports are createdJames Smart1-16/+63
2021-04-13scsi: lpfc: Fix various trivial errors in comments and log messagesJames Smart1-2/+2
2021-04-13scsi: lpfc: Fix use-after-free on unused nodes after port swapJames Smart1-0/+18
2021-04-13scsi: lpfc: Fix lack of device removal on port swaps with PRLIsJames Smart1-3/+1
2021-04-13scsi: lpfc: Fix NMI crash during rmmod due to circular hbalock dependencyJames Smart1-15/+9
2021-04-13scsi: lpfc: Fix reference counting errors in lpfc_cmpl_els_rsp()James Smart1-63/+1
2021-03-24scsi: lpfc: Fix a typoBhaskar Chowdhury1-1/+1
2021-03-04scsi: lpfc: Correct function header comments related to ndlp reference countingJames Smart1-88/+71
2021-03-04scsi: lpfc: Fix ADISC handling that never frees nodesJames Smart1-26/+7
2021-03-04scsi: lpfc: Fix dropped FLOGI during pt2pt discovery recoveryJames Smart1-2/+8
2021-03-04scsi: lpfc: Fix status returned in lpfc_els_retry() error exit pathJames Smart1-1/+1
2021-03-04scsi: lpfc: Fix use after free in lpfc_els_free_iocbJames Smart1-171/+177
2021-03-04scsi: lpfc: Fix null pointer dereference in lpfc_prep_els_iocb()James Smart1-26/+24
2021-03-04scsi: lpfc: Fix lpfc_els_retry() possible null pointer dereferenceJames Smart1-1/+1
2021-03-04scsi: lpfc: Fix FLOGI failure due to accessing a freed nodeJames Smart1-1/+2
2021-03-04scsi: lpfc: Fix stale node accesses on stale RRQ requestJames Smart1-24/+8
2021-01-29scsi: lpfc: Fix 'physical' typosBjorn Helgaas1-1/+1
2021-01-07scsi: lpfc: Implement health checking when aborting I/OJames Smart1-0/+9
2021-01-07scsi: lpfc: Fix target reset failingJames Smart1-0/+7
2021-01-07scsi: lpfc: Fix PLOGI S_ID of 0 on pt2pt configJames Smart1-26/+5
2020-12-01scsi: lpfc: Correct null ndlp reference on routine exitJames Smart1-1/+2
2020-11-19scsi: lpfc: Fix set but not used warnings from Rework remote port lock handlingJames Smart1-6/+0
2020-11-19scsi: lpfc: Fix memory leak on lcb_contextColin Ian King1-3/+5
2020-11-17scsi: lpfc: Convert abort handling to SLI-3 and SLI-4 handlersJames Smart1-3/+4
2020-11-17scsi: lpfc: Fix NPIV Fabric Node reference countingJames Smart1-22/+25
2020-11-17scsi: lpfc: Fix NPIV discovery and Fabric Node detectionJames Smart1-0/+4
2020-11-17scsi: lpfc: Unsolicited ELS leaves node in incorrect state while dropping itJames Smart1-11/+22
2020-11-17scsi: lpfc: Remove ndlp when a PLOGI/ADISC/PRLI/REG_RPI ultimately failsJames Smart1-5/+61
2020-11-17scsi: lpfc: Rework remote port lock handlingJames Smart1-88/+80
2020-11-17scsi: lpfc: Fix refcounting around SCSI and NVMe transport APIsJames Smart1-60/+29
2020-11-17scsi: lpfc: Fix removal of SCSI transport device get and put on dev structureJames Smart1-4/+0
2020-11-17scsi: lpfc: Rework locations of ndlp reference takingJames Smart1-240/+453
2020-11-17scsi: lpfc: Rework remote port ref counting and node freeingJames Smart1-157/+53
2020-10-26scsi: lpfc: Add FDMI Vendor MIB supportJames Smart1-0/+6
2020-09-08Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Linus Torvalds1-1/+6
2020-08-31scsi: lpfc: Extend the RDF FPIN Registration descriptor for additional eventsJames Smart1-0/+3
2020-08-31scsi: lpfc: Fix FLOGI/PLOGI receive race condition in pt2pt discoveryJames Smart1-1/+3
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-04scsi: lpfc: Fix retry of PRLI when status indicates its unsupportedDick Kennedy1-3/+7
2020-07-24scsi: lpfc: Fix some function parameter descriptionsLee Jones1-6/+6
2020-07-02scsi: lpfc: Add an internal trace log bufferDick Kennedy1-62/+69
2020-05-26scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited eventXiyu Yang1-0/+2
2020-04-22scsi: lpfc: remove duplicate unloading checksJames Smart1-8/+2
2020-02-24scsi: lpfc: fix spelling mistake "Notication" -> "Notification"Colin Ian King1-1/+1
2020-02-18scsi: lpfc: add RDF registration and Link Integrity FPIN loggingJames Smart1-20/+304
2020-02-10scsi: lpfc: Copyright updates for 12.6.0.4 patchesJames Smart1-1/+1
2020-02-10scsi: lpfc: Remove handler for obsolete ELS - Read Port Status (RPS)James Smart1-188/+5
2019-11-12scsi: lpfc: fix: Coverity: lpfc_cmpl_els_rsp(): Null pointer dereferencesJames Smart1-1/+1
2019-11-06scsi: lpfc: Fix unexpected error messages during RSCN handlingJames Smart1-2/+19
2019-10-24scsi: lpfc: Add additional discovery log messagesJames Smart1-2/+8
2019-10-24scsi: lpfc: fix coverity error of dereference after null checkJames Smart1-2/+2
2019-09-30scsi: lpfc: Fix spinlock_irq issues in lpfc_els_flush_cmd()James Smart1-7/+9
2019-09-30scsi: lpfc: Fix list corruption in lpfc_sli_get_iocbqJames Smart1-0/+3
2019-09-30scsi: lpfc: Fix coverity errors on NULL pointer checksJames Smart1-0/+5
2019-08-19scsi: lpfc: Add NVMe sequence level error recovery supportJames Smart1-0/+4
2019-08-19scsi: lpfc: Add MDS driver loopback diagnostics supportJames Smart1-5/+6
2019-08-19scsi: lpfc: Migrate to %px and %pf in kernel print callsJames Smart1-2/+2
2019-08-19scsi: lpfc: Fix coverity warningsJames Smart1-5/+5
2019-08-19scsi: lpfc: Fix driver nvme rescan loggingJames Smart1-2/+10
2019-08-19scsi: lpfc: Fix FLOGI handling across multiple link up/down conditionsJames Smart1-3/+72
2019-07-11Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+1
2019-06-21lpfc: add support for translating an RSCN rcv into a discovery rescanJames Smart1-0/+5
2019-06-21lpfc: add support to generate RSCN events for nportJames Smart1-0/+122
2019-06-18scsi: lpfc: Fix PT2PT PLOGI collison stopping discoveryJames Smart1-0/+1
2019-05-13scsi: lpfc: add check for loss of ndlp when sending RRQJames Smart1-1/+4
2019-04-08scsi: lpfc: add support for posting FC events on FPIN receptionJames Smart1-0/+8
2019-04-03scsi: lpfc: Remove set-but-not-used variablesBart Van Assche1-14/+10
2019-04-03scsi: lpfc: Annotate switch/case fall-throughBart Van Assche1-1/+1
2019-02-05scsi: lpfc: Update 12.2.0.0 file copyrights to 2019James Smart1-1/+1
2019-02-05scsi: lpfc: Fix default driver parameter collision for allowing NPIV supportJames Smart1-2/+2
2018-12-12scsi: lpfc: Enable Management features for IF_TYPE=6James Smart1-1/+1
2018-12-12Revert "scsi: lpfc: ls_rjt erroneus FLOGIs"Martin K. Petersen1-20/+0
2018-12-07scsi: lpfc: Defer LS_ACC to FLOGI on point to point loginsJames Smart1-3/+53
2018-12-07scsi: lpfc: ls_rjt erroneus FLOGIsJames Smart1-0/+20
2018-12-07scsi: lpfc: rport port swap discovery issue.James Smart1-8/+35
2018-12-07scsi: lpfc: Fix kernel Oops due to null pring pointersJames Smart1-0/+2
2018-12-07scsi: lpfc: Fix discovery failures during port failovers with lots of vportsJames Smart1-11/+58
2018-12-07scsi: lpfc: refactor mailbox structure context fieldsJames Smart1-32/+32
2018-11-06scsi: lpfc: add Trunking supportJames Smart1-0/+2
2018-11-06scsi: lpfc: Implement GID_PT on Nameserver query to support faster failoverJames Smart1-1/+9
2018-11-06scsi: lpfc: Correct loss of fc4 type on remote port address changeJames Smart1-4/+23
2018-11-06scsi: lpfc: Fix odd recovery in duplicate FLOGIs in point-to-pointJames Smart1-12/+54
2018-11-06scsi: lpfc: Correct LCB RJT handlingJames Smart1-0/+3
2018-11-06scsi: lpfc: fcoe: Fix link down issue after 1000+ link bouncesJames Smart1-0/+2
2018-11-06scsi: lpfc: Reset link or adapter instead of doing infinite nameserver PLOGI ...James Smart1-1/+82
2018-11-06scsi: lpfc: Fix LOGO/PLOGI handling when triggerd by ABTS Timeout eventJames Smart1-28/+21
2018-09-11scsi: lpfc: Correct irq handling via locks when taking adapter offlineJames Smart1-0/+3
2018-08-02scsi: lpfc: Correct LCB ACCept payloadJames Smart1-0/+2
2018-07-10scsi: lpfc: Revise copyright for new company languageJames Smart1-1/+1
2018-07-10scsi: lpfc: Support duration field in Link Cable Beacon V1 commandJames Smart1-17/+47
2018-04-18scsi: lpfc: Fix driver not recovering NVME rports during target link faultsJames Smart1-1/+0
2018-03-12scsi: lpfc: Fix SCSI lun discovery when port configured for both SCSI and NVMEJames Smart1-0/+1
2018-02-22scsi: lpfc: Add 64G link speed supportJames Smart1-0/+5
2018-02-12scsi: lpfc: Update 11.4.0.7 modified files for 2018 CopyrightJames Smart1-1/+1
2018-02-12scsi: lpfc: Indicate CONF support in NVMe PRLIJames Smart1-1/+2
2018-01-03scsi: lpfc: fix a couple of minor indentation issuesColin Ian King1-4/+4