Lines Matching defs:packet
657 * netvsp uses KMCL which acknowledges packet (completion
658 * packet) since our Vmbus always set the
687 struct hv_netvsc_packet *packet, *pos;
708 packet = kzalloc(sizeof(struct hv_netvsc_packet) +
711 if (!packet) {
717 list_add_tail(&packet->ListEntry,
765 list_for_each_entry_safe(packet, pos,
768 list_del(&packet->ListEntry);
769 kfree(packet);
857 DPRINT_DBG(NETVSC, "send completion packet - type %d",
880 DPRINT_ERR(NETVSC, "Unknown send completion packet type - "
933 DPRINT_ERR(NETVSC, "Unable to send packet %p ret %d",
966 * packet
969 DPRINT_ERR(NETVSC, "Unknown packet type received - %d",
978 /* Make sure this is a valid nvsp packet */
980 DPRINT_ERR(NETVSC, "Unknown nvsp packet type received - %d",
986 DPRINT_DBG(NETVSC, "NVSP packet received - type %d",
1004 * page packet. +1 to represent the xfer page packet itself.
1019 * some of the xfer page packet ranges...
1023 "Dropping this xfer page packet completely!",
1042 /* Remove the 1st packet to represent the xfer page packet itself */
1062 /* Initialize the netvsc packet */
1183 /* Send a receive completion packet to RNDIS device (ie NetVsp) */
1186 struct hv_netvsc_packet *packet = Context;
1187 struct hv_device *device = (struct hv_device *)packet->Device;
1193 /* ASSERT(packet->XferPagePacket); */
1210 /* ASSERT(packet->XferPagePacket->Count > 0); */
1211 packet->XferPagePacket->Count--;
1214 * Last one in the line that represent 1 xfer page packet.
1215 * Return the xfer page packet itself to the freelist
1217 if (packet->XferPagePacket->Count == 0) {
1219 transactionId = packet->Completion.Recv.ReceiveCompletionTid;
1220 list_add_tail(&packet->XferPagePacket->ListEntry,
1225 /* Put the packet back */
1226 list_add_tail(&packet->ListEntry, &netDevice->ReceivePacketList);
1229 /* Send a receive completion for the xfer page packet */
1243 unsigned char *packet;
1250 packet = kzalloc(NETVSC_PACKET_SIZE * sizeof(unsigned char),
1252 if (!packet)
1254 buffer = packet;
1284 "unhandled packet type %d, "
1294 buffer = packet;
1301 buffer = packet;
1308 /* Handle large packet */