]> 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)
commit3a5a718a35dedf8fe7873a32d08780355585c10b
treed70238eede693b7bf8b42d86a4eab534754ce341
parent086ca6252cc32a33c3f1e97c420bc4cca91b6cf0
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]