Lines Matching refs:ring
623 struct ethtool_ringparam *ring) in e1000_get_ringparam() argument
630 ring->rx_max_pending = (mac_type < e1000_82544) ? E1000_MAX_RXD : in e1000_get_ringparam()
632 ring->tx_max_pending = (mac_type < e1000_82544) ? E1000_MAX_TXD : in e1000_get_ringparam()
634 ring->rx_mini_max_pending = 0; in e1000_get_ringparam()
635 ring->rx_jumbo_max_pending = 0; in e1000_get_ringparam()
636 ring->rx_pending = rxdr->count; in e1000_get_ringparam()
637 ring->tx_pending = txdr->count; in e1000_get_ringparam()
638 ring->rx_mini_pending = 0; in e1000_get_ringparam()
639 ring->rx_jumbo_pending = 0; in e1000_get_ringparam()
644 struct ethtool_ringparam *ring) in e1000_set_ringparam() argument
652 if ((ring->rx_mini_pending) || (ring->rx_jumbo_pending)) in e1000_set_ringparam()
679 rxdr->count = max(ring->rx_pending,(uint32_t)E1000_MIN_RXD); in e1000_set_ringparam()
684 txdr->count = max(ring->tx_pending,(uint32_t)E1000_MIN_TXD); in e1000_set_ringparam()