[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120106092912.000015cd@unknown>
Date: Fri, 6 Jan 2012 09:29:12 -0800
From: Jesse Brandeburg <jesse.brandeburg@...el.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [RFC] pktgen: set correct max and min in pktgen_setup_inject()
On Fri, 6 Jan 2012 05:13:47 -0800
Dan Carpenter <dan.carpenter@...cle.com> wrote:
> In 882716604ec "pktgen: fix multiple queue warning" we added special
> logic to handle the case where ntxq is zero. It's not clear to me that
> ntxq can actually be zero. But if it were then we would set
> ->queue_map_min and ->queue_map_max to USHRT_MAX when probably we want
> to set them to zero?
seems fine to me, esp since -1 seems like a bad value there.
--
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