]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: eth: Provide a way for drivers to manage packet buffers
authorJoe Hershberger <joe.hershberger@ni.com>
Sat, 4 Apr 2015 01:09:46 +0000 (20:09 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:52 +0000 (21:47 +0200)
commit2f5e5082555d262a434394fd3e77bd34aecee438
tree099b6972c8d0a74ae2dafa1d89c07e1afe10b921
parent8f5db1c152c59d1ccb722bd6510c97dee92ad961
dm: eth: Provide a way for drivers to manage packet buffers

Some drivers need a chance to manage their receive buffers after the
packet has been handled by the network stack. Add an operation that
will allow the driver to be called in that case.

Reported-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Tested-on: pcduino3
include/net.h
net/eth.c