Thread (32 messages) flat view 32 messages, 3 authors, 2017-03-09

Re: [PATCH v4 net-next 06/13] mlx4: removal of frag_sizes[]

From: Tariq Toukan <hidden>
Date: 2017-03-09 13:55:26


On 08/03/2017 6:17 PM, Eric Dumazet wrote:
We will soon use order-0 pages, and frag truesize will more precisely
match real sizes.

In the new model, we prefer to use <= 2048 bytes fragments, so that
we can use page-recycle technique on PAGE_SIZE=4096 arches.

We will still pack as much frames as possible on arches with big
pages, like PowerPC.

Signed-off-by: Eric Dumazet <edumazet@google.com>
---
 drivers/net/ethernet/mellanox/mlx4/en_rx.c   | 24 ++++++++++--------------
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h |  8 --------
 2 files changed, 10 insertions(+), 22 deletions(-)
Acked-by: Tariq Toukan <redacted>

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help