]> git.sur5r.net Git - u-boot/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)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:18 +0000 (11:11 -0600)
commit63c9729a1306ee3fed54923f53b20ce769884a81
tree3aaf0e23d5620892ed37593aca29d7a77fbf6699
parent5bc48308960b8d28d9d7653efbb91c1be390c916
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