Home
last modified time | relevance | path

Searched refs:npipes (Results 1 – 5 of 5) sorted by relevance

/freebsd/tools/tools/netmap/
H A Dlb.c213 int npipes = glob_arg.output_rings; in print_stats() local
219 pipe_prev = calloc(npipes, sizeof(struct my_ctrs)); in print_stats()
253 for (j = 0; j < npipes; ++j) { in print_stats()
705 uint32_t npipes = glob_arg.output_rings; in main() local
715 struct port_des *rxport = &ports[npipes]; in main()
763 freeq = &oq[npipes]; in main()
857 for (i = 0; i < npipes + 1; i++) { in main()
875 struct pollfd pollfd[npipes + 1]; in main()
900 for (i = 0; i < npipes; ++i) { in main()
968 for (i = 0; i < npipes; i++) { in main()
[all …]
/freebsd/sys/dev/netmap/
H A Dnetmap_pipe.c90 nm_pipe_alloc(struct netmap_adapter *na, u_int npipes) in nm_pipe_alloc() argument
95 if (npipes <= na->na_max_pipes) in nm_pipe_alloc()
99 if (npipes < na->na_next_pipe || npipes > NM_MAXPIPES) in nm_pipe_alloc()
103 len = sizeof(struct netmap_pipe_adapter *) * npipes; in nm_pipe_alloc()
109 na->na_max_pipes = npipes; in nm_pipe_alloc()
156 u_int npipes = parent->na_max_pipes ? 2*parent->na_max_pipes : 2; in netmap_pipe_add() local
157 int error = nm_pipe_alloc(parent, npipes); in netmap_pipe_add()
H A Dnetmap_mem2.h144 u_int extra_bufs, u_int npipes, int* error);
H A Dnetmap_vale.c1147 u_int npipes = 0; in netmap_vale_vp_create() local
1179 nm_bound_var(&npipes, 2, 1, NM_MAXPIPES, NULL); in netmap_vale_vp_create()
1214 req->nr_extra_bufs, npipes, &error); in netmap_vale_vp_create()
H A Dnetmap_mem2.c1752 u_int extra_bufs, u_int npipes, int *perr) in netmap_mem_private_new() argument
1771 v = 2 + 4 * npipes; in netmap_mem_private_new()
1781 v = txr + rxr + 8 * npipes; in netmap_mem_private_new()
1789 v = (4 * npipes + rxr) * rxd + (4 * npipes + txr) * txd + 2 + extra_bufs; in netmap_mem_private_new()