Home
last modified time | relevance | path

Searched refs:num_tx_desc (Results 1 – 15 of 15) sorted by relevance

/freebsd-14-stable/sys/dev/netmap/
HDnetmap_generic.c279 for (i=0; i<na->num_tx_desc; i++) { in generic_netmap_unregister()
351 nm_os_malloc(na->num_tx_desc * sizeof(struct mbuf *)); in generic_netmap_register()
369 for (i=0; i<na->num_tx_desc; i++) { in generic_netmap_register()
1098 u_int num_tx_desc, num_rx_desc; in generic_netmap_attach() local
1116 num_tx_desc = num_rx_desc = netmap_generic_ringsize; /* starting point */ in generic_netmap_attach()
1118 nm_os_generic_find_num_desc(ifp, &num_tx_desc, &num_rx_desc); /* ignore errors */ in generic_netmap_attach()
1119 if (num_tx_desc == 0 || num_rx_desc == 0) { in generic_netmap_attach()
1120 nm_prerr("Device has no hw slots (tx %u, rx %u)", num_tx_desc, num_rx_desc); in generic_netmap_attach()
1132 na->num_tx_desc = num_tx_desc; in generic_netmap_attach()
HDnetmap_pipe.c782 mna->up.num_tx_desc = req->nr_tx_slots; in netmap_get_pipe_na()
783 nm_bound_var(&mna->up.num_tx_desc, pna->num_tx_desc, in netmap_get_pipe_na()
807 sna->up.num_tx_desc = mna->up.num_rx_desc; in netmap_get_pipe_na()
809 sna->up.num_rx_desc = mna->up.num_tx_desc; in netmap_get_pipe_na()
HDnetmap_null.c151 nna->up.num_tx_desc = req->nr_tx_slots; in netmap_get_null_na()
HDnetmap_monitor.c989 mna->up.num_tx_desc = req->nr_tx_slots; in netmap_get_monitor_na()
990 nm_bound_var(&mna->up.num_tx_desc, pna->num_tx_desc, in netmap_get_monitor_na()
1009 mna->up.num_tx_desc, in netmap_get_monitor_na()
HDif_vtnet_netmap.h438 na.num_tx_desc = vtnet_netmap_tx_slots(sc); in vtnet_netmap_attach()
451 na.num_tx_rings, na.num_tx_desc, in vtnet_netmap_attach()
HDnetmap.c774 info.num_tx_descs = na->num_tx_desc; in netmap_update_config()
781 na->num_tx_desc == info.num_tx_descs && in netmap_update_config()
788 na->num_tx_desc = info.num_tx_descs; in netmap_update_config()
795 na->name, na->num_tx_rings, na->num_tx_desc, in netmap_update_config()
2861 req->nr_tx_slots = na->num_tx_desc; in netmap_ioctl()
2970 req->nr_tx_slots = na->num_tx_desc; in netmap_ioctl()
4136 hwna->up.num_tx_rings, hwna->up.num_tx_desc, in netmap_attach_ext()
HDnetmap_vale.c1172 na->num_tx_desc = req->nr_tx_slots; in netmap_vale_vp_create()
1212 na->num_tx_rings, na->num_tx_desc, in netmap_vale_vp_create()
1406 req->nr_tx_slots = na->num_tx_desc; in nm_update_info()
HDif_re_netmap.h364 na.num_tx_desc = sc->rl_ldata.rl_tx_desc_cnt; in re_netmap_attach()
HDnetmap_kern.h765 u_int num_tx_desc; /* number of descriptor in each queue */ member
936 return (t == NR_TX ? na->num_tx_desc : na->num_rx_desc); in nma_get_ndesc()
943 na->num_tx_desc = v; in nma_set_ndesc()
HDnetmap_bdg.c1433 info->num_rx_descs = hwna->num_tx_desc; in netmap_bwrap_config()
1779 na->num_tx_rings, na->num_tx_desc, in netmap_bwrap_attach_common()
HDif_ptnet.c457 na_arg.num_tx_desc = bus_read_4(sc->iomem, PTNET_IO_NUM_TX_SLOTS); in ptnet_attach()
/freebsd-14-stable/sys/dev/ixgbe/
HDixgbe.h133 #define IXGBE_TX_CLEANUP_THRESHOLD(_a) ((_a)->num_tx_desc / 8)
134 #define IXGBE_TX_OP_THRESHOLD(_a) ((_a)->num_tx_desc / 32)
/freebsd-14-stable/sys/dev/cxgbe/
HDt4_netmap.c224 len = na->num_tx_desc * EQ_ESIZE + sc->params.sge.spg_len; in alloc_nm_txq()
231 nm_txq->sidx = na->num_tx_desc; in alloc_nm_txq()
416 len = na->num_tx_desc * EQ_ESIZE + sc->params.sge.spg_len; in alloc_nm_txq_hwq()
456 MPASS(nm_txq->sidx == na->num_tx_desc); in alloc_nm_txq_hwq()
1274 na.num_tx_desc = vi->qsize_txq - sc->params.sge.spg_len / EQ_ESIZE; in cxgbe_nm_attach()
/freebsd-14-stable/sys/dev/ena/
HDena_netmap.c91 na.num_tx_desc = adapter->requested_tx_ring_size; in ena_netmap_attach()
/freebsd-14-stable/sys/net/
HDiflib.c1321 na.num_tx_desc = iflib_num_tx_descs(ctx); in iflib_netmap_attach()