]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: enable interrupt based Tx completions for T5
authorRaju Rangoju <rajur@chelsio.com>
Fri, 15 Jan 2021 10:20:59 +0000 (15:50 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sun, 17 Jan 2021 02:32:08 +0000 (18:32 -0800)
commitfbd8820ebd36071fa9df287774d4f688a3de8072
treec6d74488bdfb05f3667970b9dc50df52f129f32c
parent144e80c5b9c52997bfa0964ad6f970c457592ac2
cxgb4: enable interrupt based Tx completions for T5

Enable interrupt based Tx completions to improve latency for T5.
The consumer index (CIDX) will now come via interrupts so that Tx
SKBs can be freed up sooner in Rx path. Also, enforce CIDX flush
threshold override (CIDXFTHRESHO) to improve latency for slow
traffic. This ensures that the interrupt is generated immediately
whenever hardware catches up with driver (i.e. CIDX == PIDX is
reached), which is often the case for slow traffic.

Signed-off-by: Raju Rangoju <rajur@chelsio.com>
Link: https://lore.kernel.org/r/20210115102059.6846-1-rajur@chelsio.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/chelsio/cxgb4/sge.c