Searched refs:avg_wire_size (Results 1 - 6 of 6) sorted by relevance
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 1341 unsigned int avg_wire_size, packets, itr_round; local 1351 avg_wire_size = ring_container->total_bytes / packets; 1368 if (avg_wire_size <= 360) { 1370 avg_wire_size *= 8; 1371 avg_wire_size += 376; 1372 } else if (avg_wire_size <= 1152) { 1374 avg_wire_size *= 3; 1375 avg_wire_size += 2176; 1376 } else if (avg_wire_size <= 1920) { 1378 avg_wire_size [all...] |
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_txrx.c | 452 unsigned int avg_wire_size, packets, bytes, itr; local 573 avg_wire_size = bytes / packets; 590 if (avg_wire_size <= 60) { 592 avg_wire_size = 4096; 593 } else if (avg_wire_size <= 380) { 595 avg_wire_size *= 40; 596 avg_wire_size += 1696; 597 } else if (avg_wire_size <= 1084) { 599 avg_wire_size *= 15; 600 avg_wire_size [all...] |
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.c | 1159 unsigned int avg_wire_size, packets, bytes, itr; local 1280 avg_wire_size = bytes / packets; 1297 if (avg_wire_size <= 60) { 1299 avg_wire_size = 4096; 1300 } else if (avg_wire_size <= 380) { 1302 avg_wire_size *= 40; 1303 avg_wire_size += 1696; 1304 } else if (avg_wire_size <= 1084) { 1306 avg_wire_size *= 15; 1307 avg_wire_size [all...] |
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 2552 unsigned int avg_wire_size, packets, bytes; local 2642 avg_wire_size = bytes / packets; 2659 if (avg_wire_size <= 60) { 2661 avg_wire_size = 5120; 2662 } else if (avg_wire_size <= 316) { 2664 avg_wire_size *= 40; 2665 avg_wire_size += 2720; 2666 } else if (avg_wire_size <= 1084) { 2668 avg_wire_size *= 15; 2669 avg_wire_size [all...] |
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_main.c | 4446 int avg_wire_size = 0; local 4463 avg_wire_size = q_vector->rx.total_bytes / packets; 4467 avg_wire_size = max_t(u32, avg_wire_size, 4470 /* if avg_wire_size isn't set no work was done */ 4471 if (!avg_wire_size) 4475 avg_wire_size += 24; 4478 avg_wire_size = min(avg_wire_size, 3000); 4481 if (avg_wire_size > 30 [all...] |
/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 5761 int avg_wire_size = 0; local 5775 avg_wire_size = q_vector->rx.total_bytes / packets; 5779 avg_wire_size = max_t(u32, avg_wire_size, 5782 /* if avg_wire_size isn't set no work was done */ 5783 if (!avg_wire_size) 5787 avg_wire_size += 24; 5790 avg_wire_size = min(avg_wire_size, 3000); 5793 if ((avg_wire_size > 30 [all...] |
Completed in 309 milliseconds