Lines Matching refs:if_ctx_t
79 static int ixv_if_attach_pre(if_ctx_t);
80 static int ixv_if_attach_post(if_ctx_t);
81 static int ixv_if_detach(if_ctx_t);
83 static int ixv_if_rx_queue_intr_enable(if_ctx_t, uint16_t);
84 static int ixv_if_tx_queues_alloc(if_ctx_t, caddr_t *, uint64_t *, int,
86 static int ixv_if_rx_queues_alloc(if_ctx_t, caddr_t *, uint64_t *, int,
88 static void ixv_if_queues_free(if_ctx_t);
89 static void ixv_identify_hardware(if_ctx_t);
91 static int ixv_allocate_pci_resources(if_ctx_t);
92 static void ixv_free_pci_resources(if_ctx_t);
93 static int ixv_setup_interface(if_ctx_t);
94 static void ixv_if_media_status(if_ctx_t, struct ifmediareq *);
95 static int ixv_if_media_change(if_ctx_t);
96 static void ixv_if_update_admin_status(if_ctx_t);
97 static int ixv_if_msix_intr_assign(if_ctx_t, int);
99 static int ixv_if_mtu_set(if_ctx_t, uint32_t);
100 static void ixv_if_init(if_ctx_t);
101 static void ixv_if_local_timer(if_ctx_t, uint16_t);
102 static void ixv_if_stop(if_ctx_t);
105 static void ixv_initialize_transmit_units(if_ctx_t);
106 static void ixv_initialize_receive_units(if_ctx_t);
109 static void ixv_setup_vlan_support(if_ctx_t);
111 static void ixv_if_enable_intr(if_ctx_t);
112 static void ixv_if_disable_intr(if_ctx_t);
113 static void ixv_if_multi_set(if_ctx_t);
115 static void ixv_if_register_vlan(if_ctx_t, u16);
116 static void ixv_if_unregister_vlan(if_ctx_t, u16);
118 static uint64_t ixv_if_get_counter(if_ctx_t, ift_counter);
119 static bool ixv_if_needs_restart(if_ctx_t, enum iflib_restart_event);
245 ixv_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, in ixv_if_tx_queues_alloc()
305 ixv_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, in ixv_if_rx_queues_alloc()
355 ixv_if_queues_free(if_ctx_t ctx) in ixv_if_queues_free()
391 ixv_if_attach_pre(if_ctx_t ctx) in ixv_if_attach_pre()
530 ixv_if_attach_post(if_ctx_t ctx) in ixv_if_attach_post()
562 ixv_if_detach(if_ctx_t ctx) in ixv_if_detach()
575 ixv_if_mtu_set(if_ctx_t ctx, uint32_t mtu) in ixv_if_mtu_set()
603 ixv_if_init(if_ctx_t ctx) in ixv_if_init()
751 ixv_if_media_status(if_ctx_t ctx, struct ifmediareq * ifmr) in ixv_if_media_status()
790 ixv_if_media_change(if_ctx_t ctx) in ixv_if_media_change()
856 ixv_if_multi_set(if_ctx_t ctx) in ixv_if_multi_set()
902 ixv_if_local_timer(if_ctx_t ctx, uint16_t qid) in ixv_if_local_timer()
919 ixv_if_update_admin_status(if_ctx_t ctx) in ixv_if_update_admin_status()
967 ixv_if_stop(if_ctx_t ctx) in ixv_if_stop()
993 ixv_identify_hardware(if_ctx_t ctx) in ixv_identify_hardware()
1034 ixv_if_msix_intr_assign(if_ctx_t ctx, int msix) in ixv_if_msix_intr_assign()
1115 ixv_allocate_pci_resources(if_ctx_t ctx) in ixv_allocate_pci_resources()
1142 ixv_free_pci_resources(if_ctx_t ctx) in ixv_free_pci_resources()
1169 ixv_setup_interface(if_ctx_t ctx) in ixv_setup_interface()
1192 ixv_if_get_counter(if_ctx_t ctx, ift_counter cnt) in ixv_if_get_counter()
1222 ixv_if_needs_restart(if_ctx_t ctx __unused, enum iflib_restart_event event) in ixv_if_needs_restart()
1236 ixv_initialize_transmit_units(if_ctx_t ctx) in ixv_initialize_transmit_units()
1391 ixv_initialize_receive_units(if_ctx_t ctx) in ixv_initialize_receive_units()
1518 ixv_setup_vlan_support(if_ctx_t ctx) in ixv_setup_vlan_support()
1591 ixv_if_register_vlan(if_ctx_t ctx, u16 vtag) in ixv_if_register_vlan()
1609 ixv_if_unregister_vlan(if_ctx_t ctx, u16 vtag) in ixv_if_unregister_vlan()
1624 ixv_if_enable_intr(if_ctx_t ctx) in ixv_if_enable_intr()
1647 ixv_if_disable_intr(if_ctx_t ctx) in ixv_if_disable_intr()
1659 ixv_if_rx_queue_intr_enable(if_ctx_t ctx, uint16_t rxqid) in ixv_if_rx_queue_intr_enable()