ibcore: Add support for NDR link speed.
Add new IBTA speed NDR, supporting signaling rate of 100Gb. Linux commit: c7adf7717301558e8852949d8e3dc3748d1a4a97 MFC after: 1 week Sponsored by: NVIDIA Networking
This commit is contained in:
parent
85eeb6ea62
commit
1aa593b90c
@ -277,6 +277,10 @@ static ssize_t rate_show(struct ib_port *p, struct port_attribute *unused,
|
||||
speed = " HDR";
|
||||
rate = 500;
|
||||
break;
|
||||
case IB_SPEED_NDR:
|
||||
speed = " NDR";
|
||||
rate = 1000;
|
||||
break;
|
||||
case IB_SPEED_SDR:
|
||||
default: /* default to SDR for invalid rates */
|
||||
speed = " SDR";
|
||||
|
@ -486,7 +486,8 @@ enum ib_port_speed {
|
||||
IB_SPEED_FDR10 = 8,
|
||||
IB_SPEED_FDR = 16,
|
||||
IB_SPEED_EDR = 32,
|
||||
IB_SPEED_HDR = 64
|
||||
IB_SPEED_HDR = 64,
|
||||
IB_SPEED_NDR = 128
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user