/* igbvf_alloc_queues - Allocate memory for all rings @adapter: board private structure to initialize  */
static int __devinit igbvf_alloc_queues(struct igbvf_adapter *adapter)
/* igbvf_alloc_queues - Allocate memory for all rings @adapter: board private structure to initialize  */
static int __devinit igbvf_alloc_queues(struct igbvf_adapter *adapter)
{
	struct net_device *netdev = adapter->netdev;
	adapter->tx_ring = kzalloc(sizeof(struct igbvf_ring), GFP_KERNEL);
	if (!adapter->tx_ring)
		return -ENOMEM;
	adapter->rx_ring = kzalloc(sizeof(struct igbvf_ring), GFP_KERNEL);
	if (!adapter->rx_ring) {
		kfree(adapter->tx_ring);
		return -ENOMEM;
	}
	netif_napi_add(netdev, &adapter->rx_ring->napi, igbvf_poll, 64);
	return 0;
}