Home
last modified time | relevance | path

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

/freebsd-13.1/tests/sys/netmap/
H A Dctrl-api-test.c939 if (opt->nro_reqtype != exp->nro_reqtype) { in checkoption()
940 printf("nro_reqtype %u expected %u\n", opt->nro_reqtype, in checkoption()
941 exp->nro_reqtype); in checkoption()
960 opt.nro_reqtype = 1234; in unsupported_option()
979 opt.nro_reqtype = 1234; in infinite_options()
1037 e->nro_opt.nro_reqtype = NETMAP_REQ_OPT_EXTMEM; in push_extmem_option()
1230 opt->nro_opt.nro_reqtype = NETMAP_REQ_OPT_CSB; in push_csb_option()
1265 opt.nro_opt.nro_reqtype = NETMAP_REQ_OPT_CSB; in csb_mode_invalid_memory()
1373 modeopt.nro_opt.nro_reqtype = NETMAP_REQ_OPT_SYNC_KLOOP_MODE; in sync_kloop_eventfds()
1381 evopt->nro_opt.nro_reqtype = NETMAP_REQ_OPT_SYNC_KLOOP_EVENTFDS; in sync_kloop_eventfds()
/freebsd-13.1/lib/libnetmap/
H A Dnmreq.c611 if (o->nro_reqtype == t) in nmreq_find_option()
650 nmreq_option_name(uint32_t nro_reqtype) in nmreq_option_name() argument
652 switch (nro_reqtype) { in nmreq_option_name()
689 printf(" nro_opt.nro_reqtype: %"PRIu32"\n", e->nro_opt.nro_reqtype);
H A Dnmport.c162 d->extmem->nro_opt.nro_reqtype = NETMAP_REQ_OPT_EXTMEM; in nmport_extmem()
551 nmreq_option_name(o->nro_reqtype), in nmport_register()
/freebsd-13.1/sys/dev/netmap/
H A Dnetmap.c3013 if (nro_reqtype & NETMAP_REQ_OPT_DEBUG) in nmreq_opt_size_by_type()
3014 return (nro_reqtype & ~NETMAP_REQ_OPT_DEBUG); in nmreq_opt_size_by_type()
3016 switch (nro_reqtype) { in nmreq_opt_size_by_type()
3189 if (opt->nro_reqtype < 1) { in nmreq_copyin()
3197 if (opt->nro_reqtype >= NETMAP_REQ_OPT_MAX) { in nmreq_copyin()
3206 if (opt_tab[opt->nro_reqtype] != NULL) { in nmreq_copyin()
3208 nm_prinf("duplicate option: %u", opt->nro_reqtype); in nmreq_copyin()
3210 opt_tab[opt->nro_reqtype]->nro_status = EINVAL; in nmreq_copyin()
3214 opt_tab[opt->nro_reqtype] = opt; in nmreq_copyin()
3219 optsz = nmreq_opt_size_by_type(opt->nro_reqtype, in nmreq_copyin()
[all …]
/freebsd-13.1/sys/net/
H A Dnetmap.h485 uint32_t nro_reqtype; member