Lines Matching refs:nmport_key

359 #define nmport_key(p, o, k)	((p)->keys[NPKEY_ID(o, k)])  macro
417 if (nmport_extmem_from_file(d, nmport_key(p, extmem, file)) < 0) in NPOPT_PARSER()
454 if (nmport_key(p, conf, rings) != NULL) { in NPOPT_PARSER()
455 uint16_t nr_rings = atoi(nmport_key(p, conf, rings)); in NPOPT_PARSER()
459 if (nmport_key(p, conf, host_rings) != NULL) { in NPOPT_PARSER()
460 uint16_t nr_rings = atoi(nmport_key(p, conf, host_rings)); in NPOPT_PARSER()
464 if (nmport_key(p, conf, slots) != NULL) { in NPOPT_PARSER()
465 uint32_t nr_slots = atoi(nmport_key(p, conf, slots)); in NPOPT_PARSER()
469 if (nmport_key(p, conf, tx_rings) != NULL) { in NPOPT_PARSER()
470 d->reg.nr_tx_rings = atoi(nmport_key(p, conf, tx_rings)); in NPOPT_PARSER()
472 if (nmport_key(p, conf, rx_rings) != NULL) { in NPOPT_PARSER()
473 d->reg.nr_rx_rings = atoi(nmport_key(p, conf, rx_rings)); in NPOPT_PARSER()
475 if (nmport_key(p, conf, host_tx_rings) != NULL) { in NPOPT_PARSER()
476 d->reg.nr_host_tx_rings = atoi(nmport_key(p, conf, host_tx_rings)); in NPOPT_PARSER()
478 if (nmport_key(p, conf, host_rx_rings) != NULL) { in NPOPT_PARSER()
479 d->reg.nr_host_rx_rings = atoi(nmport_key(p, conf, host_rx_rings)); in NPOPT_PARSER()
481 if (nmport_key(p, conf, tx_slots) != NULL) { in NPOPT_PARSER()
482 d->reg.nr_tx_slots = atoi(nmport_key(p, conf, tx_slots)); in NPOPT_PARSER()
484 if (nmport_key(p, conf, rx_slots) != NULL) { in NPOPT_PARSER()
485 d->reg.nr_rx_slots = atoi(nmport_key(p, conf, rx_slots)); in NPOPT_PARSER()
498 initial = atoi(nmport_key(p, offset, initial)); in NPOPT_PARSER()
500 if (nmport_key(p, offset, bits) != NULL) in NPOPT_PARSER()
501 bits = atoi(nmport_key(p, offset, bits)); in NPOPT_PARSER()