Home
last modified time | relevance | path

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

/xnu-11417.140.69/bsd/skywalk/channel/
H A Dchannel_kern.c336 struct nexus_adapter *hwna; in kern_channel_tx_refill_common() local
345 hwna = KRNA(hw_kring); in kern_channel_tx_refill_common()
346 ifp = hwna->na_ifp; in kern_channel_tx_refill_common()
348 ASSERT(hwna->na_type == NA_NETIF_DEV); in kern_channel_tx_refill_common()
361 SK_KVA(hwna), if_name(ifp), SK_KVA(ifp)); in kern_channel_tx_refill_common()
368 "flow control ON", SK_KVA(hwna), if_name(ifp), SK_KVA(ifp)); in kern_channel_tx_refill_common()
465 struct nexus_adapter *hwna; in _kern_channel_flowadv_signal() local
489 hwna = &ifp->if_na->nifna_up; in _kern_channel_flowadv_signal()
490 VERIFY((hwna->na_type == NA_NETIF_DEV) || in _kern_channel_flowadv_signal()
491 (hwna->na_type == NA_NETIF_COMPAT_DEV)); in _kern_channel_flowadv_signal()
[all …]
/xnu-11417.140.69/bsd/skywalk/nexus/netif/
H A Dnx_netif_host.c440 struct nexus_adapter *hwna = nx_port_get_na(nx, NEXUS_PORT_NET_IF_DEV); in nx_netif_host_output() local
442 struct netif_stats *nifs = &NX_NETIF_PRIVATE(hwna->na_nx)->nif_stats; in nx_netif_host_output()
475 kring = &hwna->na_tx_rings[hwna->na_kring_svc_lut[sc_idx]]; in nx_netif_host_output()
484 if (__improbable(!NA_IS_ACTIVE(hwna) || !NA_IS_ACTIVE(hostna))) { in nx_netif_host_output()
487 hwna->na_name, SK_KVA(hwna)); in nx_netif_host_output()
510 hwna->na_name, SK_KVA(hwna), m_pktlen(m), in nx_netif_host_output()
518 kpkt = nx_netif_mbuf_to_kpkt(hwna, m); in nx_netif_host_output()
H A Dnx_netif.c1712 struct nexus_adapter *hwna = &NA(ifp)->nifna_up; in nx_netif_doorbell_internal() local
1713 if (__probable(NA_IS_ACTIVE(hwna))) { in nx_netif_doorbell_internal()
1714 struct kern_nexus *nx = hwna->na_nx; in nx_netif_doorbell_internal()
1717 hwna->na_work_ts = _net_uptime; in nx_netif_doorbell_internal()
1725 kring = &hwna->na_tx_rings[0]; in nx_netif_doorbell_internal()
1733 &NX_NETIF_PRIVATE(hwna->na_nx)->nif_stats; in nx_netif_doorbell_internal()
3673 struct nexus_adapter *hwna; local
3703 hwna = KRNA(ring);
3704 nifna = NIFNA(hwna);
3706 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.c284 struct nexus_adapter *hwna; in netif_llw_rx_notify_fast() local
288 hwna = KRNA(ring); in netif_llw_rx_notify_fast()
289 count = na_get_nslots(hwna, NR_RX); in netif_llw_rx_notify_fast()
/xnu-11417.140.69/bsd/skywalk/nexus/flowswitch/
H A Dfsw.c109 static int fsw_detach(struct nx_flowswitch *fsw, struct nexus_adapter *hwna,
362 fsw_setup_ifp(struct nx_flowswitch *fsw, struct nexus_adapter *hwna) in fsw_setup_ifp() argument
365 struct ifnet *ifp = hwna->na_ifp; in fsw_setup_ifp()
366 struct kern_pbufpool *pp = skmem_arena_nexus(hwna->na_arena)->arn_rx_pp; in fsw_setup_ifp()
369 ASSERT((hwna->na_type == NA_NETIF_HOST) || in fsw_setup_ifp()
370 (hwna->na_type == NA_NETIF_COMPAT_HOST)); in fsw_setup_ifp()
466 fsw_classq_setup(fsw, hwna); in fsw_setup_ifp()
518 fsw_teardown_ifp(struct nx_flowswitch *fsw, struct nexus_adapter *hwna) in fsw_teardown_ifp() argument
542 if (hwna != NULL) { in fsw_teardown_ifp()
543 fsw_classq_teardown(fsw, hwna); in fsw_teardown_ifp()
[all …]