Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1704602imj; Thu, 14 Feb 2019 10:35:57 -0800 (PST) X-Google-Smtp-Source: AHgI3IbaNyMBxh8tTlpVrBVEjJlUHfUc6qUzGgWSICJW5tBWD8gA74QDQcl4YA80qhwPAUVg4EqR X-Received: by 2002:a63:ce50:: with SMTP id r16mr4992207pgi.217.1550169357001; Thu, 14 Feb 2019 10:35:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550169356; cv=none; d=google.com; s=arc-20160816; b=PwC4hDemiOMEGjCJXK3NN+GwwKxzGz4llntlQ+t7wchNIroelehr5NM2p5nSBeAQfT nM0r/Jz50VJeVesgTQ0J81uoQgEQ32wHXOPu7hweLcF6mUAchtw7mbH/+d5RMCuVxmNZ rvfmvQ2CV7voqSFMcf5d9v5CMHEYaw88oizTEjHMK+jbYy2PixN5RxHJE74RFegdsM2w PiFjSFm9tpeR9JoBKy5WxzcfVYJGUSLM9ZP/f1cTW5/Nc8grOI/g9+pPMjn0V9Q2Hrmp AeQy/0Kbqtt+gEOzcvD+o1g6MgxMcY3tI1bcuh3+UnS9rFuKoUVyt3wom6M852SKyEnY 8F/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=2/CO/KIkZaTcRskSjIOhhlz6gceoT1YOiG0Bz84pdIQ=; b=ZsNAFuy1O6mm5VciosZduxJr13z52GElo5AMaTSIc0dL4IMIPRPnV3c/n7Fttk3hFW jFdUiYrlFeTBNhoKlBJUw3/mCVpLfyZpjEb06J4Ay9t4xpt27NPzYbVOYpeJws8bvB9j p3fJykBzZUTh91aPyyU15136PJmlNxncVzmTyrQD1PvmyfaZNZN5ebiysNTRmijImbVd MmqjxywsAl7FHQXLqf4vG99OR3n1pIKVDddaij7ale+BB7h5fC3FNdXlUcOXJlzlHNUx DC7Er5PX+XH0MFaWulW0qgl3xlMRQOXcO8KPbRsMmqitqTUddDLUQ9oO/CQYxY9st/qk HMxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=VDQtMDW7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f23si3278007pfa.228.2019.02.14.10.35.41; Thu, 14 Feb 2019 10:35:56 -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=@Mellanox.com header.s=selector1 header.b=VDQtMDW7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390960AbfBNL15 (ORCPT + 99 others); Thu, 14 Feb 2019 06:27:57 -0500 Received: from mail-eopbgr50069.outbound.protection.outlook.com ([40.107.5.69]:3180 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732023AbfBNL14 (ORCPT ); Thu, 14 Feb 2019 06:27:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2/CO/KIkZaTcRskSjIOhhlz6gceoT1YOiG0Bz84pdIQ=; b=VDQtMDW7pLVicW/Yv8rCOSbu/if5U1Q35VQ1KLZi8l1jEN8tePEG9ZZqPpRVdXlvTD5yOeNv+vRQddTZyPb9xxnHyEnVQGwJ0bTJPWPiIaOJT/5sF0uNejM8UayHTvb9O9Cnxa0aQ2qkYqIWAWi5O6pZES7KgwXMwlmpjn2XQ3g= Received: from AM6PR05MB5240.eurprd05.prod.outlook.com (20.177.196.214) by AM6PR05MB4231.eurprd05.prod.outlook.com (52.135.161.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.17; Thu, 14 Feb 2019 11:27:51 +0000 Received: from AM6PR05MB5240.eurprd05.prod.outlook.com ([fe80::3542:889c:3a85:3866]) by AM6PR05MB5240.eurprd05.prod.outlook.com ([fe80::3542:889c:3a85:3866%5]) with mapi id 15.20.1601.023; Thu, 14 Feb 2019 11:27:51 +0000 From: Ido Schimmel To: Florian Fainelli CC: "netdev@vger.kernel.org" , "David S. Miller" , open list , "open list:STAGING SUBSYSTEM" , "moderated list:ETHERNET BRIDGE" , Jiri Pirko , "andrew@lunn.ch" , "vivien.didelot@gmail.com" Subject: Re: [PATCH net-next 8/9] net: Remove SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS_SUPPORT Thread-Topic: [PATCH net-next 8/9] net: Remove SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS_SUPPORT Thread-Index: AQHUw+iOxU++dzWJmU2RjnNqH5flMqXfKNCA Date: Thu, 14 Feb 2019 11:27:51 +0000 Message-ID: <20190214112749.GA9620@splinter> References: <20190213220638.1552-1-f.fainelli@gmail.com> <20190213220638.1552-9-f.fainelli@gmail.com> In-Reply-To: <20190213220638.1552-9-f.fainelli@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LO2P265CA0036.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:61::24) To AM6PR05MB5240.eurprd05.prod.outlook.com (2603:10a6:20b:64::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=idosch@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a65dcd20-0de8-4c1c-98f2-08d6926f7485 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM6PR05MB4231; x-ms-traffictypediagnostic: AM6PR05MB4231: x-microsoft-exchange-diagnostics: =?us-ascii?Q?1;AM6PR05MB4231;23:yRS1KatdIPGt2s6BSa4nax7Jk0q/HgwDmrByKehXy?= =?us-ascii?Q?bnWuJza8Bl/7OzO9NrgTGL7/gMJxSFyZbwGjUyN4I7x3e+/LxxH/d1n6cv8X?= =?us-ascii?Q?H5qyLIwKGXDqc7sduGv6cWdw90RL+WSUcDONZwuJUNpgV7PHNYnPx5uogzgt?= =?us-ascii?Q?bd/Epyvy2eBajQySBaUuBue2xwAuYdV/2DUNtWaali1bdYiV5SpXDYONnjgr?= =?us-ascii?Q?9b/ZV7NI2oLn+AZJibXebPInFG2WyUkEsbLUL4UQOVwGcca49ls1gPeTIkmS?= =?us-ascii?Q?9xm+8TI2gBkDVDqcQcftbjD2udA59aXWA7A8i1llvw9kmSm0dWNYf19tSH0y?= =?us-ascii?Q?/Kw0ml8nn39idMnTZiqkfcDZlwJSrhWizIhIeXJ3LSqTTrdhDtz1csWcj41u?= =?us-ascii?Q?H0oBjCPvi8pFIxlMUdC/uhNYamMIkYgHiMM26/gFCc3/iFweuVU2jPaCuDtR?= =?us-ascii?Q?338vV7JKoQJHRcxkUM8RlGJBUV4VKKRrDe6HC1B7yiSPhNxcZZzZaiU4u+nF?= =?us-ascii?Q?MAoR8z/xw4Ic9SyIEgvyYDERsIrvJKV9kJhSGsTIsMbESOGkiSVMsmGHmxEF?= =?us-ascii?Q?UhzkbGlR5TdxNL8+v8FpH5XssxueANKpokg4E+4pHOtMDFHU9RK6blfrVzXO?= =?us-ascii?Q?DGn7VuIYGnsfQ5vYcqTTzdMbWdtXn0vGwEDw6VHLfblHi64c7IYN0XsfytWX?= =?us-ascii?Q?IHF7t6iLRsak2wXkIIzhkV2h8Zaq8ppBxcCGeI4t+i1jjiaXjSC2tqn5sppf?= =?us-ascii?Q?tTd/rA5cb0zliZScNY+QYkJ4eI14R3CbMIclKHDERrEZWZO3AbYEGt63/+KJ?= =?us-ascii?Q?lbzO46SkRDrvvKoeKoWCvDxtLLmrAuKyE0IhBEITYa39xADR3mp5rluCidkq?= =?us-ascii?Q?iy815zWJm2bvMbkXgqb1MEk/lX19VRJvZ3SXjftoLeDddagBCOfcJeVa42Tw?= =?us-ascii?Q?jy5u6lfh4C0bIDGhy4AEcHrBgD25e67y617UgaeqTgEu7R6fl4H6ilhYfHXc?= =?us-ascii?Q?5Vl0gOdpzzAry24707wJRoqa5RYI2ynQlEhASB3DkerAJ+L22dvKN7dDfZOj?= =?us-ascii?Q?oK4cR006QhvKC1+NiuFOC0eR6zm6fEHvi+if65SJCg0/iV7rBGuMMtLcT2Zo?= =?us-ascii?Q?bIpxbUQRwQTwi5ZU1SYPS1McmzQoBSJ7sTEWucOw0KXJsAHPrAHzevjovxdi?= =?us-ascii?Q?DoHkNxpB7xnRqBwSTvCZ8Ambxye1SE58QU6F7xDKz8imxdfEe3EjMpbHomV7?= =?us-ascii?Q?Zo856k0lqjGwdmOsfTs4LyYILazDqUIx2Ui44ji?= x-microsoft-antispam-prvs: x-forefront-prvs: 09480768F8 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(7916004)(396003)(39860400002)(376002)(366004)(346002)(136003)(189003)(199004)(53936002)(102836004)(386003)(6916009)(25786009)(8676002)(81156014)(4744005)(3846002)(6116002)(476003)(8936002)(486006)(52116002)(6436002)(1076003)(4326008)(6486002)(2906002)(6506007)(81166006)(26005)(9686003)(186003)(6512007)(446003)(11346002)(71200400001)(68736007)(33656002)(54906003)(71190400001)(33896004)(14454004)(256004)(97736004)(316002)(66066001)(86362001)(6246003)(305945005)(229853002)(106356001)(478600001)(33716001)(7736002)(99286004)(105586002)(76176011);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR05MB4231;H:AM6PR05MB5240.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: O1H6/N5PBAuCFQ1s1I4SpesI5sDKhQsv4Qb5K278Tcd3W7Ou7Bcpq+EeeXFqC7Na5oM/OSC4wDc4Dd5TE0pX81Vnto/N7R6CpFu0OvQyAFCSY4f1jULmxm1EFlWD7rpTHs7jc26pj7HMW8GO5CSqr80UdFxNAZUd7AqRN12HecWC0pXzkEHoA+vNAsZS2ZbX2jae7rz7ldsPSQYzkijy7z+8GSblqtXI8LPU80cn+Okg2hnxOwvpPjFdv7wiTbyIy8o2JKLLy8aTaexNy5Fn0/fH42S+LrzQVWQvYkRG6+DOlD7wCuotpI5Yn3d3Zf1LW7eu3PgKdAB0TYXm0u1yUm7hhQi98Kq8DHwKfz7/Gev9ataN5YVDpyc3X5XxN/ZWyLXcarc7Z1V5KrTO+DPbiwJxRBsQp4AbIyEYpjIhjIo= Content-Type: text/plain; charset="us-ascii" Content-ID: <30D75F9BF9B6EB4EA0A9B623D0594868@eurprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: a65dcd20-0de8-4c1c-98f2-08d6926f7485 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Feb 2019 11:27:51.1390 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB4231 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 13, 2019 at 02:06:37PM -0800, Florian Fainelli wrote: > Now that we have converted the bridge code and the drivers to check for > bridge port(s) flags at the time we try to set them, there is no need > for a get() -> set() sequence anymore and > SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS_SUPPORT therefore becomes unused. >=20 > Signed-off-by: Florian Fainelli Reviewed-by: Ido Schimmel