]> 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>
Thu, 4 Feb 2021 17:43:36 +0000 (09:43 -0800)
commit397aaa3bcc78196f5c794ebd1de751568562a7a3
treef54c4bb9cd182544b012a7d5b984bfa312bf0c8e
parent9c829699aa3cae4fa2b736de489c8aac1da068e6
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