From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: Re: [PATCH net-next v2 11/18] net: Add netif_is_vxlan() Date: Wed, 17 Oct 2018 09:58:17 -0700 Message-ID: <20181017095817.6465d543@cakuba.netronome.com> References: <20181017085215.26607-1-idosch@mellanox.com> <20181017085215.26607-12-idosch@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "netdev@vger.kernel.org" , "davem@davemloft.net" , Jiri Pirko , Petr Machata , "ivecera@redhat.com" , "roopa@cumulusnetworks.com" , "nikolay@cumulusnetworks.com" , "andrew@lunn.ch" , "vivien.didelot@savoirfairelinux.com" , "f.fainelli@gmail.com" , "stephen@networkplumber.org" , "bridge@lists.linux-foundation.org" , mlxsw To: Ido Schimmel Return-path: Received: from mail-qk1-f193.google.com ([209.85.222.193]:40349 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727037AbeJRAy5 (ORCPT ); Wed, 17 Oct 2018 20:54:57 -0400 Received: by mail-qk1-f193.google.com with SMTP id a13-v6so16914870qkc.7 for ; Wed, 17 Oct 2018 09:58:22 -0700 (PDT) In-Reply-To: <20181017085215.26607-12-idosch@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 17 Oct 2018 08:53:20 +0000, Ido Schimmel wrote: > Add the ability to determine whether a netdev is a VxLAN netdev by > calling the above mentioned function that checks the netdev's > rtnl_link_ops. > > This will allow modules to identify netdev events involving a VxLAN > netdev and act accordingly. For example, drivers capable of VxLAN > offload will need to configure the underlying device when a VxLAN netdev > is being enslaved to an offloaded bridge. > > Convert nfp to use the newly introduced helper. > > Signed-off-by: Ido Schimmel > Reviewed-by: Petr Machata Acked-by: Jakub Kicinski Thanks!