Lines Matching refs:rx_ring
299 struct ixgbevf_ring *tx_ring = NULL, *rx_ring = NULL; in ixgbevf_set_ringparam() local
326 adapter->rx_ring[i].count = new_rx_count; in ixgbevf_set_ringparam()
359 rx_ring = vmalloc(adapter->num_rx_queues * sizeof(*rx_ring)); in ixgbevf_set_ringparam()
360 if (!rx_ring) { in ixgbevf_set_ringparam()
367 rx_ring[i] = adapter->rx_ring[i]; in ixgbevf_set_ringparam()
368 rx_ring[i].count = new_rx_count; in ixgbevf_set_ringparam()
369 err = ixgbevf_setup_rx_resources(adapter, &rx_ring[i]); in ixgbevf_set_ringparam()
374 ixgbevf_free_rx_resources(adapter, &rx_ring[i]); in ixgbevf_set_ringparam()
377 vfree(rx_ring); in ixgbevf_set_ringparam()
378 rx_ring = NULL; in ixgbevf_set_ringparam()
401 if (rx_ring) { in ixgbevf_set_ringparam()
404 &adapter->rx_ring[i]); in ixgbevf_set_ringparam()
405 adapter->rx_ring[i] = rx_ring[i]; in ixgbevf_set_ringparam()
409 vfree(rx_ring); in ixgbevf_set_ringparam()
410 rx_ring = NULL; in ixgbevf_set_ringparam()