/* This is our "base" multiqueue mode. RSS (Receive Side Scaling) will try to allocate one Rx queue per CPU, and if available, one Tx queue per CPU.  */
static bool ixgbe_set_rss_queues(struct ixgbe_adapter *adapter)
/* This is our "base" multiqueue mode. RSS (Receive Side Scaling) will try to allocate one Rx queue per CPU, and if available, one Tx queue per CPU.  */
static bool ixgbe_set_rss_queues(struct ixgbe_adapter *adapter)
{
	bool ret = false;
	struct ixgbe_ring_feature *f = &adapter->ring_feature[RING_F_RSS];
	if (adapter->flags & IXGBE_FLAG_RSS_ENABLED) {
		f->mask = 0xF;
		adapter->num_rx_queues = f->indices;
		adapter->num_tx_queues = f->indices;
		ret = true;
	} else {
		ret = false;
	}
	return ret;
}