Lines Matching defs:netvsc_device
660 struct netvsc_device { struct
661 struct hv_device *dev;
663 u32 nvsp_version;
665 atomic_t num_outstanding_sends;
666 wait_queue_head_t wait_drain;
667 bool start_remove;
668 bool destroy;
671 void *recv_buf;
672 u32 recv_buf_size;
673 u32 recv_buf_gpadl_handle;
674 u32 recv_section_cnt;
675 struct nvsp_1_receive_buffer_section *recv_section;
678 void *send_buf;
679 u32 send_buf_size;
680 u32 send_buf_gpadl_handle;
681 u32 send_section_cnt;
682 u32 send_section_size;
683 unsigned long *send_section_map;
684 int map_words;
687 struct completion channel_init_wait;
688 struct nvsp_message channel_init_pkt;
690 struct nvsp_message revoke_packet;
693 struct net_device *ndev;
695 struct vmbus_channel *chn_table[NR_CPUS];
696 u32 send_table[VRSS_SEND_TAB_SIZE];
697 u32 max_chn;
698 u32 num_chn;
699 spinlock_t sc_lock; /* Protects num_sc_offered variable */
700 u32 num_sc_offered;
701 atomic_t queue_sends[NR_CPUS];
704 void *extension;
706 int ring_size;
709 unsigned char *cb_buffer;
711 unsigned char *sub_cb_buf;
713 struct multi_send_data msd[NR_CPUS];
714 u32 max_pkt; /* max number of pkt in one send, e.g. 8 */
715 u32 pkt_align; /* alignment bytes, e.g. 8 */
718 struct net_device_context *nd_ctx;
721 u32 vf_alloc;
723 u32 vf_serial;