Lines Matching defs:netvsc_device
1137 struct netvsc_device { struct
1138 u32 nvsp_version;
1140 wait_queue_head_t wait_drain;
1141 bool destroy;
1142 bool tx_disable; /* if true, do not wake up queue again */
1145 void *recv_buf;
1146 u32 recv_buf_size; /* allocated bytes */
1147 struct vmbus_gpadl recv_buf_gpadl_handle;
1148 u32 recv_section_cnt;
1149 u32 recv_section_size;
1150 u32 recv_completion_cnt;
1153 void *send_buf;
1154 u32 send_buf_size;
1155 struct vmbus_gpadl send_buf_gpadl_handle;
1156 u32 send_section_cnt;
1157 u32 send_section_size;
1158 unsigned long *send_section_map;
1161 struct completion channel_init_wait;
1162 struct nvsp_message channel_init_pkt;
1164 struct nvsp_message revoke_packet;
1166 u32 max_chn;
1167 u32 num_chn;
1169 atomic_t open_chn;
1170 struct work_struct subchan_work;
1171 wait_queue_head_t subchan_open;
1173 struct rndis_device *extension;
1175 u32 max_pkt; /* max number of pkt in one send, e.g. 8 */
1176 u32 pkt_align; /* alignment bytes, e.g. 8 */
1178 struct netvsc_channel chan_table[VRSS_CHANNEL_MAX];
1180 struct rcu_head rcu;