8–FCoE Configuration
Verifying FCoE Devices in Linux
121
AH0054602-00 A
Verifying FCoE Devices in Linux
Follow these steps to verify that the FCoE devices were detected correctly after
installing and loading the qedf kernel module.
To verify FCoE devices in Linux:
1.
Check lsmod to verify that the qedf and associated kernel modules were
loaded:
#
lsmod | grep qedf libfcoe
69632 1 qedf libfc
143360 2 qedf,libfcoe scsi_transport_fc
65536 2 qedf,libfc qed
806912 1 qedf scsi_mod
262144 14
sg,hpsa,qedf,scsi_dh_alua,scsi_dh_rdac,dm_multipath,scsi_transport_fc,
scsi_transport_sas,libfc,scsi_transport_iscsi,scsi_dh_emc,libata,sd_mod,sr_mod
2.
Check dmesg to verify that the FCoE devices were detected properly. In this
example, the two detected FCoE CNA devices are SCSI host numbers 4
and 5.
#
dmesg | grep qedf
[ 235.321185] [0000:00:00.0]: [qedf_init:3728]: QLogic FCoE Offload Driver
v8.18.8.0.
....
[ 235.322253] [0000:21:00.2]: [__qedf_probe:3142]:4: QLogic FastLinQ FCoE
Module qedf 8.18.8.0, FW 8.18.10.0
[ 235.606443] scsi host4: qedf
....
[ 235.624337] [0000:21:00.3]: [__qedf_probe:3142]:5: QLogic FastLinQ FCoE
Module qedf 8.18.8.0, FW 8.18.10.0
[ 235.886681] scsi host5: qedf
....
[ 243.991851] [0000:21:00.3]: [qedf_link_update:489]:5: LINK UP (40 GB/s).