| commit | e6a23fe802f039f2d935cc48d1b85dfa7d4753d1 | [log] [tgz] |
|---|---|---|
| author | Jakub Kicinski <kuba@kernel.org> | Mon Sep 01 14:12:10 2025 -0700 |
| committer | Kevin Berry <kpberry@google.com> | Wed Nov 12 11:38:55 2025 -0800 |
| tree | a87ff4cfaf5cf8dd07e5355432a0eb6f7502bda8 | |
| parent | 3915735b86c4b4cb97d4b89b0fe466655f28a597 [diff] |
net: add helper to pre-check if PP for an Rx queue will be unreadable mlx5 pokes into the rxq state to check if the queue has a memory provider, and therefore whether it may produce unreadable mem. Add a helper for doing this in the page pool API. fbnic will want a similar thing (tho, for a slightly different reason). cos-patch: bug Reviewed-by: Mina Almasry <almasrymina@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Link: https://patch.msgid.link/20250901211214.1027927-11-kuba@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com> (cherry picked from commit 3ceb08838b576b20108d7facf6baa3dbf792afe9) Change-Id: Idaf5f56e8bb8835ad7100f24d0911e7a636a0e1b Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/116946 Main-Branch-Verified: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com> Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com> Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Kevin Berry <kpberry@google.com> Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/118004