]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
IB/core: Use hop-limit from IP stack for RoCE
authorMatan Barak <matanb@mellanox.com>
Mon, 4 Jan 2016 08:49:54 +0000 (10:49 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:26:56 +0000 (15:26 -0500)
commitc3efe7500add077f79d37b18e9c66df6621409b6
treec58ce0d2c62daabae7a900fd48ea1a45614a1dd0
parentf7f4b23e27f7561330ef13f93dbe8f2dc410efa7
IB/core: Use hop-limit from IP stack for RoCE

Previously, IPV6_DEFAULT_HOPLIMIT was used as the hop limit value for
RoCE. Fixing that by taking ip4_dst_hoplimit and ip6_dst_hoplimit as
hop limit values.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/addr.c
drivers/infiniband/core/cm.c
drivers/infiniband/core/cma.c
drivers/infiniband/core/verbs.c
drivers/infiniband/hw/ocrdma/ocrdma_ah.c
include/rdma/ib_addr.h