gpadl_handle);
}
-static int ivmbus_teardown_gpadl(struct hv_device *device,
- u32 gpadl_handle)
-{
- return vmbus_teardown_gpadl(device->context, gpadl_handle);
-
-}
-
/* vmbus interface function pointer table */
const struct vmbus_channel_interface vmbus_ops = {
.Open = ivmbus_open,
.RecvPacket = ivmbus_recvpacket,
.RecvPacketRaw = ivmbus_recvpacket_raw,
.EstablishGpadl = ivmbus_establish_gpadl,
- .TeardownGpadl = ivmbus_teardown_gpadl,
};
* @RecvPacket: Receive packet
* @RecvPacketRaw: Receive Raw packet
* @EstablishGpadl: Set up GPADL for ringbuffer
- * @TeardownGpadl: Teardown 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 (*EstablishGpadl)(struct hv_device *dev, void *buf, u32 buflen,
u32 *GpadlHandle);
- int (*TeardownGpadl)(struct hv_device *device, u32 GpadlHandle);
};
extern const struct vmbus_channel_interface vmbus_ops;