[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100312142302.30def236@nehalam>
Date: Fri, 12 Mar 2010 14:23:02 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: Tom Herbert <therbert@...gle.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH v7] rps: Receive Packet Steering
On Fri, 12 Mar 2010 12:13:12 -0800 (PST)
Tom Herbert <therbert@...gle.com> wrote:
> if (unlikely(index >= dev->num_rx_queues)) {
> + if (net_ratelimit()) {
> + WARN(1, "Received packet on %s for queue %u, "
> + "but number of RX queues is %u\n",
> + dev->name, index, dev->num_rx_queues);
> + }
> + goto done;
Use dev_WARN? or invent netdev_WARN?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists