net: Don't copy every packet that waits for an ARP
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 07:59:24 +0000 (07:59 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 22:53:07 +0000 (17:53 -0500)
commite94070c443bdc9c0231abeca920d9f9362701aec
tree070a846a4e5ec79753f6267ada3ac09c31ed1320
parentd7310c7e63ca9ffd42527dc9735cb505cbe908b7
net: Don't copy every packet that waits for an ARP

Use the NetArpTxPacket for the ARP packet, not to hold what used to
be in NetTxPacket.
This saves a copy and makes the code easier to understand.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
include/net.h
net/arp.c
net/arp.h
net/net.c
net/ping.c