1 /* File veth.h created by Kyle A. Lucke on Mon Aug 7 2000. */
3 #ifndef _ISERIES_VETH_H
4 #define _ISERIES_VETH_H
6 #define VethEventTypeCap (0)
7 #define VethEventTypeFrames (1)
8 #define VethEventTypeMonitor (2)
9 #define VethEventTypeFramesAck (3)
11 #define VETH_MAX_ACKS_PER_MSG (20)
12 #define VETH_MAX_FRAMES_PER_MSG (6)
14 struct VethFramesData {
15 u32 addr[VETH_MAX_FRAMES_PER_MSG];
16 u16 len[VETH_MAX_FRAMES_PER_MSG];
19 #define VETH_EOF_SHIFT (32-VETH_MAX_FRAMES_PER_MSG)
21 struct VethFramesAckData {
22 u16 token[VETH_MAX_ACKS_PER_MSG];
37 struct HvLpEvent base_event;
39 struct VethCapData caps_data;
40 struct VethFramesData frames_data;
41 struct VethFramesAckData frames_ack_data;
46 #endif /* _ISERIES_VETH_H */