summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-05-10 11:16:03 +0100
committerPaolo Abeni <pabeni@redhat.com>2023-05-11 13:05:15 +0200
commit33f4cefb26e98c3cfe68ee7c88b766aa786b8733 (patch)
treed29f7c2f8299235bf7388ae87dd9460f132c495e /lib
parentd41eb5557668096b0a57646107e6fc4631ba9cf1 (diff)
net: mvneta: allocate TSO header DMA memory in chunks
Now that we no longer need to check whether the DMA address is within the TSO header DMA memory range for the queue, we can allocate the TSO header DMA memory in chunks rather than one contiguous order-6 chunk, which can stress the kernel's memory subsystems to allocate. Instead, use order-1 (8k) allocations, which will result in 32 order-1 pages containing 32 TSO headers. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions