-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi, please, look at the screenshot from the standard:

Line 236 in e135ff8
| #define HBA_PORTSPEED_10GBIT 0x0004 /* 10 GBit/sec */ |
I tried to do mapping and here is what I've observed:
| Bits positioon | Bits | Decimal number | Hexademical number | Description |
|---|---|---|---|---|
| 15 | 0000 0000 0000 0001 | 1 | 0x0001 | 1 Gb/s capable |
| 14 | 0000 0000 0000 0010 | 2 | 0x0002 | 2 Gb/s capable |
| 13 | 0000 0000 0000 0100 | 4 | 0x0004 | 4 Gb/s capable |
| 12 | 0000 0000 0000 1000 | 8 | 0x0008 | 10 Gb/s capable |
| 11 | 0000 0000 0001 0000 | 16 | 0x0010 | 8 Gb/s capable |
| 10 | 0000 0000 0010 0000 | 32 | 0x0020 | 16 Gb/s capable |
| 9 | 0000 0000 0100 0000 | 64 | 0x0040 | 20 Gb/s capable |
| 8 | 0000 0000 1000 0000 | 128 | 0x0080 | 32 Gb/s capable |
| 7 | 0000 0001 0000 0000 | 256 | 0x0100 | 40 Gb/s capable |
6-1 - reserved
0 - Unknown
With the current implementation decimal number 4 results in 10 Gb/s, when it should be 4 Gb/s by FG-GS-7 standard, i.e. it looks like 10 and 4 need to be exchanged. Do you agree? Did I miss something?
Metadata
Metadata
Assignees
Labels
No labels