Subject: Re: [PATCH v7] rps: Receive Packet Steering

From: Stephen Hemminger <[email-masked]>
Date: Fri, 12 Mar 2010 14:23:02 -0800

On Fri, 12 Mar 2010 12:13:12 -0800 (PST)
Tom Herbert <[email-masked]> 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?