net: add a hardware buffer management helper API

This basic implementation allows to share code between driver using
hardware buffer management. As the code is hardware agnostic, there is
few helpers, most of the optimization brought by the an HW BM has to be
done at driver level.

Tested-by: Sebastian Careba <nitroshift@yahoo.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Šī revīzija ir iekļauta:
Gregory CLEMENT
2016-03-14 09:39:04 +01:00
revīziju iesūtīja David S. Miller
vecāks dc35a10f68
revīzija 8cb2d8bf57
4 mainīti faili ar 119 papildinājumiem un 0 dzēšanām

Parādīt failu

@@ -253,6 +253,9 @@ config XPS
depends on SMP
default y
config HWBM
bool
config SOCK_CGROUP_DATA
bool
default n