buffer_actuallen, requestid);
}
-static int ivmbus_establish_gpadl(struct hv_device *device, void *buffer,
- u32 bufferlen, u32 *gpadl_handle)
-{
- return vmbus_establish_gpadl(device->context, buffer, bufferlen,
- gpadl_handle);
-}
-
/* vmbus interface function pointer table */
const struct vmbus_channel_interface vmbus_ops = {
.Open = ivmbus_open,
.SendPacketMultiPageBuffer = ivmbus_sendpacket_multipagebuffer,
.RecvPacket = ivmbus_recvpacket,
.RecvPacketRaw = ivmbus_recvpacket_raw,
- .EstablishGpadl = ivmbus_establish_gpadl,
};
* @SendPacketMultiPageBuffer: Send a multiple page buffers
* @RecvPacket: Receive packet
* @RecvPacketRaw: Receive Raw packet
- * @EstablishGpadl: Set up GPADL for ringbuffer
*
* This structure contains function pointer to control vmbus channel
* behavior. None of these functions is externally callable, but they
u32 *BufferActualLen, u64 *RequestId);
int (*RecvPacketRaw)(struct hv_device *dev, void *buf, u32 buflen,
u32 *BufferActualLen, u64 *RequestId);
- int (*EstablishGpadl)(struct hv_device *dev, void *buf, u32 buflen,
- u32 *GpadlHandle);
};
extern const struct vmbus_channel_interface vmbus_ops;