From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0E74C3524D for ; Mon, 3 Feb 2020 07:42:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 95A3120658 for ; Mon, 3 Feb 2020 07:42:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="AgIJ/ru0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727494AbgBCHmM (ORCPT ); Mon, 3 Feb 2020 02:42:12 -0500 Received: from mail-oi1-f172.google.com ([209.85.167.172]:42248 "EHLO mail-oi1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727096AbgBCHmM (ORCPT ); Mon, 3 Feb 2020 02:42:12 -0500 Received: by mail-oi1-f172.google.com with SMTP id j132so13801846oih.9 for ; Sun, 02 Feb 2020 23:42:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=yg/wyCxXq8YZHNzJ8dsfVrkQkmbydQc6ARYkz/xIlE4=; b=AgIJ/ru07cQE0F8oPh3z8XLKq6UZvtRYvh1l6vLBtICtnIex273md0pgT9fhQ+IgeX U/NQddqQDqpXBbRBu1OLvWROwVhaldM07J03pHZxlL9NpJWM89jfPPeP4DCwMjy0ppRK sn1YE0pAsu+3hEMMYE5txff0OTfWqBfXLXHus= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=yg/wyCxXq8YZHNzJ8dsfVrkQkmbydQc6ARYkz/xIlE4=; b=Ntr/tg7dHMLpkEJxBnYigDebbCrylsX7tJFu30c3p298nTXkdyUycM5llAHMpq0RQJ FbB99+w3w7PWwxZHahB1+Rct/tgFhwCJCnHNuw35EViLFAL88dIMoqy4F71MP4NZXbdz ff6fwtNFChKExPyWBEv/N530YSYn4xvhZlgJXR6/wcyKqKXrTB4+oehOmo2IkiHgrmNI Ngw1xYer3GjFn3CJcefgiozPXVuhZ4ycg+ffPIw0jY16bvVwSKSrCPOf6HRafafhj2GN A/rceDiu80GRsO+E6q2C658vZl9NL1ebFeD2OEQwUDQC4M+yzNiYheq+CpdVPO7aPOoU f15g== X-Gm-Message-State: APjAAAXS8pkQ4r/F9XPc2UDZb90NEtFo7PkFHe6Sq24DlIVJuG9N2eZg 0Juhty9LDQWWVatXROytDtbNlJm8m5cqpAzUVc+YburMEA0= X-Google-Smtp-Source: APXvYqxMloF9bo2+bzstf5dy/VHshs6E6zyyW5QEyXrNgLsJgazP3yW8qsuSUDKTxJj/UHRXUqZRiDcMfy7ZPwj5h7E= X-Received: by 2002:aca:5303:: with SMTP id h3mr13349839oib.109.1580715731632; Sun, 02 Feb 2020 23:42:11 -0800 (PST) MIME-Version: 1.0 From: Michael Chan Date: Sun, 2 Feb 2020 23:42:00 -0800 Message-ID: Subject: [stable] bnxt_en: Move devlink_register before registering netdev To: David Miller Cc: Netdev , Vasundhara Volam Content-Type: text/plain; charset="UTF-8" Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org David, I'd like to request this patch for 5.4 and 5.5 stable kernels. Without this patch, the phys_port_name may not be registered in time for the netdev and some users report seeing inconsistent naming of the device. Thanks. commit cda2cab0771183932d6ba73c5ac63bb63decdadf Author: Vasundhara Volam Date: Mon Jan 27 04:56:22 2020 -0500 bnxt_en: Move devlink_register before registering netdev