Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/netvsc/if_hnvar.h
Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | |||||
hn_nvs_send_sglist(struct vmbus_channel *chan, struct vmbus_gpa sg[], int sglen, | hn_nvs_send_sglist(struct vmbus_channel *chan, struct vmbus_gpa sg[], int sglen, | ||||
void *nvs_msg, int nvs_msglen, struct hn_send_ctx *sndc) | void *nvs_msg, int nvs_msglen, struct hn_send_ctx *sndc) | ||||
{ | { | ||||
return (vmbus_chan_send_sglist(chan, sg, sglen, nvs_msg, nvs_msglen, | return (vmbus_chan_send_sglist(chan, sg, sglen, nvs_msg, nvs_msglen, | ||||
(uint64_t)(uintptr_t)sndc)); | (uint64_t)(uintptr_t)sndc)); | ||||
} | } | ||||
void hn_nvs_sent_xact(struct hn_send_ctx *sndc, | struct vmbus_xact; | ||||
struct hn_softc *sc, struct vmbus_channel *chan, | |||||
const void *data, int dlen); | const void *hn_nvs_xact_execute(struct hn_softc *sc, | ||||
struct vmbus_xact *xact, void *req, int reqlen, | |||||
size_t *resp_len); | |||||
uint32_t hn_chim_alloc(struct hn_softc *sc); | uint32_t hn_chim_alloc(struct hn_softc *sc); | ||||
void hn_chim_free(struct hn_softc *sc, uint32_t chim_idx); | void hn_chim_free(struct hn_softc *sc, uint32_t chim_idx); | ||||
#endif /* !_IF_HNVAR_H_ */ | #endif /* !_IF_HNVAR_H_ */ |