[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100312.143330.79994779.davem@davemloft.net>
Date: Fri, 12 Mar 2010 14:33:30 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: therbert@...gle.com, netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH v7] rps: Receive Packet Steering
From: Stephen Hemminger <shemminger@...tta.com>
Date: Fri, 12 Mar 2010 14:23:02 -0800
> 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?
Why invent? egrep netdev_warn include/linux/netdevice.h
--
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