Project

General

Profile

Actions

Feature #15391

closed

Add support for Emulex LPe35000/LPe36000 32Gb/64Gb fibre channel chipsets

Added by Carsten Grzemba over 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

The LPe35000/36000 are 32Gb and 64Gb fibre channel adapters. The use the LancerG7 chipset.

The driver needs additional support for the new SLI Interface Type 6

Actions #1

Updated by Carsten Grzemba 10 months ago

I have updated the driver and have a working version here:
https://github.com/cgrzemba/illumos-gate/tree/r151046-emlxs

If there anyone how uses Emulex HBA, please test. Because there are also older SLI4 HBS (LPe1600x and newer) could be affected from the update, there tests are also of interest.

Actions #2

Updated by Electric Monk 5 months ago

  • Gerrit CR set to 3235
Actions #3

Updated by Carsten Grzemba 5 months ago

I tested that the driver is still working with the already supported hardware
7101684, Oracle 16GFC LP Universal HBA (disabled the ORACLE filter for test)
LPe12002-M8

the new code SLI4 IF6
Emulex LPe35002-M2-D 2-Port 32Gb Fibre Channel Adapter

The emlxs driver is in production on LPe35002-M2-D
- 16GB FC-Fabric
- targets are disks and tapes.

fcinfo hba-port
HBA Port WWN: 100000109bf847f6
Port Mode: Initiator
Port ID: 485300
OS Device Name: /dev/cfg/c1
Manufacturer: Emulex
Model: LPe35002-M2-D
Firmware Version: 14.2.566.24 (xe601.grp)
FCode/BIOS Version: Boot:14.2.566.24
Serial Number: xxxxxxxxxxxxxxxxxxxxx
Driver Name: emlxs
Driver Version: 2.80.9.0 (2023.06.20.09.09)
Type: N-port
State: online
Supported Speeds: 8Gb 16Gb 32Gb
Current Speed: 16Gb
Node WWN: 200000109bf847f6
NPIV Not Supported
HBA Port WWN: 100000109bf7e263
Port Mode: Initiator
Port ID: 485200
OS Device Name: /dev/cfg/c4
Manufacturer: Emulex
Model: LPe35002-M2-D
Firmware Version: 14.2.566.24 (xe601.grp)
FCode/BIOS Version: Boot:14.2.566.24
Serial Number: xxxxxxxxxxxxxxxxxxxxx
Driver Name: emlxs
Driver Version: 2.80.9.0 (2023.06.20.09.09)
Type: N-port
State: offline
Supported Speeds: 8Gb 16Gb 32Gb
Current Speed: not established
Node WWN: 200000109bf7e263
NPIV Not Supported
HBA Port WWN: 100000109bf847f7
Port Mode: Initiator
Port ID: 955800
OS Device Name: /dev/cfg/c2
Manufacturer: Emulex
Model: LPe35002-M2-D
Firmware Version: 14.2.566.24 (xe601.grp)
FCode/BIOS Version: Boot:14.2.566.24
Serial Number: xxxxxxxxxxxxxxxxxxxxxxx
Driver Name: emlxs
Driver Version: 2.80.9.0 (2023.06.20.09.09)
Type: N-port
State: online
Supported Speeds: 8Gb 16Gb 32Gb
Current Speed: 16Gb
Node WWN: 200000109bf847f7
NPIV Not Supported
HBA Port WWN: 100000109bf7e264
Port Mode: Initiator
Port ID: 955700
OS Device Name: /dev/cfg/c5
Manufacturer: Emulex
Model: LPe35002-M2-D
Firmware Version: 14.2.566.24 (xe601.grp)
FCode/BIOS Version: Boot:14.2.566.24
Serial Number: xxxxxxxxxxxxxxxxxxxx
Driver Name: emlxs
Driver Version: 2.80.9.0 (2023.06.20.09.09)
Type: N-port
State: online
Supported Speeds: 8Gb 16Gb 32Gb
Current Speed: 16Gb
Node WWN: 200000109bf7e264
NPIV Not Supported

