mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-24 07:40:52 +00:00
Potential typo/copy issue
This test here appears to be clamping the start and stop values to a minimum and maximum. But it looks like one of these lines may have been copied incorrectly. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1317
This commit is contained in:
parent
1dbbce9744
commit
53734ccd42
@ -266,7 +266,7 @@ check_pkt_coalesce(struct sge_qset *qs)
|
||||
if (cxgb_tx_coalesce_enable_start > COALESCE_START_MAX)
|
||||
cxgb_tx_coalesce_enable_start = COALESCE_START_MAX;
|
||||
if (cxgb_tx_coalesce_enable_stop < COALESCE_STOP_MIN)
|
||||
cxgb_tx_coalesce_enable_start = COALESCE_STOP_MIN;
|
||||
cxgb_tx_coalesce_enable_stop = COALESCE_STOP_MIN;
|
||||
/*
|
||||
* if the hardware transmit queue is more than 1/8 full
|
||||
* we mark it as coalescing - we drop back from coalescing
|
||||
|
Loading…
Reference in New Issue
Block a user