From patchwork Tue Jun 18 21:53: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: 13703080 Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (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 0FF54482DA for ; Tue, 18 Jun 2024 21:54:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718747646; cv=none; b=ArgjgUiG022k8I1TITtFwV8FgSaUojIq4XVGuGx5U0/kub9UQ7LfrT34/HXVUVyAjZTYe6SRGxB8DgbET5yD3Zfxwei4U0W5redqIRJat29H5ti4/HOQhoTmADXWy9LOJU73Ff9OMOlbPw92XKcKZB8Rp1kZHTa3zvKF/goNy2c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718747646; c=relaxed/simple; bh=Vi5yKXTDnRl6fSe+X5Byc7LUT9hywSkz7CfYnZE6L3w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=O7MSW8gvA9cM8EjnHtkDuvh2fk+fmATML54EI0u0LFwO447U40vpc4HUGz/lvmbz0NGVZiey/KwU3tbeK7Z9LYnA+GdFd7ARBdLw9FyUfxuoyXsXAOK/1aA+SxV53Curx2Z9KqMU6p8pOG4N+h/Et5ipolZvj46rB1kmGrQJZmw= 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=C9Heo0xb; arc=none smtp.client-ip=209.85.216.42 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="C9Heo0xb" Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-2c5362c7c0bso1683115a91.1 for ; Tue, 18 Jun 2024 14:54:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1718747644; x=1719352444; darn=vger.kernel.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=9Nv9GrjeZ+IezLf15GOE3f5xD/Ei8oBd30vy8j3JlhQ=; b=C9Heo0xbcFdX/6SLI1LvX3SMtyV6Jp1YCT6RXkhlJcamJiWg6VFYruOqxRFKdK1gL/ zWz0x33mO05+vv+GbZ6UJlBJJ5h30etEcaA4RLOfXsHJOb1SEzFA9hUlozVj8jVmWIqg qM2279U//zlnmfmfRTxfmaKekdmDsWkWpGKiE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718747644; x=1719352444; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9Nv9GrjeZ+IezLf15GOE3f5xD/Ei8oBd30vy8j3JlhQ=; b=IIeSV8eA0K2G5lOYTVUpxP9/Zjkq9crF6s75Pb/6QlB1B3QHQNl9HXn5dQichvEVCz xtl+vlz1NG15+1Qejqa7K1+Yuz3FmJoebjZEsegWHLUVpC3jmlLOHXm3iEtjsC5atL69 cWC/nnl6qqREl3dqcp8Lz+wbP/Kbo6mJL6/j4yJCONqdywT+PrDf9vPmbP4yf0/YJPpU XhScePjanwK7qj9FNqQrhbaq0VCzKP5qcpInPyvIaEoh71+V9raccWfzPEoO1Tp/yh0c w/BeGu6HIwrJrNGuQp+iUFDEDDlf5JRVgvBsvKSpZvmaiAsg8oXXOoJssUK+qbwcvTCL BYqQ== X-Gm-Message-State: AOJu0Yy4oLnGMC0m0oRwSyXj5EaozAbgzKPSPw9hxw8ZLPJleCv7d08n 04KhpJSiNuJw0MizSPy3dLHvBvLSwLwF8nVk7UzNtvztCFIOW/QyTMtajpuOf5C682dN/09gxes = X-Google-Smtp-Source: AGHT+IFJIquNk76m0a13UdXvlEqHElYBj7a6gWLDgF4S7AU7w7q5IWCamuvLWILsAeLwlPfT4u+tUQ== X-Received: by 2002:a17:90a:fa85:b0:2c1:c648:16eb with SMTP id 98e67ed59e1d1-2c7b5d934a8mr918844a91.41.1718747643994; Tue, 18 Jun 2024 14:54:03 -0700 (PDT) Received: from lvnvda5233.lvn.broadcom.net ([192.19.161.250]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c4c45cbd05sm11501990a91.19.2024.06.18.14.54.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jun 2024 14:54:02 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, pavan.chebbi@broadcom.com, andrew.gospodarek@broadcom.com Subject: [PATCH net 0/3] bnxt_en: Bug fixes for net Date: Tue, 18 Jun 2024 14:53:10 -0700 Message-ID: <20240618215313.29631-1-michael.chan@broadcom.com> X-Mailer: git-send-email 2.43.4 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 The first firmware interface update is needed by the second patch to limit the number of TSO segments on the 5760X chips. The third patch fixes the TX error path for PTP packets. Michael Chan (2): bnxt_en: Update firmware interface to 1.10.3.44 bnxt_en: Set TSO max segs on devices with limits Pavan Chebbi (1): bnxt_en: Restore PTP tx_avail count in case of skb_pad() error drivers/net/ethernet/broadcom/bnxt/bnxt.c | 8 +- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 + drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h | 311 ++++++++++-------- 3 files changed, 184 insertions(+), 136 deletions(-)