Searched refs:avg_wire_size (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 1341 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.1.9/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 452 unsigned int avg_wire_size, packets, bytes, itr; in iavf_update_itr() local 573 avg_wire_size = bytes / packets; in iavf_update_itr() 590 if (avg_wire_size <= 60) { in iavf_update_itr() 592 avg_wire_size = 4096; in iavf_update_itr() 593 } else if (avg_wire_size <= 380) { in iavf_update_itr() 595 avg_wire_size *= 40; in iavf_update_itr() 596 avg_wire_size += 1696; in iavf_update_itr() 597 } else if (avg_wire_size <= 1084) { in iavf_update_itr() 599 avg_wire_size *= 15; in iavf_update_itr() 600 avg_wire_size += 11452; in iavf_update_itr() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 1163 unsigned int avg_wire_size, packets, bytes, itr; in i40e_update_itr() local 1284 avg_wire_size = bytes / packets; in i40e_update_itr() 1301 if (avg_wire_size <= 60) { in i40e_update_itr() 1303 avg_wire_size = 4096; in i40e_update_itr() 1304 } else if (avg_wire_size <= 380) { in i40e_update_itr() 1306 avg_wire_size *= 40; in i40e_update_itr() 1307 avg_wire_size += 1696; in i40e_update_itr() 1308 } else if (avg_wire_size <= 1084) { in i40e_update_itr() 1310 avg_wire_size *= 15; in i40e_update_itr() 1311 avg_wire_size += 11452; in i40e_update_itr() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 4329 int avg_wire_size = 0; in igc_update_ring_itr() local 4346 avg_wire_size = q_vector->rx.total_bytes / packets; in igc_update_ring_itr() 4350 avg_wire_size = max_t(u32, avg_wire_size, in igc_update_ring_itr() 4354 if (!avg_wire_size) in igc_update_ring_itr() 4358 avg_wire_size += 24; in igc_update_ring_itr() 4361 avg_wire_size = min(avg_wire_size, 3000); in igc_update_ring_itr() 4364 if (avg_wire_size > 300 && avg_wire_size < 1200) in igc_update_ring_itr() 4365 new_val = avg_wire_size / 3; in igc_update_ring_itr() 4367 new_val = avg_wire_size / 2; in igc_update_ring_itr()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 2530 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-6.1.9/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 5678 int avg_wire_size = 0; in igb_update_ring_itr() local 5692 avg_wire_size = q_vector->rx.total_bytes / packets; in igb_update_ring_itr() 5696 avg_wire_size = max_t(u32, avg_wire_size, in igb_update_ring_itr() 5700 if (!avg_wire_size) in igb_update_ring_itr() 5704 avg_wire_size += 24; in igb_update_ring_itr() 5707 avg_wire_size = min(avg_wire_size, 3000); in igb_update_ring_itr() 5710 if ((avg_wire_size > 300) && (avg_wire_size < 1200)) in igb_update_ring_itr() 5711 new_val = avg_wire_size / 3; in igb_update_ring_itr() 5713 new_val = avg_wire_size / 2; in igb_update_ring_itr()
|