Home
last modified time | relevance | path

Searched refs:hwna (Results 1 – 6 of 6) sorted by relevance

/xnu-10063.141.1/bsd/skywalk/channel/
H A Dchannel_kern.c330 struct nexus_adapter *hwna; in kern_channel_tx_refill_common() local
339 hwna = KRNA(hw_kring); in kern_channel_tx_refill_common()
340 ifp = hwna->na_ifp; in kern_channel_tx_refill_common()
342 ASSERT(hwna->na_type == NA_NETIF_DEV); in kern_channel_tx_refill_common()
355 SK_KVA(hwna), if_name(ifp), SK_KVA(ifp)); in kern_channel_tx_refill_common()
362 "flow control ON", SK_KVA(hwna), if_name(ifp), SK_KVA(ifp)); in kern_channel_tx_refill_common()
453 struct nexus_adapter *hwna; in kern_channel_flowadv_clear() local
465 hwna = &ifp->if_na->nifna_up; in kern_channel_flowadv_clear()
466 VERIFY((hwna->na_type == NA_NETIF_DEV) || in kern_channel_flowadv_clear()
467 (hwna->na_type == NA_NETIF_COMPAT_DEV)); in kern_channel_flowadv_clear()
[all …]
/xnu-10063.141.1/bsd/skywalk/nexus/netif/
H A Dnx_netif_host.c425 struct nexus_adapter *hwna = nx_port_get_na(nx, NEXUS_PORT_NET_IF_DEV); in nx_netif_host_output() local
429 struct netif_stats *nifs = &NX_NETIF_PRIVATE(hwna->na_nx)->nif_stats; in nx_netif_host_output()
445 kring = &hwna->na_tx_rings[hwna->na_kring_svc_lut[sc_idx]]; in nx_netif_host_output()
447 if (__improbable(!NA_IS_ACTIVE(hwna) || !NA_IS_ACTIVE(hostna))) { in nx_netif_host_output()
450 hwna->na_name, SK_KVA(hwna)); in nx_netif_host_output()
473 hwna->na_name, SK_KVA(hwna), m_pktlen(m), in nx_netif_host_output()
481 kpkt = nx_netif_mbuf_to_kpkt(hwna, m); in nx_netif_host_output()
H A Dnx_netif.c1710 struct nexus_adapter *hwna = &NA(ifp)->nifna_up; in nx_netif_doorbell_internal() local
1711 if (__probable(NA_IS_ACTIVE(hwna))) { in nx_netif_doorbell_internal()
1712 struct kern_nexus *nx = hwna->na_nx; in nx_netif_doorbell_internal()
1715 hwna->na_work_ts = _net_uptime; in nx_netif_doorbell_internal()
1723 kring = &hwna->na_tx_rings[0]; in nx_netif_doorbell_internal()
1731 &NX_NETIF_PRIVATE(hwna->na_nx)->nif_stats; in nx_netif_doorbell_internal()
3642 struct nexus_adapter *hwna; local
3672 hwna = KRNA(ring);
3673 nifna = NIFNA(hwna);
3675 if (__improbable(hwna->na_ifp == NULL)) {
[all …]
H A Dnx_netif_gso.c154 struct nexus_adapter *hwna = nx_port_get_na(nx, NEXUS_PORT_NET_IF_DEV); in netif_gso_check_netif_active() local
157 if (__improbable(!NA_IS_ACTIVE(hwna))) { in netif_gso_check_netif_active()
161 hwna->na_name, SK_KVA(hwna)); in netif_gso_check_netif_active()
166 kring = &hwna->na_tx_rings[hwna->na_kring_svc_lut[sc_idx]]; in netif_gso_check_netif_active()
H A Dnx_netif_vp.c279 struct nexus_adapter *hwna; in netif_llw_rx_notify_fast() local
283 hwna = KRNA(ring); in netif_llw_rx_notify_fast()
284 count = na_get_nslots(hwna, NR_RX); in netif_llw_rx_notify_fast()
/xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/
H A Dfsw.c109 static int fsw_detach(struct nx_flowswitch *fsw, struct nexus_adapter *hwna,
356 fsw_setup_ifp(struct nx_flowswitch *fsw, struct nexus_adapter *hwna) in fsw_setup_ifp() argument
359 struct ifnet *ifp = hwna->na_ifp; in fsw_setup_ifp()
360 struct kern_pbufpool *pp = skmem_arena_nexus(hwna->na_arena)->arn_rx_pp; in fsw_setup_ifp()
363 ASSERT((hwna->na_type == NA_NETIF_HOST) || in fsw_setup_ifp()
364 (hwna->na_type == NA_NETIF_COMPAT_HOST)); in fsw_setup_ifp()
460 fsw_classq_setup(fsw, hwna); in fsw_setup_ifp()
511 fsw_teardown_ifp(struct nx_flowswitch *fsw, struct nexus_adapter *hwna) in fsw_teardown_ifp() argument
534 if (hwna != NULL) { in fsw_teardown_ifp()
535 fsw_classq_teardown(fsw, hwna); in fsw_teardown_ifp()
[all …]