Message ID | 20230728231829.235716-1-michael.chan@broadcom.com (mailing list archive) |
---|---|
Headers | show
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 B9154525C for <bpf@vger.kernel.org>; Fri, 28 Jul 2023 23:18:41 +0000 (UTC) Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 993C230CF for <bpf@vger.kernel.org>; Fri, 28 Jul 2023 16:18:40 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-686f38692b3so2260493b3a.2 for <bpf@vger.kernel.org>; Fri, 28 Jul 2023 16:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1690586320; x=1691191120; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=KUTNJ4wjAUWIVFNsfVT2JIhRzIj0dF9O5xq1SXWUDjA=; b=fLH53YWf2hiOUCU8IIorddmkQuIEauO7dKZ4yeZYQ5vdQlyzIj+NiWTugLwah8mazW YiyHF4nQDCisPjlJKDXaedcLYX3Z8g+c/1Bysr81O+o+CQkyyR7O8ZUCDB1lIhIXDlvE hVFoS8lMjGBUkDRgESWfwwHNrZm7NjGXGfw0s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690586320; x=1691191120; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KUTNJ4wjAUWIVFNsfVT2JIhRzIj0dF9O5xq1SXWUDjA=; b=gyccDZaVcu1ezOj+cLMn7zX3eb8aafxD60ZBIeFh1fmrc6OeBTzxHktaQjFWjWWaX7 REVj0DvTVZbAOOpmvMovZS97dcY8KkjItx7SuUGYPnvmdUyt+gH6SDacyZIF83d6n2Lp /Ms/1juhm7pM6YqXVGngrUpff15H1Rc/5UZDMm38vMXBE6QObS7BN53AOlebP3UytykN dtGGkF5Ve4pKQI8niaAKFMWGDMCsenHIHMkcsI3s9LR/jdQFVdP/mpQ1Dmm2uqFIcdcL xANxUbMNxOiiwlbc2ycVos2xUHu5M4KAx5orpVu7/9qbZmHapMAfYVZsfg8kUDNu3Wtm iqzw== X-Gm-Message-State: ABy/qLbnLT9KDSrnJpTKGAsPi6h48gQT72YQkQsvDdYhnMWijlR1ME1c +FBFXF4y1AN0eb/3Mci1lcI3NQ== X-Google-Smtp-Source: APBJJlHlSIP/YJCkxT+KUkMW1DJyOQUlXrV+pFwjS8wCAVRgr2tvt937DepxbmsAEOyGw+9QJsePHg== X-Received: by 2002:a05:6a20:2447:b0:134:1c06:19bb with SMTP id t7-20020a056a20244700b001341c0619bbmr4005175pzc.22.1690586319573; Fri, 28 Jul 2023 16:18:39 -0700 (PDT) Received: from lvnvda5233.lvn.broadcom.net ([192.19.161.250]) by smtp.gmail.com with ESMTPSA id f20-20020aa782d4000000b0066f37665a6asm3654424pfn.117.2023.07.28.16.18.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Jul 2023 16:18:38 -0700 (PDT) From: Michael Chan <michael.chan@broadcom.com> 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-next 0/3] bnxt_en: Add support for page pool Date: Fri, 28 Jul 2023 16:18:26 -0700 Message-Id: <20230728231829.235716-1-michael.chan@broadcom.com> X-Mailer: git-send-email 2.32.0 Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: <bpf.vger.kernel.org> List-Subscribe: <mailto:bpf+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:bpf+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="00000000000016d4320601944d6d" 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, URIBL_BLOCKED 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 |
Series |
bnxt_en: Add support for page pool
|
expand
|
The first patch fixes the page pool implementation for XDP with page size >= 64K. The next 2 patches unifies the page pool implementation between XDP and the normal RX path. Somnath Kotur (3): bnxt_en: Fix page pool logic for page size >= 64K bnxt_en: Use the unified RX page pool buffers for XDP and non-XDP bnxt_en: Let the page pool manage the DMA mapping drivers/net/ethernet/broadcom/bnxt/bnxt.c | 121 ++++++------------ drivers/net/ethernet/broadcom/bnxt/bnxt.h | 3 - drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c | 6 +- 3 files changed, 41 insertions(+), 89 deletions(-)