bufferlen, requestid);
}
-static int ivmbus_recvpacket(struct hv_device *device, void *buffer,
- u32 bufferlen, u32 *buffer_actuallen,
- u64 *requestid)
-{
- return vmbus_recvpacket(device->channel, buffer, bufferlen,
- buffer_actuallen, requestid);
-}
-
/* vmbus interface function pointer table */
const struct vmbus_channel_interface vmbus_ops = {
.Open = ivmbus_open,
.SendPacket = ivmbus_sendpacket,
.SendPacketPageBuffer = ivmbus_sendpacket_pagebuffer,
.SendPacketMultiPageBuffer = ivmbus_sendpacket_multipagebuffer,
- .RecvPacket = ivmbus_recvpacket,
};
* @SendPacket: Send a packet over the channel
* @SendPacketPageBuffer: Send a single page buffer over the channel
* @SendPacketMultiPageBuffer: Send a multiple page buffers
- * @RecvPacket: Receive packet
*
* This structure contains function pointer to control vmbus channel
* behavior. None of these functions is externally callable, but they
void *Buffer,
u32 BufferLen,
u64 RequestId);
- int (*RecvPacket)(struct hv_device *dev, void *buf, u32 buflen,
- u32 *BufferActualLen, u64 *RequestId);
};
extern const struct vmbus_channel_interface vmbus_ops;