aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2025-04-15 05:24:58 +0000
committerJakub Kicinski <kuba@kernel.org>2025-04-16 18:17:57 -0700
commitcd1fafe7da1f6f2aa25723e317f6e8e9d0c050a1 (patch)
treeffdd3ab16f6d80269e69a537a6c265a8f765cba9 /tools/perf/scripts/python/export-to-postgresql.py
parentnet: lan743x: Allocate rings outside ZONE_DMA (diff)
downloadwireguard-linux-cd1fafe7da1f6f2aa25723e317f6e8e9d0c050a1.tar.xz
wireguard-linux-cd1fafe7da1f6f2aa25723e317f6e8e9d0c050a1.zip
eth: bnxt: add support rx side device memory TCP
Currently, bnxt_en driver satisfies the requirements of the Device memory TCP, which is HDS. So, it implements rx-side Device memory TCP for bnxt_en driver. It requires only converting the page API to netmem API. `struct page` of agg rings are changed to `netmem_ref netmem` and corresponding functions are changed to a variant of netmem API. It also passes PP_FLAG_ALLOW_UNREADABLE_NETMEM flag to a parameter of page_pool. The netmem will be activated only when a user requests devmem TCP. When netmem is activated, received data is unreadable and netmem is disabled, received data is readable. But drivers don't need to handle both cases because netmem core API will handle it properly. So, using proper netmem API is enough for drivers. Device memory TCP can be tested with tools/testing/selftests/drivers/net/hw/ncdevmem. This is tested with BCM57504-N425G and firmware version 232.0.155.8/pkg 232.1.132.8. Reviewed-by: Mina Almasry <almasrymina@google.com> Tested-by: David Wei <dw@davidwei.uk> Signed-off-by: Taehee Yoo <ap420073@gmail.com> Link: https://patch.msgid.link/20250415052458.1260575-1-ap420073@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions