Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3080518rwe; Mon, 29 Aug 2022 05:37:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR487XLh5gPXGAJUHbbaN4475bgfEVRy6VJSfdz5IPPHgrqD5ai8zwm/Dlg/Btkz4HUMQovN X-Received: by 2002:a17:903:40d2:b0:174:e086:c748 with SMTP id t18-20020a17090340d200b00174e086c748mr2994366pld.108.1661776637655; Mon, 29 Aug 2022 05:37:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661776637; cv=none; d=google.com; s=arc-20160816; b=wgwsUPDzpokhxHr8e8ZENwbMqfoitz1kFwA6emLcMykyzyn7CNL9ueiEtR12HtWgJa 8QttCM2mIsKed6JExen1TsDiYCfdkWSkw84lMdTN7NiZO1iqKNZ4v+lxl2opj9VPjdkA zvQTo+Ieg/zkWA+Q+PpwF5zv+cQWidACaLl/WJpwqoS5EoifpuA+s66DAGbWDMuWV9UD L6rxOMUWmBIy5q/bHIwRfOdXjoK3K4h/qucFHROxDWzSH65Cs3V5y4pE0F1Q4bfz9Qq6 5i7t2T3E2YoHWzkpwh1orumlR76mR6cNyjEY9unhHps8Jh+6gL360eadTAalyeentEXz tMBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=WnEkuXcsxoWykENPsFACAweGu9mC8PADI6JG0dMkz6A=; b=oH8lMtBQxY/8crWtV8VVbuWfFNsGWqGuES0OlAD0rO4FZHkwH64/wcdodtSbtodEml dAtvkrPIQGkUzjawqrqReLimxrpUIhobnznie3cgZOBiT+jhbZcNlpD8w+k2DgQ5DdBH USh60yG8vAoId7xZxK/Gm2qfXDa57R/ZkM//RY4VQjCVjx72/cs0p/7ezaA3aeKU6qwE HuDZr/qkYMGZTjtGwts2hJKewSZXoK/HfTY+q3R1xLhTVQjTXlN3j4v6mVCIT17C/6uu Tjn1lacehVb1JtMj68cr4Kfx2KSHQLg8RuM3IgFZPpc23sQIyhpZeXXtgmJ/Zd6C1BAl 894Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WfPmoILo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u13-20020a63234d000000b0042a0dab10aasi8959865pgm.482.2022.08.29.05.37.03; Mon, 29 Aug 2022 05:37:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WfPmoILo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232054AbiH2LZ5 (ORCPT + 99 others); Mon, 29 Aug 2022 07:25:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232101AbiH2LYT (ORCPT ); Mon, 29 Aug 2022 07:24:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 550242B25C; Mon, 29 Aug 2022 04:15:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1D4D7611C2; Mon, 29 Aug 2022 11:13:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23AE7C433D6; Mon, 29 Aug 2022 11:13:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661771625; bh=VZJbGl/oofRE60OZLfEQPBKV6V2CdAgz9NQcnpJuoWM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WfPmoILodAP6nlOHG53GUkpwQDtrI0opypiLIS/bSY0/FhUVamE4f3b5HVFGW53k3 WWAOeZCybseMUOCdavIJy0S9G60cZ0gHiZaJoOj6Eyg6qPp18k0maP/36CbR0Uk+bw cJttbUaK2MJBodp/o9IdyzH/+wUgkHwjTwcJTH04= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Somnath Kotur , Vikas Gupta , Michael Chan , Jakub Kicinski , Sasha Levin Subject: [PATCH 5.19 052/158] bnxt_en: set missing reload flag in devlink features Date: Mon, 29 Aug 2022 12:58:22 +0200 Message-Id: <20220829105810.925924784@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220829105808.828227973@linuxfoundation.org> References: <20220829105808.828227973@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vikas Gupta [ Upstream commit 574b2bb9692fd3d45ed631ac447176d4679f3010 ] Add missing devlink_set_features() API for callbacks reload_down and reload_up to function. Fixes: 228ea8c187d8 ("bnxt_en: implement devlink dev reload driver_reinit") Reviewed-by: Somnath Kotur Signed-off-by: Vikas Gupta Signed-off-by: Michael Chan Signed-off-by: Jakub Kicinski Signed-off-by: Sasha Levin --- drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c b/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c index 6b3d4f4c2a75f..d83be40785b89 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c @@ -1246,6 +1246,7 @@ int bnxt_dl_register(struct bnxt *bp) if (rc) goto err_dl_port_unreg; + devlink_set_features(dl, DEVLINK_F_RELOAD); out: devlink_register(dl); return 0; -- 2.35.1