Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp324101imp; Thu, 21 Feb 2019 02:08:52 -0800 (PST) X-Google-Smtp-Source: AHgI3IY6VHS5KxjDW98g9VqNEXFwJLJAUceyvgDu09ar8rI4p64yOClfLLvvNoxEkg63dnS1JWsE X-Received: by 2002:a63:788a:: with SMTP id t132mr27362713pgc.0.1550743732032; Thu, 21 Feb 2019 02:08:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550743732; cv=none; d=google.com; s=arc-20160816; b=eg0I+iSyPrts0A+i/8rZ8fT4p2hcnkCUgMGeW28l4xhQQ1QgKbzd9AaS0GQYMzdbmM 6tHx/htZhhDwbEBhFyW33M+Lpf9HaZxMtcZCXR5GtB+nq2zOpB05e7aKZj+eAvIgObNd +we48X8ua9iBTWu+3JdGoJmQihh8E7cPRhf4SPQMML0P7kC86JNeNtKIDAtvOa7GV8a5 L4STo/0y33EqIahABd9wphrzIkfPK8M6ssftZvi2teeP2Q+PIZ+ABlI7EQrb3gl2D5Ty ckJ6uBQ9MRbpgk9n579MeFAVYyxhf+0ZtXRJq6RujFbVZ084PLGhChO3hb+ZeElwrBsc M+EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HqdgBkYNS/neJhKCf+oOyRMwcBJqLhQt7+NMOL23En8=; b=ozCc1dopXApMB1/hHCUX0D42pSdAWZhmfFOq3YGDyoC39ZJbnYtbwkJh6JWh9pXmM+ 1BxBsytMtR69WL7c1NDYTikQflfxbPTtGKgIlFdnjrIZ/3IAf4fv2lNhrm7URxNDZPrf zDo6dE51f7UIFJAQsqo9HWZZ/+Hlc9yFILWxMj0Xt4by4azWDfUGrnTAcjfCL/n9i33T dY2t5LudBhxd9P2xpQb2SNnm+aMAPq5L1u7w8VlLRM39JHgmFpXWjCUwhiD3U63QXGKe Mkg1hyJGnI/NEuTFV5knwtYLmNM9+rqubxI/iottGqWKSsxy7p99118eYnVyiRUvLcxz +fGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=jR2bXCXG; 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 bg3si21756107plb.363.2019.02.21.02.08.36; Thu, 21 Feb 2019 02:08:52 -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=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=jR2bXCXG; 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 S1727840AbfBUKHP (ORCPT + 99 others); Thu, 21 Feb 2019 05:07:15 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:34079 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727765AbfBUKHO (ORCPT ); Thu, 21 Feb 2019 05:07:14 -0500 Received: by mail-wr1-f65.google.com with SMTP id f14so29357881wrg.1 for ; Thu, 21 Feb 2019 02:07:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=HqdgBkYNS/neJhKCf+oOyRMwcBJqLhQt7+NMOL23En8=; b=jR2bXCXG4SGWrS/VcaC+oXl4+W3cSzGT00a8RMUDG3NTmMMANwYh3Iz6EGQjmE/Swh grb8JVcMLNz8GlotLwSIK5gLRZLil06zjgNv9GYgaQxEAh1DRWvljXUyFcPt6r39hjKn L/zIxccCANJtrBQnP7J5LY5YSAmDKb5oArxV8PWziI8aGuipTeAWf4/22BphAiSGWIx7 6RgAxZ+Qd0X+B21NEqdoDr+h6M7RdcX4CwzrBhKFsxGhOi5oBfOOz+jsLm4R03dBcoJS kn8Yo6HySPt3tPT7DYX3Q8N9wrGmcKPGvYsFPoRYTnE0YerNeXbGAVkUptLYRfn3nq4N nrJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HqdgBkYNS/neJhKCf+oOyRMwcBJqLhQt7+NMOL23En8=; b=Q/QUy5jbhym1tHseQId3zP5A+cihc/SVIQXszsFqWgb6n/daklVWrdWpxhw0vXKGB/ cih0gwpwguZjlzud6wGsoBTQdrU0Gu6yfe0+Eohm2lWgRm6jCW5WAAm5/NP5cpbhvi7o IMgenOT7gY6PDYUtYHvqYu1mNeaD+x/PR2PC8FMxXN9nTpDzdHXuD9OS7PCdQ5HI403O yUnz/k7AqRFp9eYnak+NuLrYKfEMdlLqRE5OAjxUmS9hnjg5/t8/IRaXb1Ai7S30+77o p8y+8OV80aLp+4CB2UzSgUqKC3hzVQJkdWBlKbj9vpcIFUymQIuAUSBFIQ6qyIktGq+S ea8g== X-Gm-Message-State: AHQUAubY3uTS4jdkUWyF+GTeGWUt6IkqZbwIjAncpLSamdNgIJJKKjlM 3I8F5xML62pxViz+pqdpDHmXTw== X-Received: by 2002:a5d:4585:: with SMTP id p5mr30200262wrq.178.1550743632826; Thu, 21 Feb 2019 02:07:12 -0800 (PST) Received: from localhost (ip-89-102-139-73.net.upcbroadband.cz. [89.102.139.73]) by smtp.gmail.com with ESMTPSA id h184sm14212397wmf.0.2019.02.21.02.07.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Feb 2019 02:07:12 -0800 (PST) Date: Thu, 21 Feb 2019 10:57:33 +0100 From: Jiri Pirko To: Florian Fainelli Cc: netdev@vger.kernel.org, "David S. Miller" , Ido Schimmel , open list , "open list:STAGING SUBSYSTEM" , "moderated list:ETHERNET BRIDGE" , jiri@mellanox.com, andrew@lunn.ch, vivien.didelot@gmail.com Subject: Re: [PATCH net-next v3 6/8] net: bridge: Stop calling switchdev_port_attr_get() Message-ID: <20190221095733.GI2312@nanopsycho> References: <20190221005826.26317-1-f.fainelli@gmail.com> <20190221005826.26317-7-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190221005826.26317-7-f.fainelli@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thu, Feb 21, 2019 at 01:58:24AM CET, f.fainelli@gmail.com wrote: >Now that all switchdev drivers have been converted to check the >SWITCHDEV_ATTR_ID_PORT_PRE_BRIDGE_FLAGS flags and report flags that they >do not support accordingly, we can migrate the bridge code to try to set >that attribute first, check the results and then do the actual setting. > >Signed-off-by: Florian Fainelli Acked-by: Jiri Pirko