From patchwork Wed Jan 17 23:45:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 13522253 Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF56128DA0 for ; Wed, 17 Jan 2024 23:45:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705535128; cv=none; b=myaP2b2KA0eAz/zaqjcDPmRHwCnEMvpIskaKm4Vy9scU/MnBFyyhEfqtcVVieUlxrMFMpn3xzmJkRGJk9fQpp7evXNZCFgJ5UrZ93gfU9fl7F+HpxH5S99P+FowqAmGszJCQ80cr/y/D0+qcqFgrg6bHRhwOiPtYauBWnbksy7Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705535128; c=relaxed/simple; bh=RT345uHGjoyMWOV3qht9LqQAhA0RWBDFz8bqrmeCf7k=; h=Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Google-Smtp-Source:X-Received:Received:From: To:Cc:Subject:Date:Message-Id:X-Mailer:MIME-Version:Content-Type; b=reMPGgNEkN6cOcdqpcAW0b63fJZuzQWbvYNTBgzACuDpKASZKrB7o8rOtdLVjFWSr5/1lPu6QAPulAutAHxSXL+8DeRIB26P6POBDnb2vSQ6v/7KrZX5Msrn0IVzwL8c2JhphDFnsJ77QMskvkMpSSAxGvKqs3YN1zV+yg4kg+8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=OPJ8Fe/G; arc=none smtp.client-ip=209.85.222.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="OPJ8Fe/G" Received: by mail-qk1-f180.google.com with SMTP id af79cd13be357-7835aea8012so197157885a.0 for ; Wed, 17 Jan 2024 15:45:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1705535125; x=1706139925; darn=vger.kernel.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=qEhV0T6EDHgSmGDEen3dcT2EfJcKweP3ax2FlzR0UCQ=; b=OPJ8Fe/Ghe1BfFfhAALw2m+QcGV6hQe7B5MGAN7rO5TsIremA28ff5jslEwpOj1Fsd Wg5RF7jFQVz7ivpcq23wmFvwa1c9tICOu19ghSQGS656tZ/xExoKz3myDnQIJJn5/VwD diTwqCH9g+M6avmS+jlM2SUlYPVtWLNVCw3Fg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705535125; x=1706139925; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=qEhV0T6EDHgSmGDEen3dcT2EfJcKweP3ax2FlzR0UCQ=; b=lyY3XHXW8o07rQWHXgbV2KA41mTPtOzSF4Nafm3IdxTMA9vzNSWHocSIaZ6xAUHPBT m4XqLYv4O5dbhLs6Lvm76LJESR0G0/bXLwWntQKfRBR5m3dfT26bKxlX/NCaWf+QqgiX 0MkkCOv98lROxyOsRJ56C+ReMkeC086QZeMPcCVlUSV0xg/itvfgARX9agFE31EviRfN OYav9cPiMqsiox5hZ53WUK+eUExWcgHhvCdIxCyghmFPyIzb7GfCZpEcDyGH5x64KOKy /eNuqrjO/dMao4rMnOrbyiZvviBjhBJ1uHC61RZPVXrLwosetR3kz1IZWL7EdmBeHDnU aWHw== X-Gm-Message-State: AOJu0YxCJAFFUSCNa77q7yanrgAVvki5/ALhFFlEeVE4rkhMpsWzqamj 68hSkEOHp35kohW+QtBaHMufOFFGNGvfLb6WmX5235+J7A== X-Google-Smtp-Source: AGHT+IGlzsudeOTQL3aeS+LPj3GPCbp4eDLqAHi3tRPRsF8WhZBImjv2SjDvcAsr9Sv8eEBwGDzDow== X-Received: by 2002:a05:620a:120a:b0:783:55b5:34af with SMTP id u10-20020a05620a120a00b0078355b534afmr7707197qkj.34.1705535125583; Wed, 17 Jan 2024 15:45:25 -0800 (PST) Received: from lvnvda5233.lvn.broadcom.net ([192.19.161.250]) by smtp.gmail.com with ESMTPSA id b8-20020a05620a126800b0077d78c5b575sm4851105qkl.111.2024.01.17.15.45.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jan 2024 15:45:25 -0800 (PST) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, andrew.gospodarek@broadcom.com Subject: [PATCH net 0/5] bnxt_en: Bug fixes Date: Wed, 17 Jan 2024 15:45:10 -0800 Message-Id: <20240117234515.226944-1-michael.chan@broadcom.com> X-Mailer: git-send-email 2.32.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org This series contains 5 miscellaneous fixes. The fixes include adding delay for FLR, buffer memory leak, RSS table size calculation, ethtool self test kernel warning, and mqprio crash. Michael Chan (5): bnxt_en: Wait for FLR to complete during probe bnxt_en: Fix memory leak in bnxt_hwrm_get_rings() bnxt_en: Fix RSS table entries calculation for P5_PLUS chips bnxt_en: Prevent kernel warning when running offline self test bnxt_en: Fix possible crash after creating sw mqprio TCs drivers/net/ethernet/broadcom/bnxt/bnxt.c | 49 +++++++++++++------ drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 + drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c | 2 +- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 7 +-- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c | 2 +- 5 files changed, 42 insertions(+), 19 deletions(-)