Searched refs:hwna (Results 1 – 6 of 6) sorted by relevance
| /xnu-8019.80.24/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_host.c | 367 struct nexus_adapter *hwna = nx_port_get_na(nx, NEXUS_PORT_NET_IF_DEV); in nx_netif_host_output() local 371 struct netif_stats *nifs = &NX_NETIF_PRIVATE(hwna->na_nx)->nif_stats; in nx_netif_host_output() 386 kring = &hwna->na_tx_rings[hwna->na_kring_svc_lut[sc_idx]]; in nx_netif_host_output() 388 if (__improbable(!NA_IS_ACTIVE(hwna) || !NA_IS_ACTIVE(hostna))) { in nx_netif_host_output() 391 hwna->na_name, SK_KVA(hwna)); in nx_netif_host_output() 414 hwna->na_name, SK_KVA(hwna), m_pktlen(m), in nx_netif_host_output() 422 kpkt = nx_netif_mbuf_to_kpkt(hwna, m); in nx_netif_host_output()
|
| H A D | nx_netif.c | 1633 struct nexus_adapter *hwna = &NA(ifp)->nifna_up; in nx_netif_doorbell_internal() local 1634 if (__probable(NA_IS_ACTIVE(hwna))) { in nx_netif_doorbell_internal() 1635 struct kern_nexus *nx = hwna->na_nx; in nx_netif_doorbell_internal() 1638 hwna->na_work_ts = _net_uptime; in nx_netif_doorbell_internal() 1646 kring = &hwna->na_tx_rings[0]; in nx_netif_doorbell_internal() 1654 &NX_NETIF_PRIVATE(hwna->na_nx)->nif_stats; in nx_netif_doorbell_internal() 3354 struct nexus_adapter *hwna; local 3384 hwna = KRNA(ring); 3385 nifna = NIFNA(hwna); 3387 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 | 277 struct nexus_adapter *hwna; in netif_llw_rx_notify_fast() local 281 hwna = KRNA(ring); in netif_llw_rx_notify_fast() 282 count = na_get_nslots(hwna, NR_RX); in netif_llw_rx_notify_fast()
|
| /xnu-8019.80.24/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-8019.80.24/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw.c | 99 static int fsw_detach(struct nx_flowswitch *fsw, struct nexus_adapter *hwna, 243 fsw_setup_ifp(struct nx_flowswitch *fsw, struct nexus_adapter *hwna) in fsw_setup_ifp() argument 246 struct ifnet *ifp = hwna->na_ifp; in fsw_setup_ifp() 247 struct kern_pbufpool *pp = skmem_arena_nexus(hwna->na_arena)->arn_rx_pp; in fsw_setup_ifp() 250 ASSERT((hwna->na_type == NA_NETIF_HOST) || in fsw_setup_ifp() 251 (hwna->na_type == NA_NETIF_COMPAT_HOST)); in fsw_setup_ifp() 347 fsw_classq_setup(fsw, hwna); in fsw_setup_ifp() 390 fsw_teardown_ifp(struct nx_flowswitch *fsw, struct nexus_adapter *hwna) in fsw_teardown_ifp() argument 413 if (hwna != NULL) { in fsw_teardown_ifp() 414 fsw_classq_teardown(fsw, hwna); in fsw_teardown_ifp() [all …]
|