Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133629
b: refs/heads/master
c: 7020cb0
h: refs/heads/master
i:
  133627: dbdb306
v: v3
  • Loading branch information
Ramachandra K authored and Roland Dreier committed Feb 27, 2009
1 parent a424f5d commit 9670c28
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1aedb7721f05461f777fdee25b50d8a168c425ed
refs/heads/master: 7020cb0fe216fdcec246cdc2412614a3190fbb2f
7 changes: 7 additions & 0 deletions trunk/drivers/infiniband/ulp/iser/iser_verbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,13 @@ static void iser_route_handler(struct rdma_cm_id *cma_id)
if (ret)
goto failure;

iser_dbg("path.mtu is %d setting it to %d\n",
cma_id->route.path_rec->mtu, IB_MTU_1024);

/* we must set the MTU to 1024 as this is what the target is assuming */
if (cma_id->route.path_rec->mtu > IB_MTU_1024)
cma_id->route.path_rec->mtu = IB_MTU_1024;

memset(&conn_param, 0, sizeof conn_param);
conn_param.responder_resources = 4;
conn_param.initiator_depth = 1;
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/rdma/ib_mad.h
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ static inline void ib_set_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr, u8 rtime)
*/
static inline void ib_set_rmpp_flags(struct ib_rmpp_hdr *rmpp_hdr, u8 flags)
{
rmpp_hdr->rmpp_rtime_flags = (rmpp_hdr->rmpp_rtime_flags & 0xF1) |
rmpp_hdr->rmpp_rtime_flags = (rmpp_hdr->rmpp_rtime_flags & 0xF8) |
(flags & 0x7);
}

Expand Down

0 comments on commit 9670c28

Please sign in to comment.