Searched refs:hwna (Results 1 – 5 of 5) sorted by relevance
| /xnu-12377.1.9/bsd/skywalk/channel/ |
| H A D | channel_kern.c | 336 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-12377.1.9/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_host.c | 439 struct nexus_adapter *hwna = nx_port_get_na(nx, NEXUS_PORT_NET_IF_DEV); in nx_netif_host_output() local 441 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 D | nx_netif.c | 1711 struct nexus_adapter *hwna = &NA(ifp)->nifna_up; in nx_netif_doorbell_internal() local 1712 if (__probable(NA_IS_ACTIVE(hwna))) { in nx_netif_doorbell_internal() 1713 struct kern_nexus *nx = hwna->na_nx; in nx_netif_doorbell_internal() 1716 hwna->na_work_ts = net_uptime(); in nx_netif_doorbell_internal() 1724 kring = &hwna->na_tx_rings[0]; in nx_netif_doorbell_internal() 1732 &NX_NETIF_PRIVATE(hwna->na_nx)->nif_stats; in nx_netif_doorbell_internal() 3738 struct nexus_adapter *hwna; local 3767 hwna = KRNA(ring); 3768 nifna = NIFNA(hwna); 3770 if (__improbable(hwna->na_ifp == NULL)) { [all …]
|
| H A D | nx_netif_gso.c | 154 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()
|
| /xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw.c | 112 static int fsw_detach(struct nx_flowswitch *fsw, struct nexus_adapter *hwna, 365 fsw_setup_ifp(struct nx_flowswitch *fsw, struct nexus_adapter *hwna) in fsw_setup_ifp() argument 368 struct ifnet *ifp = hwna->na_ifp; in fsw_setup_ifp() 369 struct kern_pbufpool *pp = skmem_arena_nexus(hwna->na_arena)->arn_rx_pp; in fsw_setup_ifp() 372 ASSERT((hwna->na_type == NA_NETIF_HOST) || in fsw_setup_ifp() 373 (hwna->na_type == NA_NETIF_COMPAT_HOST)); in fsw_setup_ifp() 469 fsw_classq_setup(fsw, hwna); in fsw_setup_ifp() 521 fsw_teardown_ifp(struct nx_flowswitch *fsw, struct nexus_adapter *hwna) in fsw_teardown_ifp() argument 545 if (hwna != NULL) { in fsw_teardown_ifp() 546 fsw_classq_teardown(fsw, hwna); in fsw_teardown_ifp() [all …]
|