summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.com>2016-03-11 22:58:36 +0200
committerDoug Ledford <dledford@redhat.com>2016-03-21 16:34:06 -0400
commitfad61ad4e755f5dd13c7702a87cd907207392534 (patch)
treea8f2df35c806be02cc3353abab8b6df956e83654 /firmware
parentd603c809ef91fa2d211bde5e95be417847410379 (diff)
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 'firmware')
0 files changed, 0 insertions, 0 deletions