Home
last modified time | relevance | path

Searched refs:avg_wire_size (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c1333 unsigned int avg_wire_size, packets, itr_round; in fm10k_update_itr() local
1343 avg_wire_size = ring_container->total_bytes / packets; in fm10k_update_itr()
1360 if (avg_wire_size <= 360) { in fm10k_update_itr()
1362 avg_wire_size *= 8; in fm10k_update_itr()
1363 avg_wire_size += 376; in fm10k_update_itr()
1364 } else if (avg_wire_size <= 1152) { in fm10k_update_itr()
1366 avg_wire_size *= 3; in fm10k_update_itr()
1367 avg_wire_size += 2176; in fm10k_update_itr()
1368 } else if (avg_wire_size <= 1920) { in fm10k_update_itr()
1370 avg_wire_size += 4480; in fm10k_update_itr()
[all …]
/linux-5.19.10/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c449 unsigned int avg_wire_size, packets, bytes, itr; in iavf_update_itr() local
570 avg_wire_size = bytes / packets; in iavf_update_itr()
587 if (avg_wire_size <= 60) { in iavf_update_itr()
589 avg_wire_size = 4096; in iavf_update_itr()
590 } else if (avg_wire_size <= 380) { in iavf_update_itr()
592 avg_wire_size *= 40; in iavf_update_itr()
593 avg_wire_size += 1696; in iavf_update_itr()
594 } else if (avg_wire_size <= 1084) { in iavf_update_itr()
596 avg_wire_size *= 15; in iavf_update_itr()
597 avg_wire_size += 11452; in iavf_update_itr()
[all …]
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1164 unsigned int avg_wire_size, packets, bytes, itr; in i40e_update_itr() local
1285 avg_wire_size = bytes / packets; in i40e_update_itr()
1302 if (avg_wire_size <= 60) { in i40e_update_itr()
1304 avg_wire_size = 4096; in i40e_update_itr()
1305 } else if (avg_wire_size <= 380) { in i40e_update_itr()
1307 avg_wire_size *= 40; in i40e_update_itr()
1308 avg_wire_size += 1696; in i40e_update_itr()
1309 } else if (avg_wire_size <= 1084) { in i40e_update_itr()
1311 avg_wire_size *= 15; in i40e_update_itr()
1312 avg_wire_size += 11452; in i40e_update_itr()
[all …]
/linux-5.19.10/drivers/net/ethernet/intel/igc/
Digc_main.c4173 int avg_wire_size = 0; in igc_update_ring_itr() local
4190 avg_wire_size = q_vector->rx.total_bytes / packets; in igc_update_ring_itr()
4194 avg_wire_size = max_t(u32, avg_wire_size, in igc_update_ring_itr()
4198 if (!avg_wire_size) in igc_update_ring_itr()
4202 avg_wire_size += 24; in igc_update_ring_itr()
4205 avg_wire_size = min(avg_wire_size, 3000); in igc_update_ring_itr()
4208 if (avg_wire_size > 300 && avg_wire_size < 1200) in igc_update_ring_itr()
4209 new_val = avg_wire_size / 3; in igc_update_ring_itr()
4211 new_val = avg_wire_size / 2; in igc_update_ring_itr()
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c2530 unsigned int avg_wire_size, packets, bytes; in ixgbe_update_itr() local
2620 avg_wire_size = bytes / packets; in ixgbe_update_itr()
2637 if (avg_wire_size <= 60) { in ixgbe_update_itr()
2639 avg_wire_size = 5120; in ixgbe_update_itr()
2640 } else if (avg_wire_size <= 316) { in ixgbe_update_itr()
2642 avg_wire_size *= 40; in ixgbe_update_itr()
2643 avg_wire_size += 2720; in ixgbe_update_itr()
2644 } else if (avg_wire_size <= 1084) { in ixgbe_update_itr()
2646 avg_wire_size *= 15; in ixgbe_update_itr()
2647 avg_wire_size += 11452; in ixgbe_update_itr()
[all …]
/linux-5.19.10/drivers/net/ethernet/intel/igb/
Digb_main.c5675 int avg_wire_size = 0; in igb_update_ring_itr() local
5689 avg_wire_size = q_vector->rx.total_bytes / packets; in igb_update_ring_itr()
5693 avg_wire_size = max_t(u32, avg_wire_size, in igb_update_ring_itr()
5697 if (!avg_wire_size) in igb_update_ring_itr()
5701 avg_wire_size += 24; in igb_update_ring_itr()
5704 avg_wire_size = min(avg_wire_size, 3000); in igb_update_ring_itr()
5707 if ((avg_wire_size > 300) && (avg_wire_size < 1200)) in igb_update_ring_itr()
5708 new_val = avg_wire_size / 3; in igb_update_ring_itr()
5710 new_val = avg_wire_size / 2; in igb_update_ring_itr()