Home | History | Annotate | Download | only in hyperv

Lines Matching defs:rndis

107  * RNDIS control interface
350 /* RNDIS protocol */
541 /* RNDIS */
845 * Detach the synthetics parts, i.e. NVS and RNDIS.
850 * Reattach the synthetic parts, i.e. NVS and RNDIS,
862 DPRINTF("%s: RNDIS mtu=%d\n", device_xname(sc->sc_dev), mtu);
1408 * Update the previous RNDIS packet's total length,
1410 * padding for this RNDIS packet. And update the
1415 * Zero-out the padding, as required by the RNDIS spec.
1608 "RNDIS pkt not in chimney sending buffer");
1622 KASSERTMSG(pkt == txd->txd_req, "RNDIS pkt not in txdesc");
1646 /* Attach an RNDIS message to the first slot */
1997 /* Allocate memory to store RNDIS messages */
2570 * RNDIS initialization.
2574 * the RNDIS rxfilter is _not_ zero on the hypervisor side
2575 * after the successful RNDIS initialization, which breaks
2577 * RNDIS API contract actually). Clear the RNDIS rxfilter
2688 * Attach the primary channel _before_ attaching NVS and RNDIS.
2707 * Attach RNDIS _after_ NVS is attached.
2711 aprint_error_dev(sc->sc_dev, "failed to init RNDIS\n");
2830 /* Detach the RNDIS first. */
2915 * Give RNDIS enough time to flush all pending data packets.
3950 /* RNDIS control message queues */
3963 DPRINTF("%s: failed to create RNDIS command map\n",
3969 DPRINTF("%s: failed to allocate RNDIS command\n",
3976 DPRINTF("%s: failed to allocate RNDIS command\n",
3986 DPRINTF("%s: failed to load RNDIS command map\n",
4001 /* Initialize RNDIS Data command */
4077 DPRINTF("%s: failed to init RNDIS, error %#x\n",
4089 * The RNDIS packet message encap assumes that the RNDIS
4095 "fixup RNDIS aggpkt align: %u -> %zu\n",
4101 "RNDIS ver %u.%u, aggpkt size %u, aggpkt cnt %u, aggpkt align %u\n",
4564 DPRINTF("%s: RNDIS operation %u send error %d\n",
4574 "RNDIS operation %u send error %d\n", hdr->rm_type, rv);
4661 "unhandled RNDIS message type %u\n", type);
4865 "RNDIS response %u too short: %u\n", id, len);
4871 "RNDIS response %u too large: %u\n", id, len);
4879 DPRINTF("%s: failed to complete RNDIS request id %u\n",
4894 DPRINTF("%s: RNDIS data send error %d\n",
4904 struct hvn_nvs_rndis rndis;
4908 memset(&rndis, 0, sizeof(rndis));
4909 rndis.nvs_type = HVN_NVS_TYPE_RNDIS;
4910 rndis.nvs_rndis_mtype = HVN_NVS_RNDIS_MTYPE_DATA;
4911 rndis.nvs_chim_idx = txd->txd_chim_index;
4912 rndis.nvs_chim_sz = txd->txd_chim_size;
4914 rv = vmbus_channel_send(txr->txr_chan, &rndis, sizeof(rndis),
4917 DPRINTF("%s: RNDIS chimney data send error %d: idx %u, sz %u\n",
4918 device_xname(sc->sc_dev), rv, rndis.nvs_chim_idx,
4919 rndis.nvs_chim_sz);
5099 DPRINTF("%s: failed to set RNDIS filter to %#x\n",
5114 DPRINTF("%s: failed to clear RNDIS filter\n",
5142 /* No RNDIS completion; rely on NVS message send completion */