]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgbe(4): Fixes to tx coalescing.
authorNavdeep Parhar <np@FreeBSD.org>
Mon, 1 Feb 2021 11:00:09 +0000 (03:00 -0800)
committerNavdeep Parhar <np@FreeBSD.org>
Tue, 16 Feb 2021 20:37:07 +0000 (12:37 -0800)
commit42f7f5c5d22cc9e845e51a1f8a5b92573b8b3d2f
tree40331b18971d6da781a68837dbeb98646a7d255f
parent568d9aa2b5bc1ce3c54dbb2586c75a4423db3399
cxgbe(4): Fixes to tx coalescing.

- The behavior implemented in r362905 resulted in delayed transmission
  of packets in some cases, causing performance issues.  Use a different
  heuristic to predict tx requests.

- Add a tunable/sysctl (hw.cxgbe.tx_coalesce) to disable tx coalescing
  entirely.  It can be changed at any time.  There is no change in
  default behavior.

(cherry picked from commit 3447df8bc5b342bd88d565641435284ff620ee2a)
sys/dev/cxgbe/adapter.h
sys/dev/cxgbe/t4_main.c
sys/dev/cxgbe/t4_sge.c
sys/dev/cxgbe/t4_vf.c