summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/aoe.h
diff options
context:
space:
mode:
authorMichael Brown2007-01-04 04:21:45 +0100
committerMichael Brown2007-01-04 04:21:45 +0100
commitb22d4405c0c74aaac8a7f20c7bb13c4eb4f4af71 (patch)
tree15fa26d10adf7636db33fd4e39d8bf50dcd4f8f5 /src/include/gpxe/aoe.h
parentMinirouting table entries hold a persistent reference to a net_device. (diff)
downloadipxe-b22d4405c0c74aaac8a7f20c7bb13c4eb4f4af71.tar.gz
ipxe-b22d4405c0c74aaac8a7f20c7bb13c4eb4f4af71.tar.xz
ipxe-b22d4405c0c74aaac8a7f20c7bb13c4eb4f4af71.zip
An AoE session holds a persistent reference to a net device.
Diffstat (limited to 'src/include/gpxe/aoe.h')
-rw-r--r--src/include/gpxe/aoe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/gpxe/aoe.h b/src/include/gpxe/aoe.h
index 60c7a823..c0706736 100644
--- a/src/include/gpxe/aoe.h
+++ b/src/include/gpxe/aoe.h
@@ -86,6 +86,9 @@ struct aoe_session {
/** Network device */
struct net_device *netdev;
+ /** Reference to network device */
+ struct reference netdev_ref;
+
/** Major number */
uint16_t major;
/** Minor number */