[infiniband] Do not use GRH for local paths
authorMichael Brown <mcb30@ipxe.org>
Fri, 4 Mar 2016 13:55:50 +0000 (13:55 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 8 Mar 2016 12:23:24 +0000 (12:23 +0000)
commit114a2f19a638bb92fb39e901d802f68a7276dca1
tree328e3165ace9d9ebdbdf25d0985241b1f5a481f5
parentbd1687465c3c03b51179bd3732356a55b9766061
[infiniband] Do not use GRH for local paths

Avoid including an unnecessary GRH in packets sent to unicast
destinations within the local subnet.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/infiniband/ib_pathrec.c