aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorSlava Shwartsman <slavash@FreeBSD.org>2018-12-05 13:26:47 +0000
committerSlava Shwartsman <slavash@FreeBSD.org>2018-12-05 13:26:47 +0000
commita061f0eb65897831dfa2088fdd60ac681129a832 (patch)
tree52806c5df0a71fdb757cf868a0e39c99014e52e0 /sys
parentd705eff25932fd0b5a6ef4be9a60e76b594a89fe (diff)
downloadsrc-a061f0eb65897831dfa2088fdd60ac681129a832.tar.gz
src-a061f0eb65897831dfa2088fdd60ac681129a832.zip
ipoib: increase the non-cm queue length
When a packet needs fragmentation, it might generate more than 3 fragments. With the queue length 3, all fragments are generated faster than the queue is drained, which effectively drops fourth and later fragments on the floor. Submitted by: kib@ Approved by: hselasky (mentor) MFC after: 1 week Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=341537
Diffstat (limited to 'sys')
-rw-r--r--sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h b/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
index ba0c64a3c989..70cb4a384235 100644
--- a/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
+++ b/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
@@ -133,8 +133,8 @@ enum {
IPOIB_NUM_WC = 4,
- IPOIB_MAX_PATH_REC_QUEUE = 3,
- IPOIB_MAX_MCAST_QUEUE = 3,
+ IPOIB_MAX_PATH_REC_QUEUE = 16,
+ IPOIB_MAX_MCAST_QUEUE = 16,
IPOIB_FLAG_OPER_UP = 0,
IPOIB_FLAG_INITIALIZED = 1,