Subject: Re: [PATCH net-next v2 4/4] switchdev: don't support custom ip rules, for now

From: roopa <[email-masked]>
Date: Mon, 02 Mar 2015 11:09:32 -0800

On 3/2/15, 9:00 AM, Scott Feldman wrote:
> On Mon, Mar 2, 2015 at 6:36 AM, roopa <[email-masked]> wrote:
>> On 3/2/15, 2:06 AM, [email-masked] wrote:
>>> From: Scott Feldman <[email-masked]>
>>>
>>> Keep switchdev FIB offload model simple for now and don't allow custom ip
>>> rules.
>>>
>>> Signed-off-by: Scott Feldman <[email-masked]>
>>
>> I don't see a need to do this. And seems very aggressive.
>> Also, note that the rules in a system can be on non-hw accelerated ports.
> It is aggressive but it's the safest choice for the first pass on this
> L3 offload.  Without, switchdev has no way to model custom ip rules
> down to hardware.   Let's start with this aggressive case, and that'll
> force us to work on relaxing it.
>
>
But, this will not allow hw acceleration of routes even if you had a 
rule for the management traffic for example.