[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <A5ACC15C-361D-48E6-BFFF-9AA3966C2A68@freescale.com>
Date: Fri, 22 Mar 2013 14:31:50 +0000
From: Fleming Andy-AFLEMING <afleming@...escale.com>
To: David Miller <davem@...emloft.net>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH] net: Add support for handling queueing in hardware
On Mar 22, 2013, at 9:11, "David Miller" <davem@...emloft.net> wrote:
> From: Andy Fleming <afleming@...escale.com>
> Date: Wed, 13 Jul 2011 08:52:04 -0500
>
>> The QDisc code does a bunch of locking which is unnecessary if
>> you have hardware which handles all of the queueing. Add
>> support for this, and skip over all of the queueing code if
>> the feature is enabled on a given device, which breaks QDisc
>> support on dpaa_eth, and also coopts the FCOE feature bit.
>>
>> Signed-off-by: Andy Fleming <afleming@...escale.com>
>> Signed-off-by: Ben Collins <ben.c@...vergy.com>
>
> Sorry, no.
>
> If we are going to support something like this then there needs to
> be full coordination, configuration wise, so that if we enable
> a qdisc that the hardware supports we submit it directly, but if
> we enable a qdisc the HW does not support, we still use the software
> qdisc.
>
> This also means that we need to have a way to determine if the qdisc
> configuration exceeds that parametorial limits of the device's HW
> capabilities, and fallback to software qdisc in those cases too.
It would appear one of our customers is attempting to upstream our code for us. We are aware that this current solution is unacceptable (which is why we have not submitted it), and we are currently trying to develop a less hacky solution that integrates with qdisc.
Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists