]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lpfc: Fix the FLOGI discovery logic to comply with T11 standards
authorJames Smart <james.smart@avagotech.com>
Wed, 16 Dec 2015 23:11:53 +0000 (18:11 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 26 Feb 2016 02:37:54 +0000 (18:37 -0800)
commit396b91a57a8ca5fb52266a98f33cafbb9113b400
treec7cc715851126430e81ed8a0573d5da02aba2bc8
parent1ad57a27ac8150991164fff294327b4f3d54325f
lpfc: Fix the FLOGI discovery logic to comply with T11 standards

Fix the FLOGI discovery logic to comply with T11 standards

We weren't properly setting fabric parameters, such as R_A_TOV and E_D_TOV,
when we registered the vfi object in default configs and pt2pt configs.
Revise to now pass service params with the values to the firmware and
ensure they are reset on link bounce. Required reworking the call sequence
in the discovery threads.

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit d6de08cc46269899988b4f40acc7337279693d4b)

Orabug: 22493326

Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/scsi/lpfc/lpfc_crtn.h
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_nportdisc.c