Re: [net-next-2.6 PATCH 3/3] ixgbe: Do not allocate too many netdev txqueues

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Saturday, February 27, 2010 - 8:57 pm

Le samedi 27 février 2010 à 17:02 -0800, Peter P Waskiewicz Jr a écrit :

I was not sure MAX_TX_QUEUES capping was still necessary after the
block :

if (ii->mac == ixgbe_mac_82598EB)
          indices = min_t(unsigned int, indices, IXGBE_MAX_RSS_INDICES);
else
          indices = min_t(unsigned int, indices,
IXGBE_MAX_FDIR_INDICES);

indices = max_t(unsigned int, indices, IXGBE_MAX_DCB_INDICES);
#ifdef IXGBE_FCOE
	indices += min_t(unsigned int, num_possible_cpus(),
                    IXGBE_MAX_FCOE_INDICES);
#endif

So I asked to be sure that MAX_TX_QUEUES was not a leftover from the
previous default allocation.

Thanks


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [net-next-2.6 PATCH 3/3] ixgbe: Do not allocate too ma ..., Peter P Waskiewicz Jr, (Sat Feb 27, 6:02 pm)
Re: [net-next-2.6 PATCH 3/3] ixgbe: Do not allocate too ma ..., Eric Dumazet, (Sat Feb 27, 8:57 pm)
Re: [net-next-2.6 PATCH 3/3] ixgbe: Do not allocate too ma ..., Peter P Waskiewicz Jr, (Mon Mar 1, 12:21 am)
RE: [net-next-2.6 PATCH 1/3] ixgbe: Fix DMA mapping/unmapp ..., Chilakala, Mallikarjuna, (Mon Mar 1, 6:09 pm)