From patchwork Tue May 3 01:13:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 12834953 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91228C433FE for ; Tue, 3 May 2022 01:13:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230035AbiECBRH (ORCPT ); Mon, 2 May 2022 21:17:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229876AbiECBRB (ORCPT ); Mon, 2 May 2022 21:17:01 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48EA2C2 for ; Mon, 2 May 2022 18:13:29 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id p6so14094301pjm.1 for ; Mon, 02 May 2022 18:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=4EiOMakyTE8CkIIaKpaWPLDeYLeRUicbR3o7Pt5UrPY=; b=el85xG9/O4yFk2khuqjY6O53182Yh3pNfxw6jbGjo6h1lGtXitCktJnX+rBUH33khb 6/Tp+d/PxUi2TRZmroITY3aNY6IYEkEule9jVb0+ocPp1H3nkwfLgGDpdGyjHm3Uhu2z 6xgV6LpmhkjP5gqBEqkMM3pdYTOGAv1mvNFRU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4EiOMakyTE8CkIIaKpaWPLDeYLeRUicbR3o7Pt5UrPY=; b=JgEbAGguvdzzsT5Px1F10GIYHMqQpfmQFn8nxtceJEz7Dtw7R6ySKwRbaDS8Ye9S2o LfKApJloIL0lUhgtv8HXsPzI+z8z9n6u+ZNfgqvzRrRPPS0kjG2XLK2OpR6VZ41Si48I K4PZrlM60V0AIRbNHxGtHhmirFiBOyzLkkx5FknDahPyLCd1CeXo0P25ef66t+mvhLhP PIVf5qi+43NVG0YREC9teXbIR6phWBj7WwVmKUmjHg7qtqie7VQBHNccor8WkVSgRMhu o/6ofgDvphPCw5y8QeyLTWbjUhhx6AHFqNl8dmWE7PaQXfqW8pUcR3GeaWWe3HFMZzIo BLWw== X-Gm-Message-State: AOAM533vqVFNLv2huTf1koT4nJjSpSZFYdEDQ2mZ5ib3EgMI0VgRINTo 8bgZkHKR0ttcMUjJwYnLxX0gXA== X-Google-Smtp-Source: ABdhPJwVgIZ1TfVWc7kNsuafxSICLZk7IsKGgrx6c8fLal3CibI54G0TOZx9kFe5Dg5qLraNWbhd7w== X-Received: by 2002:a17:90b:3b89:b0:1dc:68e2:10ba with SMTP id pc9-20020a17090b3b8900b001dc68e210bamr2080764pjb.199.1651540408101; Mon, 02 May 2022 18:13:28 -0700 (PDT) Received: from localhost.swdvt.lab.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id k23-20020a170902ba9700b0015e8d4eb1fesm5272169pls.72.2022.05.02.18.13.27 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 May 2022 18:13:27 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, kuba@kernel.org, gospo@broadcom.com Subject: [PATCH net 0/3] bnxt_en: Bug fixes Date: Mon, 2 May 2022 21:13:09 -0400 Message-Id: <1651540392-2260-1-git-send-email-michael.chan@broadcom.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org This patch series includes 3 fixes: 1. Fix an occasional VF open failure. 2. Fix a PTP spinlock usage before initialization 3. Fix unnecesary RX packet drops under high TX traffic load. Michael Chan (2): bnxt_en: Initiallize bp->ptp_lock first before using it bnxt_en: Fix unnecessary dropping of RX packets Somnath Kotur (1): bnxt_en: Fix possible bnxt_open() failure caused by wrong RFS flag drivers/net/ethernet/broadcom/bnxt/bnxt.c | 13 ++++++++----- drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c | 15 +++++++-------- 2 files changed, 15 insertions(+), 13 deletions(-)