Searched refs:mem_id (Results 1 - 11 of 11) sorted by relevance
/freebsd-13-stable/usr.sbin/valectl/ |
H A D | valectl.c | 49 const char *mem_id; member in struct:args 63 printf("mem_id: %"PRIu16"\n", v->nr_mem_id); 73 printf("mem_id: %"PRIu16"\n", v->nr_mem_id); 163 parse_mem_id(const char *mem_id) argument 167 if (mem_id == NULL) 169 if (isdigit(*mem_id)) 170 return atoi(mem_id); 171 id = nmreq_get_mem_id(&mem_id, nmctx_get()); 173 fprintf(stderr, "invalid format in '-m %s' (missing 'netmap:'?)\n", mem_id); 215 int32_t mem_id; local [all...] |
/freebsd-13-stable/lib/libnetmap/ |
H A D | nmport.c | 337 int32_t mem_id; local 340 mem_id = nmreq_get_mem_id(&v, ctx); 341 if (mem_id < 0) 343 if (d->reg.nr_mem_id && d->reg.nr_mem_id != mem_id) { 344 nmctx_ferror(ctx, "cannot set mem_id to %"PRId32", already set to %"PRIu16"", 345 mem_id, d->reg.nr_mem_id); 349 d->reg.nr_mem_id = mem_id; 580 /* lookup the mem_id in the mem-list: do a new mmap() if 606 if (m->mem_id == d->reg.nr_mem_id) 629 m->mem_id [all...] |
H A D | libnetmap.h | 537 /* nmreq_get_mem_id - get the mem_id of the given port 544 * If successful, returns the mem_id of *@portname and moves @portname past the 566 * ports that are using the same region (as identified by the mem_id) will 611 uint16_t mem_id; /* the region netmap identifier */ member in struct:nmem_d
|
/freebsd-13-stable/sys/dev/cxgbe/ |
H A D | t4_ioctl.h | 333 uint32_t mem_id; member in struct:t4_sge_context
|
H A D | t4_main.c | 10306 if (cntxt->mem_id != CTXT_EGRESS && cntxt->mem_id != CTXT_INGRESS && 10307 cntxt->mem_id != CTXT_FLM && cntxt->mem_id != CTXT_CNM) 10315 rc = -t4_sge_ctxt_rd(sc, sc->mbox, cntxt->cid, cntxt->mem_id, 10325 rc = -t4_sge_ctxt_rd_bd(sc, cntxt->cid, cntxt->mem_id, &cntxt->data[0]);
|
/freebsd-13-stable/sys/dev/cxgb/ |
H A D | cxgb_ioctl.h | 96 uint32_t mem_id; member in struct:ch_mem_range 103 enum { MEM_CM, MEM_PMRX, MEM_PMTX }; /* ch_mem_range.mem_id values */
|
H A D | cxgb_main.c | 2850 if (t->mem_id == MEM_CM) 2852 else if (t->mem_id == MEM_PMRX) 2854 else if (t->mem_id == MEM_PMTX)
|
/freebsd-13-stable/tools/tools/cxgbtool/ |
H A D | cxgbtool.c | 838 mr.mem_id = MEM_CM; 952 unsigned int mem_id, addr, len; local 957 mem_id = MEM_CM; 959 mem_id = MEM_PMRX; 961 mem_id = MEM_PMTX; 974 mem.mem_id = mem_id;
|
/freebsd-13-stable/sys/dev/netmap/ |
H A D | netmap_mem2.c | 2734 netmap_mem_pt_guest_find_memid(nm_memid_t mem_id) argument 2742 ((struct netmap_mem_ptg *)(scan))->host_mem_id == mem_id) { 2756 netmap_mem_pt_guest_create(nm_memid_t mem_id) argument 2768 ptnmd->host_mem_id = mem_id; 2795 netmap_mem_pt_guest_get(nm_memid_t mem_id) argument 2800 nmd = netmap_mem_pt_guest_find_memid(mem_id); 2802 nmd = netmap_mem_pt_guest_create(mem_id); 2820 netmap_mem_pt_guest_attach(struct ptnetmap_memdev *ptn_dev, nm_memid_t mem_id) argument 2825 nmd = netmap_mem_pt_guest_get(mem_id);
|
H A D | netmap_freebsd.c | 910 uint16_t mem_id; local 925 mem_id = bus_read_4(ptn_dev->pci_io, PTNET_MDEV_IO_MEMID); 928 ptn_dev->nm_mem = netmap_mem_pt_guest_attach(ptn_dev, mem_id); 935 nm_prinf("ptnetmap memdev attached, host memid: %u", mem_id);
|
/freebsd-13-stable/usr.sbin/cxgbetool/ |
H A D | cxgbetool.c | 1770 if (p->mem_id == SGE_CONTEXT_EGRESS) { 1777 } else if (p->mem_id == SGE_CONTEXT_FLM) 1779 else if (p->mem_id == SGE_CONTEXT_INGRESS) 1781 else if (p->mem_id == SGE_CONTEXT_CNM) 1911 if (p->mem_id == SGE_CONTEXT_EGRESS) 1913 else if (p->mem_id == SGE_CONTEXT_FLM) 1915 else if (p->mem_id == SGE_CONTEXT_INGRESS) 1917 else if (p->mem_id == SGE_CONTEXT_CNM) 1938 cntxt.mem_id = SGE_CONTEXT_EGRESS; 1940 cntxt.mem_id [all...] |
Completed in 191 milliseconds