[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1457987386.31401.11.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Mon, 14 Mar 2016 13:29:46 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: achiad shochat <achiad.mellanox@...il.com>
Cc: Saeed Mahameed <saeedm@....mellanox.co.il>,
Saeed Mahameed <saeedm@...lanox.com>,
"David S. Miller" <davem@...emloft.net>,
Linux Netdev List <netdev@...r.kernel.org>,
Or Gerlitz <ogerlitz@...lanox.com>,
Eran Ben Elisha <eranbe@...lanox.com>,
Tal Alon <talal@...lanox.com>,
Tariq Toukan <tariqt@...lanox.com>,
Jesper Dangaard Brouer <brouer@...hat.com>
Subject: Re: [PATCH net-next 08/13] net/mlx5e: Add fragmented memory support
for RX multi packet WQE
On Mon, 2016-03-14 at 21:16 +0200, achiad shochat wrote:
> I really do not see why the new scheme is more DOSable than the common
> scheme of pre-allocating SKB using napi_alloc_skb().
Because sizeof(skb_shared_info) is big enough that if you allocate 128
bytes, you end up using 512 bytes or even more.
In practice it is good enough.
Powered by blists - more mailing lists