Searched refs:pp_max_frags (Results 1 – 12 of 12) sorted by relevance
| /xnu-10063.141.1/bsd/skywalk/packet/ |
| H A D | pbufpool_kern.c | 262 pp_info->kpm_max_frags = pp->pp_max_frags; in kern_pbufpool_get_memory_info() 286 if (__improbable(bufcnt > pp->pp_max_frags)) { in kern_pbufpool_alloc_common() 290 if (__improbable((bufcnt != pp->pp_max_frags) && in kern_pbufpool_alloc_common() 324 bufcnt > pp->pp_max_frags || (cb == NULL && ctx != NULL))) { in kern_pbufpool_alloc_batch_common() 328 if (__improbable((bufcnt != pp->pp_max_frags) && in kern_pbufpool_alloc_batch_common()
|
| H A D | pbufpool_var.h | 62 uint16_t pp_max_frags; member
|
| H A D | pbufpool.c | 557 upkt, pp, 0, pp->pp_max_frags, 0); in pp_metadata_construct() 646 uint16_t bufcnt = (no_buflet ? 0 : pp->pp_max_frags); in pp_metadata_ctor_common() 762 ASSERT(kpkt->pkt_bufs_max == pp->pp_max_frags); in pp_metadata_destruct_common() 1123 pp->pp_max_frags = max_frags; in pp_create() 1589 uint32_t max_frags = pp->pp_max_frags; in pp_remove_upp_bft_chain_locked() 1945 ASSERT(bufcnt <= pp->pp_max_frags); in pp_alloc_packet_common() 2060 ASSERT(bufcnt <= pp->pp_max_frags); in pp_alloc_pktq() 2129 uint32_t bufcnt = pp->pp_max_frags; in pp_alloc_packet_by_size()
|
| /xnu-10063.141.1/bsd/skywalk/channel/ |
| H A D | channel_ring.c | 473 const uint32_t maxfrags = pp->pp_max_frags; in kr_txprologue() 521 const uint32_t maxfrags = pp->pp_max_frags; in kr_txprologue_upp() 1153 kr_externalize_metadata_internal(kring, pp->pp_max_frags, in kr_txfinalize() 1273 const uint32_t maxfrags = kring->ckr_pp->pp_max_frags; in kr_rxfinalize() 1321 const uint32_t maxfrags = kring->ckr_pp->pp_max_frags; in kr_rxfinalize_upp() 1543 const uint32_t maxfrags = pp->pp_max_frags; in kr_event_sync_finalize()
|
| /xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_dp.c | 1250 max_pkt_len = PP_BUF_SIZE_DEF(pp) * pp->pp_max_frags; in convert_native_pktq_to_mbufs() 1751 ASSERT(dpp->pp_max_frags > 1); in dp_flow_rx_process() 1804 ASSERT(dpp->pp_max_frags > 1); in dp_flow_rx_process() 2496 (uint32_t)pp->pp_max_frags * PP_BUF_SIZE_DEF(pp)); in dp_copy_to_dev_log() 2562 if (dev_pkt_len > pp->pp_max_frags * PP_BUF_SIZE_DEF(pp)) { in dp_copy_to_dev() 3380 err = pp_alloc_pktq(dev_pp, dev_pp->pp_max_frags, &dpktq, n_pkts, NULL, in dp_tx_pktq() 3776 err = pp_alloc_pktq(dev_pp, dev_pp->pp_max_frags, &dpktq, in dp_gso_pktq()
|
| H A D | fsw.c | 426 srp_max_frags > 1 || pp->pp_max_frags > 1) { in fsw_setup_ifp()
|
| /xnu-10063.141.1/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_host.c | 597 VERIFY((poff + len) <= (PP_BUF_SIZE_DEF(pp) * pp->pp_max_frags)); in nx_netif_mbuf_to_kpkt()
|
| H A D | nx_netif_compat.c | 1292 ASSERT(pp->pp_max_frags == 1); in nx_netif_compat_na_rxsync() 1667 if (skmem_arena_nexus(devna->na_arena)->arn_rx_pp->pp_max_frags > 1) { in nx_netif_compat_attach()
|
| H A D | nx_netif.c | 2356 if (skmem_arena_nexus(devna->na_arena)->arn_rx_pp->pp_max_frags > 1) { in nx_netif_attach()
|
| /xnu-10063.141.1/bsd/skywalk/nexus/monitor/ |
| H A D | nx_monitor.c | 682 if (na_arena->arn_rx_pp->pp_max_frags > 1) { in nx_mon_enable() 1197 uint32_t max_len = mkring->ckr_pp->pp_max_frags * in nx_mon_parent_sync()
|
| /xnu-10063.141.1/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.c | 1497 pp->pp_max_frags; in na_kr_create() 2214 kqum = SK_PTR_ADDR_KQUM(pp_alloc_packet(pp, pp->pp_max_frags, in na_kr_populate_slots() 2232 kr_externalize_metadata(kring, pp->pp_max_frags, in na_kr_populate_slots() 3683 kr_externalize_metadata(kring, pp->pp_max_frags, kqum, p); in na_packet_pool_alloc_sync_common()
|
| /xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_agg.c | 1584 ASSERT(dpp->pp_max_frags > 1); in flow_rx_agg_channel() 1688 agg_ok = (agg_ok && bufcnt < dpp->pp_max_frags); in flow_rx_agg_channel()
|