Searched refs:nr_tx_slots (Results 1 – 14 of 14) sorted by relevance
/freebsd/sys/dev/netmap/ |
H A D | netmap_legacy.c | 66 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 D | netmap_vale.c | 1170 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 D | netmap_null.c | 151 nna->up.num_tx_desc = req->nr_tx_slots; in netmap_get_null_na()
|
H A D | netmap.c | 2861 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 D | netmap_pipe.c | 782 mna->up.num_tx_desc = req->nr_tx_slots; in netmap_get_pipe_na()
|
H A D | netmap_monitor.c | 989 mna->up.num_tx_desc = req->nr_tx_slots; in netmap_get_monitor_na()
|
/freebsd/usr.sbin/valectl/ |
H A D | valectl.c | 58 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 D | ctrl-api-test.c | 151 uint32_t nr_tx_slots; /* slots in tx rings */ member 212 printf("nr_tx_slots %u\n", req.nr_tx_slots); in port_info_get() 218 success = req.nr_memsize && req.nr_tx_slots && req.nr_rx_slots && in port_info_get() 225 ctx->nr_tx_slots = req.nr_tx_slots; in port_info_get() 257 req.nr_tx_slots = ctx->nr_tx_slots; in port_register() 271 printf("nr_tx_slots %u\n", req.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() [all …]
|
/freebsd/sys/net/ |
H A D | netmap.h | 601 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 D | netmap_legacy.h | 155 uint32_t nr_tx_slots; /* slots in tx rings */ member
|
H A D | netmap_user.h | 884 d->req.nr_tx_slots = parent->req.nr_tx_slots; in nm_open()
|
/freebsd/lib/libnetmap/ |
H A D | nmport.c | 466 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 D | lb.c | 828 k + 1, p->interface, p->nmd->reg.nr_tx_slots); in main()
|
H A D | pkt-gen.c | 643 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()
|