diff options
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_kernel.h')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_kernel.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h index 2e85aeca5ea..034c283990e 100644 --- a/drivers/infiniband/hw/ipath/ipath_kernel.h +++ b/drivers/infiniband/hw/ipath/ipath_kernel.h | |||
@@ -127,6 +127,8 @@ struct ipath_portdata { | |||
127 | u32 port_tidcursor; | 127 | u32 port_tidcursor; |
128 | /* next expected TID to check */ | 128 | /* next expected TID to check */ |
129 | unsigned long port_flag; | 129 | unsigned long port_flag; |
130 | /* what happened */ | ||
131 | unsigned long int_flag; | ||
130 | /* WAIT_RCV that timed out, no interrupt */ | 132 | /* WAIT_RCV that timed out, no interrupt */ |
131 | u32 port_rcvwait_to; | 133 | u32 port_rcvwait_to; |
132 | /* WAIT_PIO that timed out, no interrupt */ | 134 | /* WAIT_PIO that timed out, no interrupt */ |
@@ -155,6 +157,8 @@ struct ipath_portdata { | |||
155 | u32 userversion; | 157 | u32 userversion; |
156 | /* Bitmask of active slaves */ | 158 | /* Bitmask of active slaves */ |
157 | u32 active_slaves; | 159 | u32 active_slaves; |
160 | /* Type of packets or conditions we want to poll for */ | ||
161 | u16 poll_type; | ||
158 | }; | 162 | }; |
159 | 163 | ||
160 | struct sk_buff; | 164 | struct sk_buff; |
@@ -754,6 +758,10 @@ int ipath_set_rx_pol_inv(struct ipath_devdata *dd, u8 new_pol_inv); | |||
754 | #define IPATH_PORT_WAITING_PIO 3 | 758 | #define IPATH_PORT_WAITING_PIO 3 |
755 | /* master has not finished initializing */ | 759 | /* master has not finished initializing */ |
756 | #define IPATH_PORT_MASTER_UNINIT 4 | 760 | #define IPATH_PORT_MASTER_UNINIT 4 |
761 | /* waiting for an urgent packet to arrive */ | ||
762 | #define IPATH_PORT_WAITING_URG 5 | ||
763 | /* waiting for a header overflow */ | ||
764 | #define IPATH_PORT_WAITING_OVERFLOW 6 | ||
757 | 765 | ||
758 | /* free up any allocated data at closes */ | 766 | /* free up any allocated data at closes */ |
759 | void ipath_free_data(struct ipath_portdata *dd); | 767 | void ipath_free_data(struct ipath_portdata *dd); |