Home
last modified time | relevance | path

Searched refs:nr_tx_slots (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/dev/netmap/
H A Dnetmap_legacy.c66 req->nr_tx_slots = nmr->nr_tx_slots; in nmreq_register_from_legacy()
191 req->nr_tx_slots = nmr->nr_tx_slots; in nmreq_from_legacy()
249 req->nr_tx_slots = nmr->nr_tx_slots; in nmreq_from_legacy()
279 nmr->nr_tx_slots = req->nr_tx_slots; in nmreq_register_to_legacy()
308 nmr->nr_tx_slots = req->nr_tx_slots; in nmreq_to_legacy()
342 nmr->nr_tx_slots = req->nr_tx_slots; in nmreq_to_legacy()
H A Dnetmap_vale.c1170 nm_bound_var(&req->nr_tx_slots, NM_BRIDGE_RINGSIZE, in netmap_vale_vp_create()
1172 na->num_tx_desc = req->nr_tx_slots; in netmap_vale_vp_create()
1330 regreq.nr_tx_slots = req->nr_tx_slots; in nm_vi_create()
1341 req->nr_tx_slots = regreq.nr_tx_slots; in nm_vi_create()
1406 req->nr_tx_slots = na->num_tx_desc; in nm_update_info()
H A Dnetmap_null.c151 nna->up.num_tx_desc = req->nr_tx_slots; in netmap_get_null_na()
H A Dnetmap.c2861 req->nr_tx_slots = na->num_tx_desc; in netmap_ioctl()
2927 regreq.nr_tx_slots = req->nr_tx_slots; in netmap_ioctl()
2970 req->nr_tx_slots = na->num_tx_desc; in netmap_ioctl()
H A Dnetmap_pipe.c782 mna->up.num_tx_desc = req->nr_tx_slots; in netmap_get_pipe_na()
H A Dnetmap_monitor.c989 mna->up.num_tx_desc = req->nr_tx_slots; in netmap_get_monitor_na()
/freebsd/usr.sbin/valectl/
H A Dvalectl.c58 printf("tx_slots: %"PRIu32"\n", v->nr_tx_slots); in dump_port_info()
68 printf("tx_slots: %"PRIu32"\n", v->nr_tx_slots); in dump_newif()
85 uint32_t *nr_tx_slots, in parse_ring_config() argument
94 *nr_tx_slots = *nr_rx_slots = 0; in parse_ring_config()
102 *nr_tx_slots = *nr_rx_slots = v; in parse_ring_config()
119 *nr_tx_rings, *nr_tx_slots, in parse_ring_config()
241 &vale_newif.nr_tx_slots, in bdg_ctl()
257 &vale_attach.reg.nr_tx_slots, in bdg_ctl()
/freebsd/tests/sys/netmap/
H A Dctrl-api-test.c225 ctx->nr_tx_slots = req.nr_tx_slots; in port_info_get()
257 req.nr_tx_slots = ctx->nr_tx_slots; in port_register()
283 ((!ctx->nr_tx_slots && req.nr_tx_slots) || in port_register()
284 (ctx->nr_tx_slots == req.nr_tx_slots)) && in port_register()
303 ctx->nr_tx_slots = req.nr_tx_slots; in port_register()
330 req.nr_tx_slots = ctx->nr_tx_slots; in niocregif()
358 ((!ctx->nr_tx_slots && req.nr_tx_slots) || in niocregif()
359 (ctx->nr_tx_slots == req.nr_tx_slots)) && in niocregif()
374 ctx->nr_tx_slots = req.nr_tx_slots; in niocregif()
716 req.nr_tx_slots = ctx->nr_tx_slots; in vale_persistent_port()
[all …]
/freebsd/sys/net/
H A Dnetmap.h601 uint32_t nr_tx_slots; /* slots in tx rings */ member
670 uint32_t nr_tx_slots; /* slots in tx rings */ member
733 uint32_t nr_tx_slots; /* slots in tx rings */ member
H A Dnetmap_legacy.h155 uint32_t nr_tx_slots; /* slots in tx rings */ member
H A Dnetmap_user.h884 d->req.nr_tx_slots = parent->req.nr_tx_slots; in nm_open()
/freebsd/lib/libnetmap/
H A Dnmport.c466 d->reg.nr_tx_slots = nr_slots; in NPOPT_PARSER()
482 d->reg.nr_tx_slots = atoi(nmport_key(p, conf, tx_slots)); in NPOPT_PARSER()
/freebsd/tools/tools/netmap/
H A Dlb.c828 k + 1, p->interface, p->nmd->reg.nr_tx_slots); in main()
H A Dpkt-gen.c643 nmr->nr_tx_slots = nmr->nr_rx_slots = 0; in parse_nmr_config()
649 nmr->nr_tx_slots = nmr->nr_rx_slots = v; in parse_nmr_config()
666 nmr->nr_tx_rings, nmr->nr_tx_slots, in parse_nmr_config()