Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1748126ybl; Sat, 25 Jan 2020 07:35:13 -0800 (PST) X-Google-Smtp-Source: APXvYqxKlYT56S9cnc3Nmc56ii1CpnETORiHS+hvZeaBr3JIgsrPs8cSI0jtkioI86elv5WKX0Db X-Received: by 2002:aca:4dd6:: with SMTP id a205mr2617477oib.43.1579966512986; Sat, 25 Jan 2020 07:35:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579966512; cv=none; d=google.com; s=arc-20160816; b=fDdi6fZmKn0ka2lFXx3i0P7mzjQ5hNLkQvMjSjKoStdT/R1nQjIJZSRIeiUmgksRGL MkjOj8At8yU6U3QQ9Lhfez8432gTl9fjnBiZuqclvQeZaDxzj81l+UZRis/3GqJVUg+I wQnnut2Z9lzD5AbsuXjmMDUzQWp/tCXL6We4PI+fQGobswm32gK6UDVs8Lu6DJRujGtY GpMWBkR4+zdmDPFxnM4pFp530pmiklvghMQJP6VQKGzBJ6nQRsSiaS5N4cSDyu2XmlmT KHa5MqzTyZYtsqC+1UUQ/Jf+EengkgwqrjyPN01zw61P/ymzsGkzMJnnH9VyiffbICwC E2jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ZDYNRqwBExDRXRR1MBnllajpDkmWN72OefXMTvnpJxM=; b=rPuisz1oGcboPZm5/A/VVFPaWYrygve0VAS/7T/k5pJomwETia9pWYFB237Hriw3oO QfgoqUY4r6hwfBNKRkbmCOLl6tk0lGk6VxvChAwBJNFbSvZbBxY7eyivHLVS7V7uE8N4 v9eBeDgbiy4YqcCaivEe9ScZ2NoEJOsAS5NjZpFM3zbkiwC65qhpSj76CCMPGGv9fMzu ceB3weKeuJB3resGt7ggFnHiVZigZO7LonUjkTvDp7zlofqunRDhhSZMwfqR3zi2tB6C m4eWSVtObFDu7wbLTuIb339ykk5AJYOo8w8deCeoh9cLOfB1G1ciDlx+oR9CJgPtX52c Vfww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=pDIorN8G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f189si1420210oib.268.2020.01.25.07.35.00; Sat, 25 Jan 2020 07:35:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=pDIorN8G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726599AbgAYPeI (ORCPT + 99 others); Sat, 25 Jan 2020 10:34:08 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:54080 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725710AbgAYPeH (ORCPT ); Sat, 25 Jan 2020 10:34:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ZDYNRqwBExDRXRR1MBnllajpDkmWN72OefXMTvnpJxM=; b=pDIorN8GkvUAsYHcE3q9XkvtTH mOTju6Vz+39zitPiVfOOFlVO3gk1nnvmtxsftHXu6kBK+clKmN4Qs49LI426KGZjMaXrfkaWd0Blw dp9dEIcx9aDhwQIwJF/SpK5+tY3ght5DlnK+0dqsmyZbsUKcV11klQ5fU5csoI+uVJp4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1ivNRj-0006wc-7X; Sat, 25 Jan 2020 16:34:03 +0100 Date: Sat, 25 Jan 2020 16:34:03 +0100 From: Andrew Lunn To: Horatiu Vultur Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bridge@lists.linux-foundation.org, jiri@resnulli.us, ivecera@redhat.com, davem@davemloft.net, roopa@cumulusnetworks.com, nikolay@cumulusnetworks.com, anirudh.venkataramanan@intel.com, olteanv@gmail.com, jeffrey.t.kirsher@intel.com, UNGLinuxDriver@microchip.com Subject: Re: [RFC net-next v3 04/10] net: bridge: mrp: Add generic netlink interface to configure MRP Message-ID: <20200125153403.GB18311@lunn.ch> References: <20200124161828.12206-1-horatiu.vultur@microchip.com> <20200124161828.12206-5-horatiu.vultur@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200124161828.12206-5-horatiu.vultur@microchip.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 24, 2020 at 05:18:22PM +0100, Horatiu Vultur wrote: > Implement the generic netlink interface to configure MRP. The implementation > will do sanity checks over the attributes and then eventually call the MRP > interface which eventually will call the switchdev API. Hi Horatiu What was your thinking between adding a new generic netlink interface, and extending the current one? I've not looked at your user space code yet, but i assume it has to make use of both? It needs to create the bridge and add the interfaces. And then it needs to control the MRP state. Allan mentioned you might get around to implementing 802.1CB? Would that be another generic netlink interface, or would you extend the MRP interface? Thanks Andrew