Lines Matching defs:init_packet

342 	struct nvsp_message *init_packet;
381 init_packet = &net_device->channel_init_pkt;
382 memset(init_packet, 0, sizeof(struct nvsp_message));
383 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_RECV_BUF;
384 init_packet->msg.v1_msg.send_recv_buf.
386 init_packet->msg.v1_msg.
389 trace_nvsp_send(ndev, init_packet);
392 ret = vmbus_sendpacket(device->channel, init_packet,
394 (unsigned long)init_packet,
406 resp = &init_packet->msg.v1_msg.send_recv_buf_complete;
484 init_packet = &net_device->channel_init_pkt;
485 memset(init_packet, 0, sizeof(struct nvsp_message));
486 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_SEND_BUF;
487 init_packet->msg.v1_msg.send_send_buf.gpadl_handle =
489 init_packet->msg.v1_msg.send_send_buf.id = NETVSC_SEND_BUFFER_ID;
491 trace_nvsp_send(ndev, init_packet);
494 ret = vmbus_sendpacket(device->channel, init_packet,
496 (unsigned long)init_packet,
508 if (init_packet->msg.v1_msg.
512 init_packet->msg.v1_msg.
519 net_device->send_section_size = init_packet->msg.
557 struct nvsp_message *init_packet,
563 memset(init_packet, 0, sizeof(struct nvsp_message));
564 init_packet->hdr.msg_type = NVSP_MSG_TYPE_INIT;
565 init_packet->msg.init_msg.init.min_protocol_ver = nvsp_ver;
566 init_packet->msg.init_msg.init.max_protocol_ver = nvsp_ver;
567 trace_nvsp_send(ndev, init_packet);
570 ret = vmbus_sendpacket(device->channel, init_packet,
572 (unsigned long)init_packet,
581 if (init_packet->msg.init_msg.init_complete.status !=
589 memset(init_packet, 0, sizeof(struct nvsp_message));
590 init_packet->hdr.msg_type = NVSP_MSG2_TYPE_SEND_NDIS_CONFIG;
591 init_packet->msg.v2_msg.send_ndis_config.mtu = ndev->mtu + ETH_HLEN;
592 init_packet->msg.v2_msg.send_ndis_config.capability.ieee8021q = 1;
598 init_packet->msg.v2_msg.send_ndis_config.capability.sriov = 1;
601 init_packet->msg.v2_msg.send_ndis_config.capability.teaming = 1;
605 init_packet->msg.v2_msg.send_ndis_config.capability.rsc = 1;
607 trace_nvsp_send(ndev, init_packet);
609 ret = vmbus_sendpacket(device->channel, init_packet,
627 struct nvsp_message *init_packet;
630 init_packet = &net_device->channel_init_pkt;
634 if (negotiate_nvsp_ver(device, net_device, init_packet,
655 memset(init_packet, 0, sizeof(struct nvsp_message));
662 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_NDIS_VER;
663 init_packet->msg.v1_msg.
666 init_packet->msg.v1_msg.
670 trace_nvsp_send(ndev, init_packet);
673 ret = vmbus_sendpacket(device->channel, init_packet,