aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/net/ipoib.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2016-03-08 17:24:17 +0000
committerMichael Brown <mcb30@ipxe.org>2016-03-08 17:44:28 +0000
commit9939b704f132f08bebf95e5713d2b5e6bf2b0b0a (patch)
tree651830953d61cb7c4ae08c44a9fdc3261bd4294c /src/drivers/net/ipoib.c
parentb5aa51ac62bd36294e1f312d0ac1d742f28fe7b0 (diff)
downloadipxe-9939b704f132f08bebf95e5713d2b5e6bf2b0b0a.tar.gz
[ipoib] Increase number of transmit work queue entries
Avoid running out of transmit work queue entries under heavy load. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/ipoib.c')
-rw-r--r--src/drivers/net/ipoib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/net/ipoib.c b/src/drivers/net/ipoib.c
index 4b85eda31..4106c208c 100644
--- a/src/drivers/net/ipoib.c
+++ b/src/drivers/net/ipoib.c
@@ -65,13 +65,13 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
"Missing REMAC for IPv4 packet (ARP sent)" )
/** Number of IPoIB send work queue entries */
-#define IPOIB_NUM_SEND_WQES 2
+#define IPOIB_NUM_SEND_WQES 8
/** Number of IPoIB receive work queue entries */
#define IPOIB_NUM_RECV_WQES 4
/** Number of IPoIB completion entries */
-#define IPOIB_NUM_CQES 8
+#define IPOIB_NUM_CQES 16
/** An IPoIB broadcast address */
struct ipoib_broadcast {