From patchwork Tue Dec 27 03:19:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 13082057 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 290E1C46467 for ; Tue, 27 Dec 2022 03:20:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230259AbiL0DUW (ORCPT ); Mon, 26 Dec 2022 22:20:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230044AbiL0DUV (ORCPT ); Mon, 26 Dec 2022 22:20:21 -0500 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1080EB6 for ; Mon, 26 Dec 2022 19:20:20 -0800 (PST) Received: by mail-qt1-x82b.google.com with SMTP id a16so9658959qtw.10 for ; Mon, 26 Dec 2022 19:20:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=B9A2xtndzMM5rc4s9KzmfEdXVPG0rC86gYXz/YNxmdo=; b=N2F+A+uvX/j/KZT/DdFZQN0IDEKLasAQMPhT3y9G2GFRMcq+HHF940Op5S5wv6TmLe eVizCRuXbGiD4igCxbGhi2TH0Qd15hkenMqTIj1VMW6Jh0o31o0B9OcAw86EPTNK0YaY 6AAM+G6Ia9d34G8rZ5iyYU9xx5dm44JWJX3m4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B9A2xtndzMM5rc4s9KzmfEdXVPG0rC86gYXz/YNxmdo=; b=IAEa/jcaXw4kqpj5nzETwquRvFm2Zu9cowM7dRvoeDV2E9TpIOV231uuiRH/jdTFot Q9f93yrvBDcl5Je2dO37dB3pj55FUXVIMsXSeh3BSHjCelm2zghGUBZgPx4p1ErkAdFU 9+/2zWsInv+xJ491GXHw7YKwHFVKmYx6FMKT0qa/kJnck88LF/k2LJ68UxqnYgYa2W1W G0/nokgTlvuRzj9hVLW8t4MJ6r+AyvcvE0axKQa7GA5UbhY6XBQpLQnEM7pr4kvGJqEv n43mJ8G154zzdJgdYqA+ICn8j6kWm1A1rVhyQPDrqOsQQDk6GFL6BSFfNk1qqTU51HeC 1xag== X-Gm-Message-State: AFqh2kr1tHdqcP6t331jIOGRLadJPel7fJh/MwRgU/Ri+Ej8+TUgmEaK JBodsc0OmBYrMC3joJYROKxcSQ== X-Google-Smtp-Source: AMrXdXv+M3Xrp7vR5xWKgy0S+d7KxpHlLmnuwlvSLk8YtRciEop4s2LnD03Zmwtf+ppRjntxAl53FQ== X-Received: by 2002:ac8:4f06:0:b0:3a9:8610:f9af with SMTP id b6-20020ac84f06000000b003a98610f9afmr26824078qte.14.1672111219607; Mon, 26 Dec 2022 19:20:19 -0800 (PST) Received: from localhost.swdvt.lab.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id fa11-20020a05622a4ccb00b003a68fe872a5sm7751262qtb.96.2022.12.26.19.20.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Dec 2022 19:20:19 -0800 (PST) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, kuba@kernel.org, edumazet@google.com, pabeni@redhat.com, bpf@vger.kernel.org, gospo@broadcom.com Subject: [PATCH net 0/5] bnxt_en: Bug fixes Date: Mon, 26 Dec 2022 22:19:35 -0500 Message-Id: <1672111180-19463-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 series fixes a devlink bug and several XDP related bugs. The devlink bug causes a kernel crash on VF devices. The XDP driver patches fix and clean up the RX XDP path and re-enable header-data split that was disabled by mistake when adding the XDP multi-buffer support. Michael Chan (4): bnxt_en: Simplify bnxt_xdp_buff_init() bnxt_en: Fix XDP RX path bnxt_en: Fix first buffer size calculations for XDP multi-buffer bnxt_en: Fix HDS and jumbo thresholds for RX packets Vikas Gupta (1): bnxt_en: fix devlink port registration to netdev drivers/net/ethernet/broadcom/bnxt/bnxt.c | 27 +++++++++++-------- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 15 ++++++++--- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c | 20 +++++++------- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.h | 6 ++--- 4 files changed, 39 insertions(+), 29 deletions(-)