vioif_softc
vioif_setup_stats(struct vioif_softc *sc)
vioif_dmamap_create(struct vioif_softc *sc, bus_dmamap_t *map,
vioif_dmamap_destroy(struct vioif_softc *sc, bus_dmamap_t *map)
vioif_dmamap_create_load(struct vioif_softc *sc, bus_dmamap_t *map,
vioif_alloc_mems(struct vioif_softc *sc)
vioif_alloc_queues(struct vioif_softc *sc)
vioif_free_queues(struct vioif_softc *sc)
vioif_netqueue_init(struct vioif_softc *sc, struct virtio_softc *vsc,
vioif_netqueue_teardown(struct vioif_softc *sc, struct virtio_softc *vsc,
vioif_net_sched_handle(struct vioif_softc *sc, struct vioif_netqueue *netq)
vioif_net_intr_enable(struct vioif_softc *sc, struct virtio_softc *vsc)
vioif_net_intr_disable(struct vioif_softc *sc, struct virtio_softc *vsc)
vioif_populate_rx_mbufs_locked(struct vioif_softc *sc, struct vioif_netqueue *netq)
vioif_rx_deq_locked(struct vioif_softc *sc, struct virtio_softc *vsc,
vioif_rx_queue_clear(struct vioif_softc *sc, struct virtio_softc *vsc,
struct vioif_softc *sc = device_private(virtio_child(vsc));
struct vioif_softc *sc = device_private(virtio_child(vsc));
struct vioif_softc *sc = device_private(virtio_child(vsc));
struct vioif_softc *sc = ifp->if_softc;
vioif_tx_deq_locked(struct vioif_softc *sc, struct virtio_softc *vsc,
vioif_tx_queue_clear(struct vioif_softc *sc, struct virtio_softc *vsc,
struct vioif_softc *sc = device_private(virtio_child(vsc));
struct vioif_softc *sc = device_private(virtio_child(vsc));
struct vioif_softc *sc = device_private(virtio_child(vsc));
struct vioif_softc *sc = device_private(virtio_child(vsc));
vioif_ctrl_acquire(struct vioif_softc *sc)
vioif_ctrl_release(struct vioif_softc *sc)
vioif_ctrl_load_cmdspec(struct vioif_softc *sc,
vioif_ctrl_unload_cmdspec(struct vioif_softc *sc,
vioif_ctrl_send_command(struct vioif_softc *sc, uint8_t class, uint8_t cmd,
vioif_ctrl_rx(struct vioif_softc *sc, int cmd, bool onoff)
vioif_set_promisc(struct vioif_softc *sc, bool onoff)
vioif_set_allmulti(struct vioif_softc *sc, bool onoff)
vioif_ctrl_mq_vq_pairs_set(struct vioif_softc *sc, int nvq_pairs)
vioif_set_mac_addr(struct vioif_softc *sc)
vioif_set_rx_filter(struct vioif_softc *sc)
vioif_rx_filter(struct vioif_softc *sc)
struct vioif_softc *sc = device_private(virtio_child(vsc));
struct vioif_softc *sc = arg;
vioif_get_link_status(struct vioif_softc *sc)
vioif_update_link_status(struct vioif_softc *sc)
static int vioif_ifflags(struct vioif_softc *);
static int vioif_netqueue_init(struct vioif_softc *,
static void vioif_netqueue_teardown(struct vioif_softc *,
static void vioif_net_intr_enable(struct vioif_softc *,
static void vioif_net_intr_disable(struct vioif_softc *,
static void vioif_net_sched_handle(struct vioif_softc *,
static void vioif_populate_rx_mbufs_locked(struct vioif_softc *,
static void vioif_rx_queue_clear(struct vioif_softc *,
static void vioif_tx_queue_clear(struct vioif_softc *, struct virtio_softc *,
static int vioif_ctrl_rx(struct vioif_softc *, int, bool);
static int vioif_set_promisc(struct vioif_softc *, bool);
static int vioif_set_allmulti(struct vioif_softc *, bool);
static int vioif_set_rx_filter(struct vioif_softc *);
static int vioif_rx_filter(struct vioif_softc *);
static int vioif_set_mac_addr(struct vioif_softc *);
static int vioif_ctrl_mq_vq_pairs_set(struct vioif_softc *, int);
static void vioif_update_link_status(struct vioif_softc *);
static void vioif_alloc_queues(struct vioif_softc *);
static void vioif_free_queues(struct vioif_softc *);
static int vioif_alloc_mems(struct vioif_softc *);
static int vioif_setup_sysctl(struct vioif_softc *);
static void vioif_setup_stats(struct vioif_softc *);
CFATTACH_DECL_NEW(vioif, sizeof(struct vioif_softc),
struct vioif_softc *sc = device_private(self);
struct vioif_softc *sc = device_private(self);
struct vioif_softc *sc = ifp->if_softc;
struct vioif_softc *sc = ifp->if_softc;
struct vioif_softc *sc = ifp->if_softc;
struct vioif_softc *sc = ifp->if_softc;
struct vioif_softc *sc = ifp->if_softc;
struct vioif_softc *sc = ifp->if_softc;
vioif_ifflags(struct vioif_softc *sc)
struct vioif_softc *sc = ifp->if_softc;
vioif_setup_sysctl(struct vioif_softc *sc)