Lines Matching refs:ering
1502 struct ethtool_ringparam *ering, in bcm_enet_get_ringparam() argument
1511 ering->rx_max_pending = 8192; in bcm_enet_get_ringparam()
1512 ering->tx_max_pending = 8192; in bcm_enet_get_ringparam()
1513 ering->rx_pending = priv->rx_ring_size; in bcm_enet_get_ringparam()
1514 ering->tx_pending = priv->tx_ring_size; in bcm_enet_get_ringparam()
1518 struct ethtool_ringparam *ering, in bcm_enet_set_ringparam() argument
1533 priv->rx_ring_size = ering->rx_pending; in bcm_enet_set_ringparam()
1534 priv->tx_ring_size = ering->tx_pending; in bcm_enet_set_ringparam()
2587 struct ethtool_ringparam *ering, in bcm_enetsw_get_ringparam() argument
2596 ering->rx_max_pending = 8192; in bcm_enetsw_get_ringparam()
2597 ering->tx_max_pending = 8192; in bcm_enetsw_get_ringparam()
2598 ering->rx_mini_max_pending = 0; in bcm_enetsw_get_ringparam()
2599 ering->rx_jumbo_max_pending = 0; in bcm_enetsw_get_ringparam()
2600 ering->rx_pending = priv->rx_ring_size; in bcm_enetsw_get_ringparam()
2601 ering->tx_pending = priv->tx_ring_size; in bcm_enetsw_get_ringparam()
2606 struct ethtool_ringparam *ering, in bcm_enetsw_set_ringparam() argument
2621 priv->rx_ring_size = ering->rx_pending; in bcm_enetsw_set_ringparam()
2622 priv->tx_ring_size = ering->tx_pending; in bcm_enetsw_set_ringparam()