diff options
author | Sieng Piaw Liew <liew.s.piaw@gmail.com> | 2021-03-19 12:13:22 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-19 11:45:07 -0700 |
commit | a9d6df642dc8301ee7c3f414ec08548d5c4078ff (patch) | |
tree | 384635d4495a5b0a571b822c269f25a9d9e01ded /drivers/net/ethernet/huawei | |
parent | atl1c: switch to napi_gro_receive (diff) | |
download | linux-dev-a9d6df642dc8301ee7c3f414ec08548d5c4078ff.tar.xz linux-dev-a9d6df642dc8301ee7c3f414ec08548d5c4078ff.zip |
atl1c: use napi_alloc_skb
Using napi_alloc_skb in NAPI context avoids enable/disable IRQs, which
increases iperf3 result by a few Mbps. Since napi_alloc_skb() uses
NET_IP_ALIGN, convert other alloc methods to the same padding. Tested
on Intel Core2 and AMD K10 platforms.
Signed-off-by: Sieng Piaw Liew <liew.s.piaw@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/huawei')
0 files changed, 0 insertions, 0 deletions