]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
dm: eth: Pass the packet pointer as a parameter to recv
authorJoe Hershberger <joe.hershberger@ni.com>
Sun, 22 Mar 2015 22:09:12 +0000 (17:09 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:39 +0000 (21:47 +0200)
commite6d99d6d50f9bacb5e196794d24d45986b2ac8d2
tree4bcaa5c4cc2a5e0737152c435a337fb67dc13542
parent55f3bc7906c0f068f685b7dc6060c67c1f407c3f
dm: eth: Pass the packet pointer as a parameter to recv

Stop forcing drivers to call net_process_received_packet() - formerly
called NetReceive(). Now the uclass will handle calling the driver for
each packet until the driver errors or has nothing to return. The uclass
will then pass the good packets off to the network stack by calling
net_process_received_packet().

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
include/net.h
net/eth.c