mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
IB/SA: Add support to query opa classport info.
For OPA devices, SA will query the OPA classport info instead of the IB defined classport info. opa classport info exposes additional information and capabilities that are specific to OPA devices. Reviewed-by: Ira Weiny <[email protected]> Reviewed-by: Don Hiatt <[email protected]> Reviewed-by: Dennis Dalessandro <[email protected]> Signed-off-by: Dasaratharaman Chandramouli <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
This commit is contained in:
parent
aa4656d9a4
commit
2196f27162
2 changed files with 158 additions and 25 deletions
|
|
@ -56,6 +56,7 @@ enum {
|
|||
IB_SA_METHOD_GET_TRACE_TBL = 0x13
|
||||
};
|
||||
|
||||
#define OPA_SA_CLASS_VERSION 0x80
|
||||
enum {
|
||||
IB_SA_ATTR_CLASS_PORTINFO = 0x01,
|
||||
IB_SA_ATTR_NOTICE = 0x02,
|
||||
|
|
|
|||
Loading…
Reference in a new issue