[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161205.150723.9298784745370879.davem@davemloft.net>
Date: Mon, 05 Dec 2016 15:07:23 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: hadarh@...lanox.com
Cc: netdev@...r.kernel.org, horms@...ge.net.au, jiri@...lanox.com,
ogerlitz@...lanox.com
Subject: Re: [PATCH net-next] net/sched: cls_flower: Set the filter
Hardware device for all use-cases
From: Hadar Hen Zion <hadarh@...lanox.com>
Date: Sun, 4 Dec 2016 15:25:19 +0200
> Check if the returned device from tcf_exts_get_dev function supports tc
> offload and in case the rule can't be offloaded, set the filter hw_dev
> parameter to the original device given by the user.
>
> The filter hw_device parameter should always be set by fl_hw_replace_filter
> function, since this pointer is used by dump stats and destroy
> filter for each flower rule (offloaded or not).
>
> Fixes: 7091d8c7055d ('net/sched: cls_flower: Add offload support using egress Hardware device')
> Signed-off-by: Hadar Hen Zion <hadarh@...lanox.com>
> Reported-by: Simon Horman <horms@...ge.net.au>
Applied, thank you.
Powered by blists - more mailing lists