Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c574 avg_wire_size = bytes / packets; in iavf_update_itr()
591 if (avg_wire_size <= 60) { in iavf_update_itr()
593 avg_wire_size = 4096; in iavf_update_itr()
596 avg_wire_size *= 40; in iavf_update_itr()
597 avg_wire_size += 1696; in iavf_update_itr()
600 avg_wire_size *= 15; in iavf_update_itr()
601 avg_wire_size += 11452; in iavf_update_itr()
604 avg_wire_size *= 5; in iavf_update_itr()
605 avg_wire_size += 22420; in iavf_update_itr()
608 avg_wire_size = 32256; in iavf_update_itr()
[all …]
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c1367 if (avg_wire_size <= 360) { in fm10k_update_itr()
1369 avg_wire_size *= 8; in fm10k_update_itr()
1370 avg_wire_size += 376; in fm10k_update_itr()
1371 } else if (avg_wire_size <= 1152) { in fm10k_update_itr()
1373 avg_wire_size *= 3; in fm10k_update_itr()
1374 avg_wire_size += 2176; in fm10k_update_itr()
1375 } else if (avg_wire_size <= 1920) { in fm10k_update_itr()
1377 avg_wire_size += 4480; in fm10k_update_itr()
1380 avg_wire_size = 6656; in fm10k_update_itr()
1388 avg_wire_size += BIT(itr_round) - 1; in fm10k_update_itr()
[all …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c1283 avg_wire_size = bytes / packets; in i40e_update_itr()
1300 if (avg_wire_size <= 60) { in i40e_update_itr()
1302 avg_wire_size = 4096; in i40e_update_itr()
1305 avg_wire_size *= 40; in i40e_update_itr()
1306 avg_wire_size += 1696; in i40e_update_itr()
1309 avg_wire_size *= 15; in i40e_update_itr()
1310 avg_wire_size += 11452; in i40e_update_itr()
1313 avg_wire_size *= 5; in i40e_update_itr()
1314 avg_wire_size += 22420; in i40e_update_itr()
1317 avg_wire_size = 32256; in i40e_update_itr()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c2658 if (avg_wire_size <= 60) { in ixgbe_update_itr()
2660 avg_wire_size = 5120; in ixgbe_update_itr()
2663 avg_wire_size *= 40; in ixgbe_update_itr()
2664 avg_wire_size += 2720; in ixgbe_update_itr()
2667 avg_wire_size *= 15; in ixgbe_update_itr()
2668 avg_wire_size += 11452; in ixgbe_update_itr()
2671 avg_wire_size *= 5; in ixgbe_update_itr()
2672 avg_wire_size += 22420; in ixgbe_update_itr()
2675 avg_wire_size = 32256; in ixgbe_update_itr()
2682 avg_wire_size >>= 1; in ixgbe_update_itr()
[all …]
/linux/drivers/net/ethernet/intel/igc/
H A Digc_main.c4549 int avg_wire_size = 0; in igc_update_ring_itr() local
4566 avg_wire_size = q_vector->rx.total_bytes / packets; in igc_update_ring_itr()
4570 avg_wire_size = max_t(u32, avg_wire_size, in igc_update_ring_itr()
4574 if (!avg_wire_size) in igc_update_ring_itr()
4578 avg_wire_size += 24; in igc_update_ring_itr()
4581 avg_wire_size = min(avg_wire_size, 3000); in igc_update_ring_itr()
4584 if (avg_wire_size > 300 && avg_wire_size < 1200) in igc_update_ring_itr()
4585 new_val = avg_wire_size / 3; in igc_update_ring_itr()
4587 new_val = avg_wire_size / 2; in igc_update_ring_itr()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c5741 int avg_wire_size = 0; in igb_update_ring_itr() local
5755 avg_wire_size = q_vector->rx.total_bytes / packets; in igb_update_ring_itr()
5759 avg_wire_size = max_t(u32, avg_wire_size, in igb_update_ring_itr()
5763 if (!avg_wire_size) in igb_update_ring_itr()
5767 avg_wire_size += 24; in igb_update_ring_itr()
5770 avg_wire_size = min(avg_wire_size, 3000); in igb_update_ring_itr()
5773 if ((avg_wire_size > 300) && (avg_wire_size < 1200)) in igb_update_ring_itr()
5774 new_val = avg_wire_size / 3; in igb_update_ring_itr()
5776 new_val = avg_wire_size / 2; in igb_update_ring_itr()