Lines Matching refs:q_num
3648 ice_get_q_coalesce(struct ice_vsi *vsi, struct ethtool_coalesce *ec, int q_num) in ice_get_q_coalesce() argument
3650 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { in ice_get_q_coalesce()
3652 &vsi->rx_rings[q_num]->q_vector->rx)) in ice_get_q_coalesce()
3655 &vsi->tx_rings[q_num]->q_vector->tx)) in ice_get_q_coalesce()
3657 } else if (q_num < vsi->num_rxq) { in ice_get_q_coalesce()
3659 &vsi->rx_rings[q_num]->q_vector->rx)) in ice_get_q_coalesce()
3661 } else if (q_num < vsi->num_txq) { in ice_get_q_coalesce()
3663 &vsi->tx_rings[q_num]->q_vector->tx)) in ice_get_q_coalesce()
3683 int q_num) in __ice_get_coalesce() argument
3688 if (q_num < 0) in __ice_get_coalesce()
3689 q_num = 0; in __ice_get_coalesce()
3691 if (ice_get_q_coalesce(vsi, ec, q_num)) in __ice_get_coalesce()
3706 ice_get_per_q_coalesce(struct net_device *netdev, u32 q_num, in ice_get_per_q_coalesce() argument
3709 return __ice_get_coalesce(netdev, ec, q_num); in ice_get_per_q_coalesce()
3816 ice_set_q_coalesce(struct ice_vsi *vsi, struct ethtool_coalesce *ec, int q_num) in ice_set_q_coalesce() argument
3818 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { in ice_set_q_coalesce()
3820 &vsi->rx_rings[q_num]->q_vector->rx, in ice_set_q_coalesce()
3825 &vsi->tx_rings[q_num]->q_vector->tx, in ice_set_q_coalesce()
3828 } else if (q_num < vsi->num_rxq) { in ice_set_q_coalesce()
3830 &vsi->rx_rings[q_num]->q_vector->rx, in ice_set_q_coalesce()
3833 } else if (q_num < vsi->num_txq) { in ice_set_q_coalesce()
3835 &vsi->tx_rings[q_num]->q_vector->tx, in ice_set_q_coalesce()
3878 int q_num) in __ice_set_coalesce() argument
3883 if (q_num < 0) { in __ice_set_coalesce()
3913 if (ice_set_q_coalesce(vsi, ec, q_num)) in __ice_set_coalesce()
3916 ice_set_q_vector_intrl(vsi->q_vectors[q_num]); in __ice_set_coalesce()
3931 ice_set_per_q_coalesce(struct net_device *netdev, u32 q_num, in ice_set_per_q_coalesce() argument
3934 return __ice_set_coalesce(netdev, ec, q_num); in ice_set_per_q_coalesce()