From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [PATCH net] i40e: flower: check if TC offload is enabled on a netdev Date: Tue, 23 Jan 2018 09:26:09 +0100 Message-ID: <20180123082609.GB2282@nanopsycho> References: <20180123080840.768-1-jakub.kicinski@netronome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: davem@davemloft.net, netdev@vger.kernel.org, oss-drivers@netronome.com, jeffrey.t.kirsher@intel.com, amritha.nambiar@intel.com, alexander.h.duyck@intel.com To: Jakub Kicinski Return-path: Received: from mail-wm0-f41.google.com ([74.125.82.41]:33991 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751154AbeAWI0L (ORCPT ); Tue, 23 Jan 2018 03:26:11 -0500 Received: by mail-wm0-f41.google.com with SMTP id j21so12347723wmh.1 for ; Tue, 23 Jan 2018 00:26:10 -0800 (PST) Content-Disposition: inline In-Reply-To: <20180123080840.768-1-jakub.kicinski@netronome.com> Sender: netdev-owner@vger.kernel.org List-ID: Tue, Jan 23, 2018 at 09:08:40AM CET, jakub.kicinski@netronome.com wrote: >Since TC block changes drivers are required to check if >the TC hw offload flag is set on the interface themselves. > >Fixes: 2f4b411a3d67 ("i40e: Enable cloud filters via tc-flower") >Fixes: 44ae12a768b7 ("net: sched: move the can_offload check from binding phase to rule insertion phase") >Signed-off-by: Jakub Kicinski >Reviewed-by: Simon Horman Acked-by: Jiri Pirko