summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authordavidcs <davidcs@FreeBSD.org>2017-05-22 19:36:26 +0000
committerdavidcs <davidcs@FreeBSD.org>2017-05-22 19:36:26 +0000
commit520e10071a4053c308a364036ef4c166082b09b8 (patch)
treea0b3e849833f9c3b21913259d0a75b6d8f2d48f4 /sys/modules
parent21c77488de9f7046af6b315db190d8fa50085dbf (diff)
downloadFreeBSD-src-520e10071a4053c308a364036ef4c166082b09b8.zip
FreeBSD-src-520e10071a4053c308a364036ef4c166082b09b8.tar.gz
MFC r318382
1. Move Rx Processing to fp_taskqueue(). With this CPU utilization for processing interrupts drops to around 1% for 100G and under 1% for other speeds. 2. Use sysctls for TRACE_LRO_CNT and TRACE_TSO_PKT_LEN 3. remove unused mtx tx_lock 4. bind taskqueue kernel thread to the appropriate cpu core 5. when tx_ring is full, stop further transmits till at least 1/16th of the Tx Ring is empty. In our case 1K entries. Also if there are rx_pkts to process, put the taskqueue thread to sleep for 100ms, before enabling interrupts. 6. Use rx_pkt_threshold of 128.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/qlnx/qlnxe/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/modules/qlnx/qlnxe/Makefile b/sys/modules/qlnx/qlnxe/Makefile
index 6011ad3..f800441 100644
--- a/sys/modules/qlnx/qlnxe/Makefile
+++ b/sys/modules/qlnx/qlnxe/Makefile
@@ -63,8 +63,6 @@ CFLAGS += -DECORE_CONFIG_DIRECT_HWFN
#CFLAGS += -DQLNX_SOFT_LRO
#CFLAGS += -DQLNX_QSORT_LRO
#CFLAGS += -DQLNX_MAX_COALESCE
-#CFLAGS += -DQLNX_TRACE_LRO_CNT
-#CFLAGS += -DQLNX_TRACE_TSO_PKT_LEN
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud