Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753347AbcC2WIu (ORCPT ); Tue, 29 Mar 2016 18:08:50 -0400 Received: from mail-am1on0088.outbound.protection.outlook.com ([157.56.112.88]:37504 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751289AbcC2WIs (ORCPT ); Tue, 29 Mar 2016 18:08:48 -0400 Authentication-Results: cmss.chinamobile.com; dkim=none (message not signed) header.d=none;cmss.chinamobile.com; dmarc=none action=none header.from=mellanox.com; Date: Wed, 30 Mar 2016 00:34:13 +0300 From: Ido Schimmel To: Haishuang Yan CC: Stephen Hemminger , "David S. Miller" , , , , Subject: Re: [PATCH] bridge: Allow set bridge ageing time when switchdev disabled Message-ID: <20160329213413.GA2917@colbert.idosch.org> References: <1459248488-25621-1-git-send-email-yanhaishuang@cmss.chinamobile.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1459248488-25621-1-git-send-email-yanhaishuang@cmss.chinamobile.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [149.78.144.178] X-ClientProxiedBy: AM3PR01CA026.eurprd01.prod.exchangelabs.com (10.141.191.16) To AM2PR05MB0979.eurprd05.prod.outlook.com (10.161.234.141) X-MS-Office365-Filtering-Correlation-Id: 603bfe21-7b76-420e-509b-08d3581a0e81 X-Microsoft-Exchange-Diagnostics: 1;AM2PR05MB0979;2:d6sWB1NwAvWZSaM4LUlhNIA64WjZ6NGPIEmrnEryX6hIltmBhj3NK0iG80aDGTdPjylWbcAo8LYK3YyIhGmV4N5Fjbv6s7QZnk0UrS+ppFpJ47gaHnZQyUarJCWPnszAYmFxHixvVSiXwAz8Q3FRM7WKvVqSH64v6Dt0neeydwKBHWeNPj9w83lbyoZrQ6a9;3:ihyUacIFqQ4/LLO6YqoQgwXV1zLOwGLXlC9IaRNgZe+ji+qj7EKdaLQQk1syWaA/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yB36Nems4ga0EWIVvKu9NtwGSUOU0fmepnJLwpmC5AJm5lRpMuN5DW7Jf9ehWDPBGtbH3Xol3qnah7+mweou35uBiVo1lfZ1N1Hnhu/xIEWBkoYRPsqU4RJoV583nn8+zSH2j/QO9YFcEcXqE8p+1ufRgPdza2OxLzNnXRYLPXCXb0XTRr;4:Eu+8lcoRYexY9hxczAXizar59p4iEezxyvL8RpxOSkhjVcoK1DJMri52XkzHDgDRUwwT/CuYGQX5Y1FLnCWja4Riy0fjtiKkRA4r7PODZjtIftpcoEeM/YofGFRDuWUOHu0FNbmez52CS0SDzJdb9B1M/2VgdhjjOpK7syXL4TFts8cO4/ygC6U+EsF5ON5Sj5to5lYQH296v5buuUtrTAtR3PC8mNEwa2s23wYWmUyNZdRvjKplU4EmcLBoUj1UbUMGHsL83bklIMREiXQ5P5UPXM9AopYIoSv69N/HAQNo1o/U9u2erbwDOVPmV0KlwtkBN4CVJuwTlyzF/oGOo1poDDwKouMnQjP22y+y+LvqX6IyCW5zTh4wU8mXMKyB X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001);SRVR:AM2PR05MB0979;BCL:0;PCL:0;RULEID:;SRVR:AM2PR05MB0979; X-Forefront-PRVS: 0896BFCE6C X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6069001)(6009001)(24454002)(5004730100002)(42186005)(2950100001)(1076002)(50466002)(4001350100001)(107886002)(110136002)(76506005)(4001430100002)(66066001)(97756001)(50986999)(586003)(3846002)(5008740100001)(19580395003)(6116002)(54356999)(189998001)(83506001)(1096002)(76176999)(77096005)(19580405001)(23726003)(92566002)(81166005)(46406003)(86362001)(2906002)(4326007)(47776003)(33656002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM2PR05MB0979;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;AM2PR05MB0979;23:D5EE9z2HeCBgSPo/mZ0osqLHFN2l675gQyMXgVbqB?= =?us-ascii?Q?Gu5ivT87HFk1L5roz0X4kcQadfKqk8otAG1kK5JR05Uml3ccUSZ/IIR8E9Bk?= =?us-ascii?Q?z3NfYGLldlK6PZpLgugLBASdyWQDYe16+jFcGWI9aB3tLtYh04f87EuLgS1I?= =?us-ascii?Q?bop5LHfl5B1V3KKA1uytG51oE1nGZStfRhStvZaxjbTZjbcsqdpoGmxFl4Ur?= =?us-ascii?Q?4aE4JrCUJnuRjC6UM4h7iiky61ctBRWSw/JRKBhgGfMDvV4BBzS+i/qw6oKy?= =?us-ascii?Q?vYjW6rKdyOZ6AijTY8uKRIa2XTf/irVgIypRVejT1QqZbH71t6afNH3zPq+O?= =?us-ascii?Q?tDrAE/ijRdcsby77dFa8fQucjZLkjTVzTEVo3YNLSGuRC6Ms7A/wGOFnF52j?= =?us-ascii?Q?fZFwChZhlpukCelukgfi3BFStGIr0STnyUmnFdbb9c0KOoG5Uj4zdN/4aohy?= =?us-ascii?Q?wIOygoy//9Bmnbvp00R5qpn5kkTsLRkX1V4EnrfNLeKy2wLs3mKPna49IZkc?= =?us-ascii?Q?NPlQyvNF2gxA0JPnGc+L/M7YLadnKAIFvE2tYkNWIIJUB7vHnxgfXrCvcMGh?= =?us-ascii?Q?5t6xJcKGhR+fxJWGgEWTIkMzxLSI6wJHM5bzj0/vp3jGcCcAvHcHPwOiK2J+?= =?us-ascii?Q?C7i4jHVT5N6wYa7KL/UcAOg7zDsTJLSHGNRwTqowq7Un/pIK66izfFkhsczN?= =?us-ascii?Q?JVr1dVZG4wIk1jdZaE9INDSGKAkvP0Q8F2xYUrVg+G31eRuMeWj9RYoO7xrV?= =?us-ascii?Q?ai3tvKL67yW7j7kz0sQuqFm9vIsPnAQx1dGjpYDwky5vtd+P8n/1UMPP0uOm?= =?us-ascii?Q?DWPyhprtyPDrQqlrA+TJo7619LddM7/uy6rl5lME+JweuFHe54Rrb69AKYUD?= =?us-ascii?Q?eNSQapIEph6yFRBoXD6gF8BArn5tYvTq3TY0vpgeGQIqwjpVvkCZrXet8jZR?= =?us-ascii?Q?UawuLujVE3GfwiHWCbi0zdSxFzPIiSqQ8T6cJ3BUTojqgcjJQ8tUskIKgBRx?= =?us-ascii?Q?GH/Lag67znszC1uX3YkTZfJ775D1CN7wUtV2ik0rEWcUQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;AM2PR05MB0979;5:v0tkABCgoQCKywoYjkfyrbuZd+pH+O0rQSJ0jtnGK36hj/VbTtGE3gldGIz0T9dOd0yS00fOxjh9N99OjQ17UCHx2N0xjBBi/ZEhSwDy8Ntjyd2CavYdKjlNYZVRdbPQBDrEmi41c5yiQZ6fAKDY3Q==;24:F2WRS23qGQLFIl62Sys0kT6kTA2jOtsbbg+joTvqWrJW+ZVAg5ZttkNUle9kI1B3RwjnD5EsBVG9NAxl3ksM3r+h3qMkE4M/IRJNd6bGZtE= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2016 21:35:32.1996 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR05MB0979 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 429 Lines: 10 Tue, Mar 29, 2016 at 01:48:08PM IDT, yanhaishuang@cmss.chinamobile.com wrote: >When NET_SWITCHDEV=n, switchdev_port_attr_set will return -EOPNOTSUPP, >we should ignore this error code and continue to set the ageing time. > >Signed-off-by: Haishuang Yan Fixes: c62987bbd8a1 ("bridge: push bridge setting ageing_time down to switchdev") Acked-by: Ido Schimmel Thank you.