Searched refs:nro_reqtype (Results 1 – 3 of 3) sorted by relevance
939 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()
2991 if (nro_reqtype & NETMAP_REQ_OPT_DEBUG) in nmreq_opt_size_by_type()2992 return (nro_reqtype & ~NETMAP_REQ_OPT_DEBUG); in nmreq_opt_size_by_type()2994 switch (nro_reqtype) { in nmreq_opt_size_by_type()3182 if (opt->nro_reqtype < 1) { in nmreq_copyin()3190 if (opt->nro_reqtype >= NETMAP_REQ_OPT_MAX) { in nmreq_copyin()3199 if (opt_tab[opt->nro_reqtype] != NULL) { in nmreq_copyin()3201 nm_prinf("duplicate option: %u", opt->nro_reqtype); in nmreq_copyin()3203 opt_tab[opt->nro_reqtype]->nro_status = EINVAL; in nmreq_copyin()3207 opt_tab[opt->nro_reqtype] = opt; in nmreq_copyin()3212 optsz = nmreq_opt_size_by_type(opt->nro_reqtype, in nmreq_copyin()[all …]
482 uint32_t nro_reqtype; member