iostat -xnzM 2 2
extended device statistics
r/s w/s Mr/s Mw/s wait actv wsvc_t asvc_t %w %b device
1.3 40.2 0.0 9.7 3.0 0.0 73.3 1.2 2 2 rpoolsata
79.0 0.1 0.1 0.0 0.0 0.0 0.0 0.3 0 3 c0t60050763808105B2A800000000000005d0
1548.4 0.0 96.8 0.0 10.5 21.8 6.8 14.1 7 14 c0t60050763808105B2A800000000000004d0
1548.4 0.0 96.8 0.0 10.6 21.8 6.8 14.1 7 14 c0t60050763808105B2A800000000000003d0
1548.4 0.0 96.8 0.0 10.6 21.8 6.8 14.1 7 14 c0t60050763808105B2A800000000000002d0
1548.6 0.0 96.8 0.0 10.6 21.8 6.8 14.0 7 14 c0t60050763808105B2A800000000000001d0
24.7 7.3 0.2 0.0 0.0 0.0 0.0 0.4 0 1 c0t60050763808105B2A800000000000006d0
2847.0 57.2 176.7 3.6 10.1 19.7 3.5 6.8 7 27 c0t60050763808105B2A80000000000000Ad0
2847.0 57.2 176.7 3.6 10.2 19.8 3.5 6.8 7 27 c0t60050763808105B2A800000000000009d0
10.2 0.0 0.0 0.0 0.0 0.0 0.0 0.2 0 0 c0t60050763808105B2A80000000000000Ed0
134.4 67.6 4.8 10.8 0.0 0.0 0.1 0.2 2 4 c8t3F4EE08062C0330Ed0
0.7 68.6 0.0 10.8 0.0 0.0 0.3 0.3 2 2 c8t3F4EE08062C0330Fd0
0.0 154.3 0.0 38.6 0.0 0.1 0.0 0.6 0 9 105
0.0 64.4 0.0 16.1 0.0 0.0 0.0 0.7 0 4 108
0.0 14.5 0.0 3.6 0.0 0.0 0.0 0.9 0 1 137
0.0 118.5 0.0 29.6 0.0 0.1 0.0 0.6 0 7 121
0.0 22.9 0.0 5.7 0.0 0.0 0.0 0.5 0 1 140
0.0 93.1 0.0 23.3 0.0 0.1 0.0 0.6 0 6 153
0.0 19.9 0.0 5.0 0.0 0.0 0.0 0.5 0 1 124
0.0 88.3 0.0 22.1 0.0 0.1 0.0 0.7 0 6 156
0.0 420.6 0.0 105.1 0.0 0.3 0.0 0.7 0 31 157
0.0 413.2 0.0 103.3 0.0 0.3 0.0 0.7 0 31 128
0.0 411.2 0.0 102.8 0.0 0.3 0.0 0.7 0 30 141
0.0 357.0 0.0 89.3 0.0 0.3 0.0 0.8 0 28 109
0.0 110.0 0.0 27.5 0.0 0.1 0.0 1.1 0 12 112
0.0 132.9 0.0 33.2 0.0 0.1 0.0 1.0 0 13 144
28.7 274.9 7.2 68.7 0.0 0.2 0.0 0.8 0 23 125
extended device statistics
r/s w/s Mr/s Mw/s wait actv wsvc_t asvc_t %w %b device
6.0 0.0 0.1 0.0 0.0 0.0 0.0 5.5 0 2 c0t60050763808105B2A800000000000005d0
6289.0 0.0 393.1 0.0 33.3 69.6 5.3 11.1 24 59 c0t60050763808105B2A800000000000004d0
6408.6 0.0 400.5 0.0 31.5 70.2 4.9 11.0 24 60 c0t60050763808105B2A800000000000003d0
6282.5 0.0 392.6 0.0 33.3 68.9 5.3 11.0 24 58 c0t60050763808105B2A800000000000002d0
6401.6 0.0 400.0 0.0 32.5 69.7 5.1 10.9 24 60 c0t60050763808105B2A800000000000001d0
1.0 0.0 0.0 0.0 0.0 0.0 0.0 0.3 0 0 c0t60050763808105B2A800000000000006d0
1985.8 0.0 81.5 0.0 0.0 2.2 0.0 1.1 0 45 c0t60050763808105B2A80000000000000Ad0
2010.8 0.0 81.6 0.0 0.0 2.4 0.0 1.2 0 47 c0t60050763808105B2A800000000000009d0
0.0 487.7 0.0 61.0 0.1 0.1 0.1 0.3 7 13 c8t3F4EE08062C0330Ed0
0.0 487.7 0.0 61.0 0.1 0.1 0.1 0.3 7 13 c8t3F4EE08062C0330Fd0
0.0 837.8 0.0 209.5 0.0 0.9 0.0 1.1 0 92 157
0.0 938.4 0.0 234.6 0.0 0.9 0.0 1.0 0 93 128
0.0 840.3 0.0 210.1 0.0 0.9 0.0 1.1 0 94 141
0.0 941.4 0.0 235.3 0.0 0.9 0.0 1.0 0 93 109
0.0 840.3 0.0 210.1 0.0 0.9 0.0 1.1 0 94 112
0.0 943.9 0.0 236.0 0.0 0.9 0.0 1.0 0 93 144
0.0 943.4 0.0 235.8 0.0 0.9 0.0 1.0 0 93 125

