Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/pci_virtio_net.c
Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | struct pci_vtnet_softc { | ||||
net_backend_t *vsc_be; | net_backend_t *vsc_be; | ||||
bool features_negotiated; /* protected by rx_mtx */ | bool features_negotiated; /* protected by rx_mtx */ | ||||
int resetting; /* protected by tx_mtx */ | int resetting; /* protected by tx_mtx */ | ||||
uint64_t vsc_features; /* negotiated features */ | uint64_t vsc_features; /* negotiated features */ | ||||
pthread_mutex_t rx_mtx; | pthread_mutex_t rx_mtx; | ||||
int rx_merge; /* merged rx bufs in use */ | int rx_merge; /* merged rx bufs in use */ | ||||
pthread_t tx_tid; | pthread_t tx_tid; | ||||
pthread_mutex_t tx_mtx; | pthread_mutex_t tx_mtx; | ||||
pthread_cond_t tx_cond; | pthread_cond_t tx_cond; | ||||
int tx_in_progress; | int tx_in_progress; | ||||
▲ Show 20 Lines • Show All 691 Lines • Show Last 20 Lines |