[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <063D6719AE5E284EB5DD2968C1650D6D1C9D747B@AcuExch.aculab.com>
Date: Wed, 15 Oct 2014 08:57:52 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Pan Jiafei' <Jiafei.Pan@...escale.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"jkosina@...e.cz" <jkosina@...e.cz>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"LeoLi@...escale.com" <LeoLi@...escale.com>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>
Subject: RE: [PATCH] net: use hardware buffer pool to allocate skb
From: Pan Jiafei
> In some platform, there are some hardware block provided
> to manage buffers to improve performance. So in some case,
> it is expected that the packets received by some generic
> NIC should be put into such hardware managed buffers
> directly, so that such buffer can be released by hardware
> or by driver.
This looks like some strange variant of 'buffer loaning'.
In general it just doesn't work due to the limited number
of such buffers - they soon all become queued waiting for
applications to read from sockets.
It also isn't at all clear how you expect a 'generic NIC'
to actually allocate buffers from your 'special area'.
David
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists