Searched refs:nro_reqtype (Results 1 – 5 of 5) sorted by relevance
975 if (opt->nro_reqtype != exp->nro_reqtype) { in checkoption()976 printf("nro_reqtype %u expected %u\n", opt->nro_reqtype, in checkoption()977 exp->nro_reqtype); in checkoption()996 opt.nro_reqtype = 1234; in unsupported_option()1016 opt.nro_reqtype = NETMAP_REQ_OPT_MAX + 1; in infinite_options()1033 opt.nro_reqtype = NETMAP_REQ_OPT_OFFSETS; in infinite_options2()1091 e->nro_opt.nro_reqtype = NETMAP_REQ_OPT_EXTMEM; in push_extmem_option()1284 opt->nro_opt.nro_reqtype = NETMAP_REQ_OPT_CSB; in push_csb_option()1319 opt.nro_opt.nro_reqtype = NETMAP_REQ_OPT_CSB; in csb_mode_invalid_memory()1427 modeopt.nro_opt.nro_reqtype = NETMAP_REQ_OPT_SYNC_KLOOP_MODE; in sync_kloop_eventfds()[all …]
604 if (o->nro_reqtype == t) in nmreq_find_option()643 nmreq_option_name(uint32_t nro_reqtype) in nmreq_option_name() argument645 switch (nro_reqtype) { in nmreq_option_name()684 printf(" nro_opt.nro_reqtype: %"PRIu32"\n", e->nro_opt.nro_reqtype);
160 d->extmem->nro_opt.nro_reqtype = NETMAP_REQ_OPT_EXTMEM; in nmport_extmem()288 opt->nro_opt.nro_reqtype = NETMAP_REQ_OPT_OFFSETS; in nmport_offset()623 nmreq_option_name(o->nro_reqtype), in nmport_register()
3275 nmreq_opt_size_by_type(uint32_t nro_reqtype, uint64_t nro_size) in nmreq_opt_size_by_type() argument3279 if (nro_reqtype & NETMAP_REQ_OPT_DEBUG) in nmreq_opt_size_by_type()3280 return (nro_reqtype & ~NETMAP_REQ_OPT_DEBUG); in nmreq_opt_size_by_type()3282 switch (nro_reqtype) { in nmreq_opt_size_by_type()3474 if (opt->nro_reqtype < 1) { in nmreq_copyin()3476 nm_prinf("invalid option type: %u", opt->nro_reqtype); in nmreq_copyin()3482 if (opt->nro_reqtype >= NETMAP_REQ_OPT_MAX) { in nmreq_copyin()3490 if (opt_tab[opt->nro_reqtype] != NULL) { in nmreq_copyin()3492 nm_prinf("duplicate option: %u", opt->nro_reqtype); in nmreq_copyin()3494 opt_tab[opt->nro_reqtype]->nro_status = EINVAL; in nmreq_copyin()[all …]
499 uint32_t nro_reqtype; member