aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorDavid C Somayajulu <davidcs@FreeBSD.org>2017-05-16 21:34:40 +0000
committerDavid C Somayajulu <davidcs@FreeBSD.org>2017-05-16 21:34:40 +0000
commit77388ed2f3d0687c8ea97c6d3379396d0556ee06 (patch)
treef1b0f3e3a757aae277551ca478d70d6fa6b7f45d /sys/modules
parentda403aea11bda66779e16f5e850d5d1c6d22a4b8 (diff)
downloadsrc-77388ed2f3d0687c8ea97c6d3379396d0556ee06.tar.gz
src-77388ed2f3d0687c8ea97c6d3379396d0556ee06.zip
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. MFC after:3 days
Notes
Notes: svn path=/head/; revision=318382
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 c217a0a33eaf..2b91540daa9a 100644
--- a/sys/modules/qlnx/qlnxe/Makefile
+++ b/sys/modules/qlnx/qlnxe/Makefile
@@ -65,8 +65,6 @@ CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
#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>