]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qedf: Enable basic FDMI information.
authorChad Dupuis <chad.dupuis@cavium.com>
Wed, 31 May 2017 13:33:48 +0000 (06:33 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 00:48:05 +0000 (20:48 -0400)
commitc1b29c5d6e101710198fdf0e6738423c97491e81
tree21e3ba700c178093a8e5362fc98e57036495cce4
parentf469152f7c2f64ab465b68b2be82220e768971e7
scsi: qedf: Enable basic FDMI information.

For libfc to register FDMI attributes we need to do two things:

- Set the appropriate fc_host attributes that libfc will use to form the
  FDMI registration commands
- Set lport->fdmi_enabled to 1

Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_main.c