arcnet: add err_skb package for package status feedback
We need to track the status of our queued packages. This way the driving process knows if failed packages need to be retransmitted. For this purpose we queue the transferred/failed packages back into the err_skb message queue added with some status information. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
65344ba998
commit
05fcd31cc4
@@ -269,6 +269,10 @@ struct arcnet_local {
|
||||
|
||||
struct timer_list timer;
|
||||
|
||||
struct net_device *dev;
|
||||
int reply_status;
|
||||
struct tasklet_struct reply_tasklet;
|
||||
|
||||
/*
|
||||
* Buffer management: an ARCnet card has 4 x 512-byte buffers, each of
|
||||
* which can be used for either sending or receiving. The new dynamic
|
||||
|
Reference in New Issue
Block a user