luxadm -e dump_map /dev/cfg/c1
Pos Port_ID Hard_Addr Port WWN Node WWN Type
0 482d00 0 500507680d063b24 500507680d023b24 0x0 (Disk device)
1 482e00 0 500507680d063b25 500507680d023b25 0x0 (Disk device)
2 485300 0 100000109bf847f6 200000109bf847f6 0x1f (Unknown Type,Host Bus Adapter)

luxadm -e dump_map /dev/cfg/c5
Pos Port_ID Hard_Addr Port WWN Node WWN Type
0 954700 0 500104f000bd62fc 500104f000bd62fb 0x1 (Tape device)
1 954900 0 500104f000bd635c 500104f000bd635b 0x1 (Tape device)
2 953800 0 500104f000bd62e1 500104f000bd62e0 0x1 (Tape device)
3 953c00 0 500104f000bd6341 500104f000bd6340 0x1 (Tape device)
4 953d00 0 500104f000bd62e4 500104f000bd62e3 0x1 (Tape device)
5 952900 0 500104f000bd6344 500104f000bd6343 0x1 (Tape device)
6 955200 0 500104f000bd6305 500104f000bd6304 0x1 (Tape device)
7 955100 0 500104f000bd6365 500104f000bd6364 0x1 (Tape device)
8 954600 0 500104f000bd62cc 500104f000bd62cb 0x1 (Tape device)
9 954800 0 500104f000bd632c 500104f000bd632b 0x1 (Tape device)
10 953b00 0 500104f000bd6371 500104f000bd6370 0x1 (Tape device)
11 953a00 0 500104f000bd6311 500104f000bd6310 0x1 (Tape device)
12 952b00 0 500104f000bd62b4 500104f000bd62b3 0x1 (Tape device)
13 954f00 0 500104f000bd62d5 500104f000bd62d4 0x1 (Tape device)
14 952a00 0 500104f000bd6314 500104f000bd6313 0x1 (Tape device)
15 955000 0 500104f000bd6335 500104f000bd6334 0x1 (Tape device)
16 955700 0 100000109bf7e264 200000109bf7e264 0x1f (Unknown Type,Host Bus Adapter)

Actions #4

Updated by Electric Monk 4 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit e2d1a4340d8c7e04c758949b4fb4b1934fcf9330

commit  e2d1a4340d8c7e04c758949b4fb4b1934fcf9330
Author: Carsten Grzemba <cgrzemba@opencsw.org>
Date:   2024-02-14T18:01:28.000Z

    15391 Add support for Emulex LPe35000/LPe36000 32Gb/64Gb fibre channel chipsets
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Reviewed by: Jason King <jason.brian.king+illumos@gmail.com>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

Actions #5

Updated by Carsten Grzemba 4 months ago

The development and testing was done on
LPe35002-M2-D (10df f410;) compatible pci10df,f400

in addtition Hans has tested the code on
HPE SN1610E (1590 02d5, 1590 02d6); compatible pci10df,f400

Actions

Also available in: Atom PDF