diff options
author | Eli Cohen <eli@mellanox.com> | 2016-03-11 20:58:36 (GMT) |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-21 20:34:06 (GMT) |
commit | fad61ad4e755f5dd13c7702a87cd907207392534 (patch) | |
tree | a8f2df35c806be02cc3353abab8b6df956e83654 /arch/m68k/coldfire | |
parent | d603c809ef91fa2d211bde5e95be417847410379 (diff) | |
download | linux-fad61ad4e755f5dd13c7702a87cd907207392534.tar.xz |
IB/core: Add subnet prefix to port info
The subnet prefix is a part of the port_info MAD returned and should be
available at the ib_port_attr struct. We define it here and provide a
default implementation in case the hardware driver does not provide one.
The subnet prefix is required when creating the address vector to access
the SA in networks where GRH must be used.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'arch/m68k/coldfire')
0 files changed, 0 insertions, 0 deletions