diff options
author | Roger Quadros <rogerq@kernel.org> | 2025-03-05 15:44:20 +0530 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-11 11:09:55 +0100 |
commit | 46eeb90f03e03d5e8f7f9f1f0eb0792104fc5f86 (patch) | |
tree | b2f92edb50257c9731ae3172108a0e5861c0f038 /net/lapb/lapb_timer.c | |
parent | 40587f749df216889163dd6e02d88ad53e759e66 (diff) |
net: ti: icssg-prueth: Use page_pool API for RX buffer allocation
This is to prepare for native XDP support.
The page pool API is more faster in allocating pages than
__alloc_skb(). Drawback is that it works at PAGE_SIZE granularity
so we are not efficient in memory usage.
i.e. we are using PAGE_SIZE (4KB) memory for 1.5KB max packet size.
Signed-off-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Signed-off-by: Meghana Malladi <m-malladi@ti.com>
Link: https://patch.msgid.link/20250305101422.1908370-2-m-malladi@ti.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions