Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c1341 unsigned int avg_wire_size, packets, itr_round; in fm10k_update_itr() local
1351 avg_wire_size = ring_container->total_bytes / packets; in fm10k_update_itr()
1368 if (avg_wire_size <= 360) { in fm10k_update_itr()
1370 avg_wire_size *= 8; in fm10k_update_itr()
1371 avg_wire_size += 376; in fm10k_update_itr()
1372 } else if (avg_wire_size <= 1152) { in fm10k_update_itr()
1374 avg_wire_size *= 3; in fm10k_update_itr()
1375 avg_wire_size += 2176; in fm10k_update_itr()
1376 } else if (avg_wire_size <= 1920) { in fm10k_update_itr()
1378 avg_wire_size += 4480; in fm10k_update_itr()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c451 unsigned int avg_wire_size, packets, bytes, itr; in iavf_update_itr() local
572 avg_wire_size = bytes / packets; in iavf_update_itr()
589 if (avg_wire_size <= 60) { in iavf_update_itr()
591 avg_wire_size = 4096; in iavf_update_itr()
592 } else if (avg_wire_size <= 380) { in iavf_update_itr()
594 avg_wire_size *= 40; in iavf_update_itr()
595 avg_wire_size += 1696; in iavf_update_itr()
596 } else if (avg_wire_size <= 1084) { in iavf_update_itr()
598 avg_wire_size *= 15; in iavf_update_itr()
599 avg_wire_size += 11452; in iavf_update_itr()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1166 unsigned int avg_wire_size, packets, bytes, itr; in i40e_update_itr() local
1287 avg_wire_size = bytes / packets; in i40e_update_itr()
1304 if (avg_wire_size <= 60) { in i40e_update_itr()
1306 avg_wire_size = 4096; in i40e_update_itr()
1307 } else if (avg_wire_size <= 380) { in i40e_update_itr()
1309 avg_wire_size *= 40; in i40e_update_itr()
1310 avg_wire_size += 1696; in i40e_update_itr()
1311 } else if (avg_wire_size <= 1084) { in i40e_update_itr()
1313 avg_wire_size *= 15; in i40e_update_itr()
1314 avg_wire_size += 11452; in i40e_update_itr()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc_main.c4451 int avg_wire_size = 0; in igc_update_ring_itr() local
4468 avg_wire_size = q_vector->rx.total_bytes / packets; in igc_update_ring_itr()
4472 avg_wire_size = max_t(u32, avg_wire_size, in igc_update_ring_itr()
4476 if (!avg_wire_size) in igc_update_ring_itr()
4480 avg_wire_size += 24; in igc_update_ring_itr()
4483 avg_wire_size = min(avg_wire_size, 3000); in igc_update_ring_itr()
4486 if (avg_wire_size > 300 && avg_wire_size < 1200) in igc_update_ring_itr()
4487 new_val = avg_wire_size / 3; in igc_update_ring_itr()
4489 new_val = avg_wire_size / 2; in igc_update_ring_itr()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c2522 unsigned int avg_wire_size, packets, bytes; in ixgbe_update_itr() local
2612 avg_wire_size = bytes / packets; in ixgbe_update_itr()
2629 if (avg_wire_size <= 60) { in ixgbe_update_itr()
2631 avg_wire_size = 5120; in ixgbe_update_itr()
2632 } else if (avg_wire_size <= 316) { in ixgbe_update_itr()
2634 avg_wire_size *= 40; in ixgbe_update_itr()
2635 avg_wire_size += 2720; in ixgbe_update_itr()
2636 } else if (avg_wire_size <= 1084) { in ixgbe_update_itr()
2638 avg_wire_size *= 15; in ixgbe_update_itr()
2639 avg_wire_size += 11452; in ixgbe_update_itr()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/igb/
Digb_main.c5761 int avg_wire_size = 0; in igb_update_ring_itr() local
5775 avg_wire_size = q_vector->rx.total_bytes / packets; in igb_update_ring_itr()
5779 avg_wire_size = max_t(u32, avg_wire_size, in igb_update_ring_itr()
5783 if (!avg_wire_size) in igb_update_ring_itr()
5787 avg_wire_size += 24; in igb_update_ring_itr()
5790 avg_wire_size = min(avg_wire_size, 3000); in igb_update_ring_itr()
5793 if ((avg_wire_size > 300) && (avg_wire_size < 1200)) in igb_update_ring_itr()
5794 new_val = avg_wire_size / 3; in igb_update_ring_itr()
5796 new_val = avg_wire_size / 2; in igb_update_ring_itr()