]> 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)
commit3ef8db76237374b716422faf2d663761ebb343e3
tree21e3ba700c178093a8e5362fc98e57036495cce4
parent9a17e070f1494f597f9794afc799c1e48558301d
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