Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3768357imm; Wed, 5 Sep 2018 05:50:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYMANTJc1B2jtOqfkYepXFzcAAqW6o42C+2LZE2o5j+wEwsOcbH8gbFb9h1nbzXY/VmVsIF X-Received: by 2002:a17:902:7488:: with SMTP id h8-v6mr38376802pll.16.1536151842177; Wed, 05 Sep 2018 05:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536151842; cv=none; d=google.com; s=arc-20160816; b=zTm1r4giD2E0IYQ74OFncQIphPcIb8QPGIa+VUrfytPNB70ubpePLbwhbYtvqIXkKa vxE7jR+Kibd/wc4REym5BYc9s5n0ugfJcKCGB8bMvegQTHzhRMm9xwHTf/oyj1GmZNjC RgULQKrBhhs5dpehxFNcOQjih5uha3/kiYqN9cr0I+iYeVl7pOGPJblF1+Fxia2++2+A wdeYVRZvwYzmnKgSCqToZDQEb7UoFQfIWy4o9hnXciHKWAPF/SevK9qqMi2ux8ZiEFRZ +N/1+fBM40/Pev7PVqUHmMnmsi1E+HuXPGAd1lHWk8fZOR/XNnW/IYO3epEHNVZRgFtP 0sXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=XgtNyzCkZPxGobac3/0HUgyyrKt91nuLOCgz2w9B560=; b=DATzKv/dxLznE91rFY6ASIrfFRdly+D0UylzeMVPtgiWGs56uIInEn2IqnaUjlflao GZOYmDx+bw9nP0nNLPwD+uRb2anqXYxAaZX/3zsVLCM/wlkqmOpKgC7bLs+T4YngKihD SjeEHgfZQvYhjWgUbsEMkXvCJr+49qTBRZHdXt95DUruteBeI/omf4agySHyr8FgjM57 qLb6WwnwxHZsN8oHm6DCl9BM7nP4x89hBkvpgAD2RHiJN1shjzU08RDxzBxs8xuTxOh3 N87rf2Ak7MrkIwQigMrPR+8WoBw1fogsvukxzbr6tCEP8Tpje+/tXBFhZ181p0ME34DO bAkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=HAAh3p7R; 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 e12-v6si1681374pls.372.2018.09.05.05.50.26; Wed, 05 Sep 2018 05:50:42 -0700 (PDT) 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=HAAh3p7R; 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 S1727508AbeIERT1 (ORCPT + 99 others); Wed, 5 Sep 2018 13:19:27 -0400 Received: from mail-eopbgr30078.outbound.protection.outlook.com ([40.107.3.78]:20249 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726071AbeIERT1 (ORCPT ); Wed, 5 Sep 2018 13:19:27 -0400 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=XgtNyzCkZPxGobac3/0HUgyyrKt91nuLOCgz2w9B560=; b=HAAh3p7RCerGYeAZPbvYIyl9lpnEeqV9m9OY4ILvvyJnxUULZ1I8VByEqel+/SPQTSLkk+kQgOp252f6M7jhDtlwE/pkY55j3IeWEFvyCsxO6KtWzytHqdYXSeC8REU5C6/NGeCBjoQYCGbbbVyNNl6ehBxb1f/VLnVph0FVDTY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=moshe@mellanox.com; Received: from [10.223.3.114] (193.47.165.251) by AM5PR0501MB2545.eurprd05.prod.outlook.com (2603:10a6:203:c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.14; Wed, 5 Sep 2018 12:49:01 +0000 Subject: Re: [PATCH net] devlink: Fix devlink_param_driverinit_value_set() stub return code To: David Ahern , "David S. Miller" Cc: Jiri Pirko , netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <1536066265-18641-1-git-send-email-moshe@mellanox.com> <2bf31ad0-c3f8-cdfd-8b96-1a8e3280064d@gmail.com> From: Moshe Shemesh Message-ID: <7fd426d1-61a9-7f45-bf26-05bd9e180277@mellanox.com> Date: Wed, 5 Sep 2018 15:48:56 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <2bf31ad0-c3f8-cdfd-8b96-1a8e3280064d@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [193.47.165.251] X-ClientProxiedBy: AM5PR0701CA0012.eurprd07.prod.outlook.com (2603:10a6:203:51::22) To AM5PR0501MB2545.eurprd05.prod.outlook.com (2603:10a6:203:c::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cb8eba8d-b290-4203-942c-08d6132df4d2 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM5PR0501MB2545; X-Microsoft-Exchange-Diagnostics: 1;AM5PR0501MB2545;3:rSJYPSIhnrl8uebQgQqj3ALxl2gnsTIRxT1e63kxPHT8QgWIxvu/2xSFVkVo+LkVUSeh+2TFzcLrpKIJq3jRX3bN43hu1+uXbufrVBedauyaeAMujnWVgkbNkC5cwJBaUtN54pbo1skYNqORcVKgFMfw4TlzMXGNla4a6+SREklFRQcjlyBJG9o7TLaubuVWipAeLXop9ot3FeFKN/wrn8WbFVQdUvbOXNpo9OgYmV8giKdxjVJfUvhrv7E4Ldyk;25:3cWOLQnRk1UvE7F8f8670U4FYQrfJ6rppDxAoU6QWXe3/fyufGAtK9dNv6qNWAoPPV64dMyx7aikcLzjvLdDd3tWP8DR2oVBOJcRlKYT31j8mKd8EnrM89IAZb7AjSlT/KszmDsseOlvGj7KQhMKdiTo49/eiyUt4c813pG+/tP+0ZG63Vm7x7bt7zQWlEnV1rybTUYc06UwJIlOosNe2J3Ut/FJk6qeq9VPqHrMnw49g3TgYOa6r50Ncge1rG9gDHApU1ktQ+UtjHOxA3ZlvagiuoL9d0cM6fNOQIZk05f24Dsw/aOFn+jIl2OuM0bGHShYb8QT9btpR6KFNrSjoA==;31:wb5NbeFRdMFI/og5VJL6VqGYiZTs7HRJ90Jczg7a5L2AfXkVzY1yX+ex6UVlnZ7x/HlOfJal5PkYpww3Gu4Uu7TIKg5hLqFj4hX/Y11rs/QcnveXjeqAQGe94NYhEW4VO9F+yftCyFZfCOV1KjVO950dsGK08IMwoiPjn84uEnKwO4hlV1x0dYySzivrEYQHYhI/I+s5KY4snWT2CRXJNOqVd7ERcaVbR7bu5kGkjvM= X-MS-TrafficTypeDiagnostic: AM5PR0501MB2545: X-Microsoft-Exchange-Diagnostics: 1;AM5PR0501MB2545;20:I/9a7u9hEkY7r5O2Y/5BKGzUHu5o6hUVVCVn3yxkQZPne9sYvaNu2jFXLLu5m0b780Hfa0cdaLz34vhrrZ9YNa/YdSvuBHQfG14At6kXNHNQqU5qWMFfynSTbEXJLVo4g+1gc1qOkEzqBCINMWpe81T9WCN1JjHhN1uCI0TMcj166Qb3TmTJ0x9oL5tBfZbzyluCG5s3IpZtj69d4S/S6JryJzyqqUnHoqXetCbPkhdLQxMSMCyUTlm71ZtDY4WP1BdoeyZZrX+tliUeIKG5op20gUqJZ/prfU2cOBfYetSUxxyRwyx3dW4VMCBOhSJBr4goxLjTMlLZZ3EgTiNJa1t7ZVcZKPq5axd0VA9eLbTyA1R/Wmy38wuVkLIe2SF+guwtm9pxeeH70Z72Vdyh/72YE/sz4D92UNqyFH+aFwRKJPb2AyVWhup0HzNVLx7Aws3gV+IcEOpYYHzeT0rXCwmgLhReAqnK+eQ4JvKvvp1BsFSZMRtBRD1EZTjbcmvy;4:TEG8S/2tTYiYEQkUV6PGxKVvWYNwdUY94ESyIw21lNcJCs7Pl0vzYIAFYf9JxxZNS7Lbi0fpwxvE8ij1R3xZBx54uN8nHlgreIHWKCWxj4QowGCIEjqKHcLCelGgCjpKHxS7ITKydHkuuDm4kXXWtDm05f+R9JLgSWE2GjZs9pIi1ZxSmxvo0FUwnQ9p0vUYQh7NowHZQcbsgoGWX2HpCRYl5im6H2cPg4euIfQcvPu9Ehg89tCXeA6X+HbjFApKf3fxg4Ow5upQtkKVXtHFtQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(823301075)(93006095)(93001095)(10201501046)(3231311)(944501410)(52105095)(3002001)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(201708071742011)(7699016);SRVR:AM5PR0501MB2545;BCL:0;PCL:0;RULEID:;SRVR:AM5PR0501MB2545; X-Forefront-PRVS: 078693968A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(396003)(39860400002)(366004)(136003)(376002)(346002)(43544003)(189003)(199004)(81156014)(81166006)(305945005)(16576012)(52116002)(76176011)(23676004)(25786009)(2486003)(68736007)(52146003)(67846002)(6666003)(86362001)(97736004)(65806001)(53936002)(65956001)(7736002)(8936002)(110136005)(58126008)(31696002)(66066001)(47776003)(4326008)(316002)(14444005)(6116002)(64126003)(8676002)(186003)(2906002)(16526019)(31686004)(3846002)(26005)(106356001)(77096007)(229853002)(230700001)(6486002)(65826007)(476003)(486006)(6246003)(39060400002)(386003)(446003)(36756003)(478600001)(2616005)(11346002)(50466002)(105586002)(53546011)(956004)(5660300001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM5PR0501MB2545;H:[10.223.3.114];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-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTVQUjA1MDFNQjI1NDU7MjM6M2ZYUjBuOVdsazh2QXVPbUNsQXJ3NklF?= =?utf-8?B?cm01ckEyQ2ZNdUtDSGN6Q0VqSGZ3NDAycFdxdk5mQ3drREdoMm01eWhnZEx5?= =?utf-8?B?RDVheDlkQXpkT2UrMHFCU2pBWjV0UDlvR2UxdUdZbjlzSk4rYjdTSUoxR2hM?= =?utf-8?B?djBJWjl6cHcvWkJzNFZYUGxBWGcrNFBMVWVsK2grK2ZLSnlZV05oRG5BazlP?= =?utf-8?B?NVY0RUlYYVg3U3l5MzBueVIvQ0poZVR5YWw4ejh0dFA4MHVyMEIyOXB5YzVT?= =?utf-8?B?b1orYWt5Y3UzR2JBaXpqZ0tTWjN2VUNnWXNDUGlLbHhqL29OdEpYSkUzVGdW?= =?utf-8?B?bHJIcitJZlg3M2Q4ekN1aURMTVNSK3lQTUROMHN5T0M0b05NQTZzSlJwSzNh?= =?utf-8?B?ZW5CcFFOOW5aK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b9eDNQSs38qr7HVNakSNu52ODpTO7dL7Sa+zsHzOB7Hq/oYCdNIPVn3GKHOYToT+lQq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Sep 2018 12:49:01.6717 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cb8eba8d-b290-4203-942c-08d6132df4d2 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0501MB2545 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/4/2018 7:13 PM, David Ahern wrote: > On 9/4/18 7:04 AM, Moshe Shemesh wrote: >> The stub function returned -EOPNOTSUPP while CONFIG_NET_DEVLINK is off. >> It caused false warning during driver load. Driver needs to update >> devlink on a parameter value if devlink module is there, if not it >> doesn't need any error code. >> >> Fixes: ec01aeb1803e ("devlink: Add support for get/set driverinit value") >> Signed-off-by: Moshe Shemesh >> Acked-by: Jiri Pirko >> --- >> include/net/devlink.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/include/net/devlink.h b/include/net/devlink.h >> index b9b89d6..b467357 100644 >> --- a/include/net/devlink.h >> +++ b/include/net/devlink.h >> @@ -781,7 +781,7 @@ static inline bool devlink_dpipe_table_counter_enabled(struct devlink *devlink, >> devlink_param_driverinit_value_set(struct devlink *devlink, u32 param_id, >> union devlink_param_value init_val) >> { >> - return -EOPNOTSUPP; >> + return 0; >> } >> >> static inline void >> > > This should be handled by the driver -- check for -EOPNOTSUPP and not > log an error. This is a stub inline function. The return value would be ambiguous as the non-stub function can also return -EOPNOTSUPP, in case the driver-init mode is not supported for a parameter. > > devlink is generic infrastructure. If a call is made and the operation > is not supported, then devlink should return an error. In general the stub functions should take care that the driver won't feel the missing code as much as possible. That's why devlink_params_register() returns success and so should this function. >