diff options
author | Erez Shitrit <erezsh@mellanox.com> | 2016-05-25 22:02:04 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-05-25 22:39:02 +0300 |
commit | 507f6afa3ab6c9473d81c8091be0d1b859509a6d (patch) | |
tree | e9a29d25037416c8947cef0c197ea81f8d31ac21 /mm/compaction.c | |
parent | c16d2750a08c8ccaf98d65f287a8aec91bb9610d (diff) | |
download | linux-507f6afa3ab6c9473d81c8091be0d1b859509a6d.tar.xz |
IB/core: Introduce capabilitymask2 field in ClassPortInfo mad
Change struct ib_class_port_info to conform to IB Spec 1.3
That in order to get specific capability mask from ClassPortInfo mad.
>From the IB Spec, ClassPortInfo section:
"CapabilityMask2 Bits 0-26: Additional class-specific capabilities...
RespTimeValue the rest 5 bits"
The new struct now has one field for capabilitymask2 (previously was the
reserved field) and the resp_time field.
And it fixes up qib and srpt, use of the field repurposed to be used as
capabilitymask2:
IB/qib: Change pma_get_classportinfo
IB/srpt: Adjust the use of ib_class_port_info
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Hal Rosenstock <hal@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions