Searched refs:hwna (Results 1 – 6 of 6) sorted by relevance
| /xnu-8796.141.3/bsd/skywalk/channel/ |
| H A D | channel_kern.c | 334 struct nexus_adapter *hwna; in kern_channel_tx_refill_common() local 343 hwna = KRNA(hw_kring); in kern_channel_tx_refill_common() 344 ifp = hwna->na_ifp; in kern_channel_tx_refill_common() 346 ASSERT(hwna->na_type == NA_NETIF_DEV); in kern_channel_tx_refill_common() 359 SK_KVA(hwna), if_name(ifp), SK_KVA(ifp)); in kern_channel_tx_refill_common() 366 "flow control ON", SK_KVA(hwna), if_name(ifp), SK_KVA(ifp)); in kern_channel_tx_refill_common() 457 struct nexus_adapter *hwna; in kern_channel_flowadv_clear() local 469 hwna = &ifp->if_na->nifna_up; in kern_channel_flowadv_clear() 470 VERIFY((hwna->na_type == NA_NETIF_DEV) || in kern_channel_flowadv_clear() 471 (hwna->na_type == NA_NETIF_COMPAT_DEV)); in kern_channel_flowadv_clear() [all …]
|
| /xnu-8796.141.3/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_host.c | 411 struct nexus_adapter *hwna = nx_port_get_na(nx, NEXUS_PORT_NET_IF_DEV); in nx_netif_host_output() local 415 struct netif_stats *nifs = &NX_NETIF_PRIVATE(hwna->na_nx)->nif_stats; in nx_netif_host_output() 431 kring = &hwna->na_tx_rings[hwna->na_kring_svc_lut[sc_idx]]; in nx_netif_host_output() 433 if (__improbable(!NA_IS_ACTIVE(hwna) || !NA_IS_ACTIVE(hostna))) { in nx_netif_host_output() 436 hwna->na_name, SK_KVA(hwna)); in nx_netif_host_output() 459 hwna->na_name, SK_KVA(hwna), m_pktlen(m), in nx_netif_host_output() 467 kpkt = nx_netif_mbuf_to_kpkt(hwna, m); in nx_netif_host_output()
|
| H A D | nx_netif.c | 1709 struct nexus_adapter *hwna = &NA(ifp)->nifna_up; in nx_netif_doorbell_internal() local 1710 if (__probable(NA_IS_ACTIVE(hwna))) { in nx_netif_doorbell_internal() 1711 struct kern_nexus *nx = hwna->na_nx; in nx_netif_doorbell_internal() 1714 hwna->na_work_ts = _net_uptime; in nx_netif_doorbell_internal() 1722 kring = &hwna->na_tx_rings[0]; in nx_netif_doorbell_internal() 1730 &NX_NETIF_PRIVATE(hwna->na_nx)->nif_stats; in nx_netif_doorbell_internal() 3602 struct nexus_adapter *hwna; local 3632 hwna = KRNA(ring); 3633 nifna = NIFNA(hwna); 3635 if (__improbable(hwna->na_ifp == NULL)) { [all …]
|
| H A D | nx_netif_gso.c | 153 struct nexus_adapter *hwna = nx_port_get_na(nx, NEXUS_PORT_NET_IF_DEV); in netif_gso_check_netif_active() local 156 if (__improbable(!NA_IS_ACTIVE(hwna))) { in netif_gso_check_netif_active() 160 hwna->na_name, SK_KVA(hwna)); in netif_gso_check_netif_active() 165 kring = &hwna->na_tx_rings[hwna->na_kring_svc_lut[sc_idx]]; in netif_gso_check_netif_active()
|
| H A D | nx_netif_vp.c | 279 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-8796.141.3/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw.c | 109 static int fsw_detach(struct nx_flowswitch *fsw, struct nexus_adapter *hwna, 277 fsw_setup_ifp(struct nx_flowswitch *fsw, struct nexus_adapter *hwna) in fsw_setup_ifp() argument 280 struct ifnet *ifp = hwna->na_ifp; in fsw_setup_ifp() 281 struct kern_pbufpool *pp = skmem_arena_nexus(hwna->na_arena)->arn_rx_pp; in fsw_setup_ifp() 284 ASSERT((hwna->na_type == NA_NETIF_HOST) || in fsw_setup_ifp() 285 (hwna->na_type == NA_NETIF_COMPAT_HOST)); in fsw_setup_ifp() 381 fsw_classq_setup(fsw, hwna); in fsw_setup_ifp() 431 fsw_teardown_ifp(struct nx_flowswitch *fsw, struct nexus_adapter *hwna) in fsw_teardown_ifp() argument 454 if (hwna != NULL) { in fsw_teardown_ifp() 455 fsw_classq_teardown(fsw, hwna); in fsw_teardown_ifp() [all …]
|