]> git.baikalelectronics.ru Git - kernel.git/commit
net: add a hardware buffer management helper API
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 14 Mar 2016 08:39:04 +0000 (09:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2016 16:19:46 +0000 (12:19 -0400)
commit5c7721ef06d916b6c3ec15b95e60b9afc9c17528
treed70238eede693b7bf8b42d86a4eab534754ce341
parent3428e253d46648aa1cc289478c43c77c90fc550b
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>
include/net/hwbm.h [new file with mode: 0644]
net/Kconfig
net/core/Makefile
net/core/hwbm.c [new file with mode: 0644]