OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7235ea2
)
iw_cxgb4: use tos when importing the endpoint
author
Steve Wise
<swise@opengridcomputing.com>
Fri, 1 Feb 2019 20:44:41 +0000
(12:44 -0800)
committer
Jason Gunthorpe
<jgg@mellanox.com>
Fri, 8 Feb 2019 23:18:06 +0000
(16:18 -0700)
import_ep() is passed the correct tos, but doesn't use it correctly.
Fixes:
ac8e4c69a021
("cxgb4/iw_cxgb4: TOS support")
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb4/cm.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/cxgb4/cm.c
b/drivers/infiniband/hw/cxgb4/cm.c
index
c4e4085
..
0259198
100644
(file)
--- a/
drivers/infiniband/hw/cxgb4/cm.c
+++ b/
drivers/infiniband/hw/cxgb4/cm.c
@@
-2072,7
+2072,7
@@
static int import_ep(struct c4iw_ep *ep, int iptype, __u8 *peer_ip,
} else {
pdev = get_real_dev(n->dev);
ep->l2t = cxgb4_l2t_get(cdev->rdev.lldi.l2t,
- n, pdev,
0
);
+ n, pdev,
rt_tos2priority(tos)
);
if (!ep->l2t)
goto out;
ep->mtu = dst_mtu(dst);