From patchwork Mon Jul 31 14:20:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 13334858 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1980914F92 for ; Mon, 31 Jul 2023 14:21:15 +0000 (UTC) Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2145F12D for ; Mon, 31 Jul 2023 07:21:14 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-686ea67195dso3212662b3a.2 for ; Mon, 31 Jul 2023 07:21:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1690813273; x=1691418073; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=XCN/UrKZMKkfkRdbaNpbnd/TOnSSjJRTA1ES7lKnkbs=; b=DB5MoKAqLrvk3viwTHjffGoAQjBur/flNioSdIRU22/bMyn5lVm9JSfVFQi3y8JtMR NMCXHZzqhiDB8x61NTFUJAkVzSnXfKCA6h8F2c1qPE/vcE4lQVGYVRVW1zu50G2flqA6 e5EJ0d9HMLQIvTnfeUDHKKSNY4UsSOnS5ym4Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690813273; x=1691418073; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XCN/UrKZMKkfkRdbaNpbnd/TOnSSjJRTA1ES7lKnkbs=; b=LAizgktJsHhcVHLTPxymCxHiKPGVoJ58PfHDjegz0S9fe/+A7F3oh7cgodOcxWhS7z fE0QWd6zCE3R40BpEgaonkoD9k63g75nNHnDASbIWz1OGwV5kUokSPJ8ji4WN4f8RVNn U/a1SL3ArKKvERVFacNFlbqrAZTn3iKerBTqFaFRlETCDaeNOpwgfND8IIw1VPD9LNzP Ok3fI425R9IhqW2g1qdgqKL9mqT0qwxw2qcY1GWNW7Db0Be2xlHfeORaYRHl+OgfNY8L LS4cjGJAk4z97SEnLNYLH3JwqCJVbPRkPLtcKx0Gdd04eV9vDu8hjeldPjM434/bKirh ANuQ== X-Gm-Message-State: ABy/qLYQDmqSNlVDpHgXeRtiyU1XRvTdOwnKdfr7kCCse45+ydEE6AvN xalUhxjQUBlN1inT0vldoxJ17ogNUaWtEsWMW3E= X-Google-Smtp-Source: APBJJlEdWPJN4hsI9u6pUKgTmy1cRMBjEwclpMPyfXui6YayZQtoVHK5zaFbE5EnTIVZQkYHsijycw== X-Received: by 2002:a05:6a00:891:b0:64f:aea5:7b49 with SMTP id q17-20020a056a00089100b0064faea57b49mr12552230pfj.17.1690813273075; Mon, 31 Jul 2023 07:21:13 -0700 (PDT) Received: from lvnvda5233.lvn.broadcom.net ([192.19.161.250]) by smtp.gmail.com with ESMTPSA id k12-20020aa790cc000000b00682c1db7551sm5509924pfk.49.2023.07.31.07.21.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Jul 2023 07:21:12 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, gospo@broadcom.com, bpf@vger.kernel.org, somnath.kotur@broadcom.com Subject: [PATCH net 0/2] bnxt_en: 2 XDP bug fixes Date: Mon, 31 Jul 2023 07:20:41 -0700 Message-Id: <20230731142043.58855-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-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MIME_NO_TEXT, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Patchwork-Delegate: kuba@kernel.org The first patch fixes XDP page pool logic on systems with page size >= 64K. The second patch fixes the max_mtu setting when an XDP program supporting multi buffers is attached. Michael Chan (1): bnxt_en: Fix max_mtu setting for multi-buf XDP Somnath Kotur (1): bnxt_en: Fix page pool logic for page size >= 64K drivers/net/ethernet/broadcom/bnxt/bnxt.c | 59 +++++++++++-------- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c | 6 +- 2 files changed, 39 insertions(+), 26 deletions(-)