aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/arcnet/arcdevice.h
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2017-06-28 18:32:18 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-29 15:26:13 -0400
commit05fcd31cc472c5da6416d3bc2ab25599bbb9331f (patch)
treeedfa80b3048491874e1cc69c53922157260a0b9a /drivers/net/arcnet/arcdevice.h
parentMerge branch 'amd-xgbe-updates' (diff)
downloadwireguard-linux-05fcd31cc472c5da6416d3bc2ab25599bbb9331f.tar.xz
wireguard-linux-05fcd31cc472c5da6416d3bc2ab25599bbb9331f.zip
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>
Diffstat (limited to 'drivers/net/arcnet/arcdevice.h')
-rw-r--r--drivers/net/arcnet/arcdevice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/arcnet/arcdevice.h b/drivers/net/arcnet/arcdevice.h
index 20bfb9ba83ea..cbb4f8566bbe 100644
--- a/drivers/net/arcnet/arcdevice.h
+++ b/drivers/net/arcnet/arcdevice.h
@@ -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