scsi: lpfc: Fix vport create logging
authorJames Smart <jsmart2021@gmail.com>
Mon, 4 Jan 2021 18:02:36 +0000 (10:02 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 8 Jan 2021 04:02:36 +0000 (23:02 -0500)
commitff8a44bff5ef8e22cabead4ef3ab523a0e45291b
tree3879caef08c63e91f4cc0541744c2a03742b10ce
parent9ec58ec7d41a08d79d996407b03b23da69990814
scsi: lpfc: Fix vport create logging

When with testing with large numbers of npiv vports and link bounces, the
driver is flooding the messages file, even with log_verbose = 0.

The new LOG_TRACE_EVENT messages are still generating events to the
messages files.

Fix by converting the vport create msg from LOG_TRACE_EVENT to LOG_VPORT.

Link: https://lore.kernel.org/r/20210104180240.46824-12-jsmart2021@gmail.com
Co-developed-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_vport.c