]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: ena: change rx copybreak default to reduce kernel memory pressure
authorArthur Kiyanovski <akiyano@amazon.com>
Thu, 11 Oct 2018 08:26:24 +0000 (11:26 +0300)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Fri, 9 Nov 2018 19:00:50 +0000 (17:00 -0200)
commit6a544f34253b55551b8d784a4adc6a192fc3411f
tree254f436ce569db041aac69dbd1ba4a934b978b1a
parent1e036339425e545c12114f8cd435fa607877b656
net: ena: change rx copybreak default to reduce kernel memory pressure

BugLink: http://bugs.launchpad.net/bugs/1798182
Improves socket memory utilization when receiving packets larger
than 128 bytes (the previous rx copybreak) and smaller than 256 bytes.

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 87731f0c681c9682c5521e5197d89e561b7da395 linux-next)
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Acked-by: Khalid Elmously <khalid.elmously@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ethernet/amazon/ena/ena_netdev.h