Home
last modified time | relevance | path

Searched refs:hostna (Results 1 – 5 of 5) sorted by relevance

/xnu-11215/bsd/skywalk/nexus/flowswitch/
H A Dfsw_classq.c34 fsw_classq_setup(struct nx_flowswitch *fsw, struct nexus_adapter *hostna) in fsw_classq_setup() argument
37 ASSERT(hostna->na_ifp->if_snd->ifcq_type != PKTSCHEDT_NONE); in fsw_classq_setup()
38 ASSERT(hostna->na_ifp->if_eflags & IFEF_TXSTART); in fsw_classq_setup()
39 if (hostna->na_type == NA_NETIF_COMPAT_HOST) { in fsw_classq_setup()
42 ASSERT(hostna->na_type == NA_NETIF_HOST); in fsw_classq_setup()
48 fsw_classq_teardown(struct nx_flowswitch *fsw, struct nexus_adapter *hostna) in fsw_classq_teardown() argument
54 ASSERT(hostna->na_ifp->if_snd->ifcq_type != PKTSCHEDT_NONE); in fsw_classq_teardown()
55 ASSERT(hostna->na_ifp->if_eflags & IFEF_TXSTART); in fsw_classq_teardown()
56 if (hostna->na_type == NA_NETIF_COMPAT_HOST) { in fsw_classq_teardown()
59 ASSERT(hostna->na_type == NA_NETIF_HOST); in fsw_classq_teardown()
[all …]
H A Dfsw_var.h132 struct nexus_adapter *hostna);
134 struct nexus_adapter *hostna);
207 struct nexus_adapter *hostna);
209 struct nexus_adapter *hostna);
/xnu-11215/bsd/skywalk/nexus/netif/
H A Dnx_netif_compat.c1685 (void) snprintf(hostna->na_name, sizeof(hostna->na_name), in nx_netif_compat_attach()
1693 hostna->na_private = ifp; in nx_netif_compat_attach()
1722 nx, hostna)) != 0) { in nx_netif_compat_attach()
1738 na_retain_locked(hostna); in nx_netif_compat_attach()
1774 SK_KVA(hostna->na_nx), NX_DOM(hostna->na_nx)->nxdom_name, in nx_netif_compat_attach()
1780 na_get_nrings(hostna, NR_TX), na_get_nrings(hostna, NR_RX)); in nx_netif_compat_attach()
1782 na_get_nslots(hostna, NR_TX), na_get_nslots(hostna, NR_RX)); in nx_netif_compat_attach()
1805 if (hostna != NULL) { in nx_netif_compat_attach()
1808 hostna->na_arena = NULL; in nx_netif_compat_attach()
1812 hostna->na_ifp = NULL; in nx_netif_compat_attach()
[all …]
H A Dnx_netif.c2374 (void) snprintf(hostna->na_name, sizeof(hostna->na_name), in nx_netif_attach()
2382 hostna->na_private = ifp; in nx_netif_attach()
2420 nx, hostna)) != 0) { in nx_netif_attach()
2448 na_retain_locked(hostna); in nx_netif_attach()
2487 SK_KVA(hostna->na_nx), NX_DOM(hostna->na_nx)->nxdom_name, in nx_netif_attach()
2493 na_get_nrings(hostna, NR_TX), na_get_nrings(hostna, NR_RX)); in nx_netif_attach()
2495 na_get_nslots(hostna, NR_TX), na_get_nslots(hostna, NR_RX)); in nx_netif_attach()
2523 if (hostna != NULL) { in nx_netif_attach()
2530 hostna->na_ifp = NULL; in nx_netif_attach()
2788 ASSERT(hostna != NULL); in na_netif_finalize()
[all …]
H A Dnx_netif_host.c441 struct nexus_adapter *hostna = nx_port_get_na(nx, NEXUS_PORT_NET_IF_HOST); in nx_netif_host_output() local
454 ASSERT(hostna->na_type == NA_NETIF_HOST); in nx_netif_host_output()
484 if (__improbable(!NA_IS_ACTIVE(hwna) || !NA_IS_ACTIVE(hostna))) { in nx_netif_host_output()
495 if (__improbable(KR_DROP(&hostna->na_rx_rings[0]) || KR_DROP(kring))) { in nx_netif_host_output()