summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-11-16 16:03:35 -0800
committerJakub Kicinski <kuba@kernel.org>2026-11-16 16:03:35 -0800
commitc4eb2502a378077df09983a80fb6434c7641ae2a (patch)
tree5f8a084da14827eb95126117ac123d3fa47e4a91 /tools/perf/scripts/python/bin
parentde9886cb02f3efeba86a9c6f5f9f6a31d8b006fe (diff)
parent3946899dbeac2397fdd1727d74a3547d2b13caf3 (diff)
Merge branch 'gve-fix-rx-page-refcount-overflow-with-the-pagecnt-bias'
Amaan Cheval says: ==================== gve: fix RX page refcount overflow with the pagecnt bias gve's GQI and DQO-QPL RX paths bias every RX page's refcount to INT_MAX, so a single get_page() from the stack, e.g. splice() of received data, overflows it: splice/tee fail with EIO/EFAULT and GQI can reset the NIC. Patch 2 lowers the bias to USHRT_MAX, as other drivers do. With the smaller bias the driver gives up its last reference on a page once every USHRT_MAX handoffs instead of once every INT_MAX, which is only safe while every consumer holds its reference until the buffer is recycled. That is not the case for an XDP_REDIRECT from DQO-QPL to an AF_XDP socket in copy mode, a path the driver never meant to support: commit d8a8ca14c937 dropped the queue_format check that used to refuse it. Patch 1 refuses XDP on any queue format the driver advertises no XDP features for, today DQO-QPL and GQI-RDA, so patch 2 depends on it. On GQI-RDA it also stops XDP_TX from writing into a TX FIFO that raw addressing never allocates. Trees before 6.17 still have the old check, so there patch 2 stands alone. ==================== Link: https://patch.msgid.link/20261112091451.22969-1-amaan.cheval@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions