Hans Petter Selasky 376bcf6331 Implement TX completion event interleaving.
This patch implements a sysctl which allows setting a factor, N, for
how many work queue elements can be generated before requiring a
completion event. When a completion event happens the code simulates N
completion events instead of only one. When draining a transmit queue,
N-1 NOPs are transmitted at most, to force generation of the final
completion event.  Further a timer is running every HZ ticks to flush
any remaining data off the transmit queue when the tx_completion_fact
> 1.

The goal of this feature is to reduce the PCI bandwidth needed when
transmitting data.

Sponsored by:	Mellanox Technologies
Tested by:	Netflix
MFC after:	1 week
2016-05-20 06:54:58 +00:00
..
2016-05-17 12:52:31 +00:00
2016-05-19 14:00:18 +00:00
2016-05-20 03:22:41 +00:00
2016-05-19 05:06:12 +00:00
2016-05-03 21:51:52 +00:00
2016-05-19 16:28:05 +00:00
2016-05-10 20:14:11 +00:00
2016-05-03 18:05:43 +00:00
2016-04-29 16:07:25 +00:00
2016-05-17 12:52:31 +00:00
2016-05-06 01:49:46 +00:00
2016-05-17 12:52:31 +00:00