Searched refs:ring_container (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c1375 * @ring_container: Container for rings to have ITR updated
1377 static void fm10k_update_itr(struct fm10k_ring_container *ring_container) fm10k_update_itr() argument
1382 if (!(ring_container->itr & FM10K_ITR_ADAPTIVE)) fm10k_update_itr()
1385 packets = ring_container->total_packets; fm10k_update_itr()
1389 avg_wire_size = ring_container->total_bytes / packets; fm10k_update_itr()
1405 ring_container->itr = avg_wire_size | FM10K_ITR_ADAPTIVE; fm10k_update_itr()
1408 ring_container->total_bytes = 0; fm10k_update_itr()
1409 ring_container->total_packets = 0; fm10k_update_itr()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c1173 * @ring_container: structure containing ring performance data
1184 struct ixgbevf_ring_container *ring_container) ixgbevf_update_itr()
1186 int bytes = ring_container->total_bytes; ixgbevf_update_itr()
1187 int packets = ring_container->total_packets; ixgbevf_update_itr()
1190 u8 itr_setting = ring_container->itr; ixgbevf_update_itr()
1222 ring_container->total_bytes = 0; ixgbevf_update_itr()
1223 ring_container->total_packets = 0; ixgbevf_update_itr()
1226 ring_container->itr = itr_setting; ixgbevf_update_itr()
1183 ixgbevf_update_itr(struct ixgbevf_q_vector *q_vector, struct ixgbevf_ring_container *ring_container) ixgbevf_update_itr() argument
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A Digb_main.c4498 * @ring_container: ring info to update the itr for
4512 struct igb_ring_container *ring_container) igb_update_itr()
4514 unsigned int packets = ring_container->total_packets; igb_update_itr()
4515 unsigned int bytes = ring_container->total_bytes; igb_update_itr()
4516 u8 itrval = ring_container->itr; igb_update_itr()
4556 ring_container->total_bytes = 0; igb_update_itr()
4557 ring_container->total_packets = 0; igb_update_itr()
4560 ring_container->itr = itrval; igb_update_itr()
4511 igb_update_itr(struct igb_q_vector *q_vector, struct igb_ring_container *ring_container) igb_update_itr() argument
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c2208 * @ring_container: structure containing ring performance data
2221 struct ixgbe_ring_container *ring_container) ixgbe_update_itr()
2223 int bytes = ring_container->total_bytes; ixgbe_update_itr()
2224 int packets = ring_container->total_packets; ixgbe_update_itr()
2227 u8 itr_setting = ring_container->itr; ixgbe_update_itr()
2262 ring_container->total_bytes = 0; ixgbe_update_itr()
2263 ring_container->total_packets = 0; ixgbe_update_itr()
2266 ring_container->itr = itr_setting; ixgbe_update_itr()
2220 ixgbe_update_itr(struct ixgbe_q_vector *q_vector, struct ixgbe_ring_container *ring_container) ixgbe_update_itr() argument

Completed in 214 milliseconds