Lines Matching defs:netvsc_device
624 struct netvsc_device { struct
625 struct hv_device *dev;
627 u32 nvsp_version;
629 atomic_t num_outstanding_sends;
630 wait_queue_head_t wait_drain;
631 bool start_remove;
632 bool destroy;
635 void *recv_buf;
636 u32 recv_buf_size;
637 u32 recv_buf_gpadl_handle;
638 u32 recv_section_cnt;
639 struct nvsp_1_receive_buffer_section *recv_section;
642 void *send_buf;
643 u32 send_buf_size;
644 u32 send_buf_gpadl_handle;
645 u32 send_section_cnt;
646 u32 send_section_size;
647 unsigned long *send_section_map;
648 int map_words;
651 struct completion channel_init_wait;
652 struct nvsp_message channel_init_pkt;
654 struct nvsp_message revoke_packet;
657 struct net_device *ndev;
659 struct vmbus_channel *chn_table[NR_CPUS];
660 u32 send_table[VRSS_SEND_TAB_SIZE];
661 u32 max_chn;
662 u32 num_chn;
663 atomic_t queue_sends[NR_CPUS];
666 void *extension;
668 int ring_size;
671 unsigned char *cb_buffer;
673 unsigned char *sub_cb_buf;
675 struct multi_send_data msd[NR_CPUS];
676 u32 max_pkt; /* max number of pkt in one send, e.g. 8 */
677 u32 pkt_align; /* alignment bytes, e.g. 8 */
680 struct net_device_context *nd_ctx;