Actions
Feature #12350
closedAdd support for Emulex LPe31000 and LPe32000 fibre channel chipsets
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
The Lpe31000/32000 are 16Gb and 32Gb fibre channel adapters. The use the LancerG6 chipset.
The driver needs additional support for the 32Gb (currently it's up to 16Gb) and some revisions fro LancerG6.
Updated by Paul Winder over 2 years ago
Tested in a fibre-channel network connected as an initiator to a 3PAR.
Also, tested in a point-to-point setup. One Illumos as initiator the other target.
In both cases tests involved creating raidz zpools and moving lots of data around.
3PAR:
# fcinfo hba-port HBA Port WWN: 100000fd454e7ba7 Port Mode: Initiator Port ID: 10a00 OS Device Name: /dev/cfg/c4 Manufacturer: Emulex Model: SN1600E2P Firmware Version: 12.4.270.5 (xe501.grp) FCode/BIOS Version: Boot:12.4.270.5 Serial Number: 5CF72004DX Driver Name: emlxs Driver Version: 2.80.8.0 (2012.09.17.15.45) Type: N-port State: online Supported Speeds: 8Gb 16Gb 32Gb Current Speed: 32Gb Node WWN: 200000fd454e7ba7 NPIV Not Supported HBA Port WWN: 100000fd454e7ba6 Port Mode: Initiator Port ID: 11600 OS Device Name: /dev/cfg/c3 Manufacturer: Emulex Model: SN1600E2P Firmware Version: 12.4.270.5 (xe501.grp) FCode/BIOS Version: Boot:12.4.270.5 Serial Number: 5CF72004DX Driver Name: emlxs Driver Version: 2.80.8.0 (2012.09.17.15.45) Type: N-port State: online Supported Speeds: 8Gb 16Gb 32Gb Current Speed: 32Gb Node WWN: 200000fd454e7ba6 NPIV Not Supported # mpathadm list initiator-port Initiator Port: 0x0 Initiator Port: iqn.1986-03.com.sun:01:ffffffffffff.5e58cea9,4000002a00ff Initiator Port: 100000fd454e7ba7 Initiator Port: 100000fd454e7ba6 # mpathadm list lu /dev/rdsk/c0t50000F0A07703490d0s2 Total Path Count: 1 Operational Path Count: 1 /scsi_vhci/enclosure@g50002acfffffb33b Total Path Count: 4 Operational Path Count: 4 /dev/rdsk/c0t60002AC000000000000000080000B33Bd0s2 Total Path Count: 4 Operational Path Count: 4 /dev/rdsk/c0t60002AC000000000000000090000B33Bd0s2 Total Path Count: 4 Operational Path Count: 4
And Illumos target:
root@omniosce:~# fcinfo hba-port HBA Port WWN: 10009cdc7172c207 Port Mode: Target Port ID: ea OS Device Name: Not Applicable Manufacturer: Emulex Model: SN1200E2P Firmware Version: 11.4.334.10 (xe501.grp) FCode/BIOS Version: none Serial Number: 5CF8180729 Driver Name: emlxs Driver Version: 2.80.8.0 (2020.02.28.28.16) Type: point-to-point State: online Supported Speeds: 4Gb 8Gb 16Gb Current Speed: 16Gb Node WWN: 20009cdc7172c207 HBA Port WWN: 10009cdc7172c208 Port Mode: Target Port ID: eb OS Device Name: Not Applicable Manufacturer: Emulex Model: SN1200E2P Firmware Version: 11.4.334.10 (xe501.grp) FCode/BIOS Version: none Serial Number: 5CF8180729 Driver Name: emlxs Driver Version: 2.80.8.0 (2020.02.28.28.16) Type: point-to-point State: online Supported Speeds: 4Gb 8Gb 16Gb Current Speed: 16Gb Node WWN: 20009cdc7172c208
And the initiator connected to it:
# cfgadm -al -o show_FCP_dev Ap_Id Type Receptacle Occupant Condition c2 fc-pt_to_pt connected configured unknown c2::10009cdc7172c207,0 disk connected configured unknown c2::10009cdc7172c207,4 disk connected configured unknown c2::10009cdc7172c207,5 disk connected configured unknown c2::10009cdc7172c207,6 disk connected configured unknown c3 fc-pt_to_pt connected configured unknown c3::10009cdc7172c208,0 disk connected configured unknown c3::10009cdc7172c208,4 disk connected configured unknown c3::10009cdc7172c208,5 disk connected configured unknown c3::10009cdc7172c208,6 disk connected configured unknown # mpathadm list lu /dev/rdsk/c0t5002538A079013D0d0s2 Total Path Count: 1 Operational Path Count: 1 /dev/rdsk/c0t5002538A47843ED0d0s2 Total Path Count: 1 Operational Path Count: 1 /dev/rdsk/c0t600144F0BD92F06900005E62598B0001d0s2 Total Path Count: 2 Operational Path Count: 2 /dev/rdsk/c0t600144F0BD92F06900005E6259910004d0s2 Total Path Count: 2 Operational Path Count: 2 /dev/rdsk/c0t600144F0BD92F06900005E62598F0003d0s2 Total Path Count: 2 Operational Path Count: 2 /dev/rdsk/c0t600144F0BD92F06900005E62598D0002d0s2 Total Path Count: 2 Operational Path Count: 2 # zpool create corona raidz c0t600144F0BD92F06900005E62598B0001d0 c0t600144F0BD92F06900005E6259910004d0 c0t600144F0BD92F06900005E62598F0003d0 c0t600144F0BD92F06900005E62598D0002d0 # zpool status corona pool: corona state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM corona ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 c0t600144F0BD92F06900005E62598B0001d0 ONLINE 0 0 0 c0t600144F0BD92F06900005E6259910004d0 ONLINE 0 0 0 c0t600144F0BD92F06900005E62598F0003d0 ONLINE 0 0 0 c0t600144F0BD92F06900005E62598D0002d0 ONLINE 0 0 0 errors: No known data errors
Updated by Electric Monk over 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit a3170057524922242772a15fbeb3e91f5f8d4744
commit a3170057524922242772a15fbeb3e91f5f8d4744 Author: Paul Winder <pwinder@racktopsystems.com> Date: 2020-03-16T14:49:02.000Z 12350 Add support for Emulex LPe31000 and LPe32000 fibre channel chipsets 12351 Remove the 32bit DMA restrictions in the emlxs driver Reviewed by: Garrett D'Amore <gdamore@racktopsystems.com> Reviewed by: Albert Lee <alee@racktopsystems.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
Actions