igb: reduce size required to trigger low latency
Update the Adaptive Interrupt Moderation algorithm so that the low latency state is triggered less easily to prevent high interrupt loads. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
73cd78f1d3
commit
1e5c3d218a
|
@ -2666,7 +2666,7 @@ static unsigned int igb_update_itr(struct igb_adapter *adapter, u16 itr_setting,
|
||||||
if (bytes > 25000) {
|
if (bytes > 25000) {
|
||||||
if (packets > 35)
|
if (packets > 35)
|
||||||
retval = low_latency;
|
retval = low_latency;
|
||||||
} else if (bytes < 6000) {
|
} else if (bytes < 1500) {
|
||||||
retval = low_latency;
|
retval = low_latency;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue