Changeset View
Changeset View
Standalone View
Standalone View
sys/net/iflib.h
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | |||||
if_t iflib_get_ifp(if_ctx_t ctx); | if_t iflib_get_ifp(if_ctx_t ctx); | ||||
struct ifmedia *iflib_get_media(if_ctx_t ctx); | struct ifmedia *iflib_get_media(if_ctx_t ctx); | ||||
if_softc_ctx_t iflib_get_softc_ctx(if_ctx_t ctx); | if_softc_ctx_t iflib_get_softc_ctx(if_ctx_t ctx); | ||||
if_shared_ctx_t iflib_get_sctx(if_ctx_t ctx); | if_shared_ctx_t iflib_get_sctx(if_ctx_t ctx); | ||||
void iflib_set_mac(if_ctx_t ctx, uint8_t mac[ETHER_ADDR_LEN]); | void iflib_set_mac(if_ctx_t ctx, uint8_t mac[6/*ETHER_ADDR_LEN*/]); | ||||
/* | /* | ||||
* If the driver can plug cleanly in to newbus use these | * If the driver can plug cleanly in to newbus use these | ||||
*/ | */ | ||||
int iflib_device_probe(device_t); | int iflib_device_probe(device_t); | ||||
Show All 20 Lines | |||||
int iflib_irq_alloc(if_ctx_t, if_irq_t, int, driver_filter_t, void *filter_arg, driver_intr_t, void *arg, char *name); | int iflib_irq_alloc(if_ctx_t, if_irq_t, int, driver_filter_t, void *filter_arg, driver_intr_t, void *arg, char *name); | ||||
int iflib_irq_alloc_generic(if_ctx_t ctx, if_irq_t irq, int rid, | int iflib_irq_alloc_generic(if_ctx_t ctx, if_irq_t irq, int rid, | ||||
iflib_intr_type_t type, driver_filter_t *filter, | iflib_intr_type_t type, driver_filter_t *filter, | ||||
void *filter_arg, int qid, char *name); | void *filter_arg, int qid, char *name); | ||||
void iflib_softirq_alloc_generic(if_ctx_t ctx, int rid, iflib_intr_type_t type, void *arg, int qid, char *name); | void iflib_softirq_alloc_generic(if_ctx_t ctx, int rid, iflib_intr_type_t type, void *arg, int qid, char *name); | ||||
void iflib_irq_free(if_ctx_t ctx, if_irq_t irq); | void iflib_irq_free(if_ctx_t ctx, if_irq_t irq); | ||||
void iflib_io_tqg_attach(struct grouptask *gtask, void *uniq, int cpu, char *name); | |||||
void iflib_tx_intr_deferred(if_ctx_t ctx, int txqid); | void iflib_tx_intr_deferred(if_ctx_t ctx, int txqid); | ||||
void iflib_rx_intr_deferred(if_ctx_t ctx, int rxqid); | void iflib_rx_intr_deferred(if_ctx_t ctx, int rxqid); | ||||
void iflib_admin_intr_deferred(if_ctx_t ctx); | void iflib_admin_intr_deferred(if_ctx_t ctx); | ||||
void iflib_iov_intr_deferred(if_ctx_t ctx); | void iflib_iov_intr_deferred(if_ctx_t ctx); | ||||
void iflib_link_state_change(if_ctx_t ctx, int linkstate); | void iflib_link_state_change(if_ctx_t ctx, int linkstate); | ||||
Show All 14 Lines |