projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e19b205
)
IB/hfi1: Add new state complete decodes for LNI failures
author
Jakub Byczkowski
<
[email protected]
>
Tue, 26 Sep 2017 14:00:04 +0000
(07:00 -0700)
committer
Doug Ledford
<
[email protected]
>
Wed, 27 Sep 2017 15:34:13 +0000
(11:34 -0400)
Add state decodes for link width negotiation, verify cap time out
and secure data resolution failures.
Reviewed-by: Jan Sokolowski <
[email protected]
>
Reviewed-by: Ira Weiny <
[email protected]
>
Signed-off-by: Jakub Byczkowski <
[email protected]
>
Signed-off-by: Dennis Dalessandro <
[email protected]
>
Signed-off-by: Doug Ledford <
[email protected]
>
drivers/infiniband/hw/hfi1/chip.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/hfi1/chip.c
b/drivers/infiniband/hw/hfi1/chip.c
index b2ed4b9cda6eef62f81b5ac22b71b4cc3a5a2d10..ef27e2b2482db79e1933ee8d7911e36c6407a90e 100644
(file)
--- a/
drivers/infiniband/hw/hfi1/chip.c
+++ b/
drivers/infiniband/hw/hfi1/chip.c
@@
-10159,6
+10159,10
@@
static const char * const state_complete_reasons[] = {
[0x33] =
"Link partner completed the VerifyCap state, but the passing lanes do not meet the local link width policy",
[0x34] = tx_out_of_policy,
+ [0x35] = "Negotiated link width is mutually exclusive",
+ [0x36] =
+ "Timed out before receiving verifycap frames in VerifyCap.Exchange",
+ [0x37] = "Unable to resolve secure data exchange",
};
static const char *state_complete_reason_code_string(struct hfi1_pportdata *ppd,