summaryrefslogtreecommitdiffstats
path: root/crypto/ecc.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-03-08 08:17:12 -0800
committerDavid S. Miller <davem@davemloft.net>2017-03-09 09:54:46 -0800
commitb5a54d9a313645ec9607dc557b67d9325c28884c (patch)
treec338196f82dca10f20ca1998ecc84577b1c85fdd /crypto/ecc.c
parent60c7f5ae5416a8491216bcccf6b3b3d842d69fa4 (diff)
downloadlinux-b5a54d9a313645ec9607dc557b67d9325c28884c.tar.bz2
mlx4: use order-0 pages for RX
Use of order-3 pages is problematic in some cases. This patch might add three kinds of regression : 1) a CPU performance regression, but we will add later page recycling and performance should be back. 2) TCP receiver could grow its receive window slightly slower, because skb->len/skb->truesize ratio will decrease. This is mostly ok, we prefer being conservative to not risk OOM, and eventually tune TCP better in the future. This is consistent with other drivers using 2048 per ethernet frame. 3) Because we allocate one page per RX slot, we consume more memory for the ring buffers. XDP already had this constraint anyway. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/ecc.c')
0 files changed, 0 insertions, 0 deletions