Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
Show First 20 Lines • Show All 786 Lines • ▼ Show 20 Lines | |||||
hn_txeof(struct hn_tx_ring *txr) | hn_txeof(struct hn_tx_ring *txr) | ||||
{ | { | ||||
txr->hn_has_txeof = 0; | txr->hn_has_txeof = 0; | ||||
txr->hn_txeof(txr); | txr->hn_txeof(txr); | ||||
} | } | ||||
static void | static void | ||||
hn_tx_done(struct hn_send_ctx *sndc, struct netvsc_dev_ *net_dev, | hn_tx_done(struct hn_send_ctx *sndc, struct netvsc_dev_ *net_dev, | ||||
struct vmbus_channel *chan, const struct nvsp_msg_ *msg __unused, | struct vmbus_channel *chan, const void *data __unused, int dlen __unused) | ||||
int dlen __unused) | |||||
{ | { | ||||
struct hn_txdesc *txd = sndc->hn_cbarg; | struct hn_txdesc *txd = sndc->hn_cbarg; | ||||
struct hn_tx_ring *txr; | struct hn_tx_ring *txr; | ||||
if (sndc->hn_chim_idx != HN_NVS_CHIM_IDX_INVALID) | if (sndc->hn_chim_idx != HN_NVS_CHIM_IDX_INVALID) | ||||
hn_chim_free(net_dev, sndc->hn_chim_idx); | hn_chim_free(net_dev, sndc->hn_chim_idx); | ||||
txr = txd->txr; | txr = txd->txr; | ||||
▲ Show 20 Lines • Show All 2,240 Lines • Show Last 20 Lines |