Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [Bug 457] rte_mempool_create is based on lcore socketid and not the port socketid
@ 2020-04-19  7:02 bugzilla
  2020-04-21  9:24 ` bugzilla
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla @ 2020-04-19  7:02 UTC (permalink / raw)
  To: spp

https://bugs.dpdk.org/show_bug.cgi?id=457

            Bug ID: 457
           Summary: rte_mempool_create is based on lcore socketid and not
                    the port socketid
           Product: SPP
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: main
          Assignee: yasufum.o@gmail.com
          Reporter: vipin.varghese@intel.com
                CC: spp@dpdk.org
  Target Milestone: ---

File: ```src/primary/init.c```
line: 52

current: 
```
pktmbuf_pool = rte_mempool_create(PKTMBUF_POOL_NAME, num_mbufs,
                        MBUF_SIZE, MBUF_CACHE_SIZE,
                        sizeof(struct rte_pktmbuf_pool_private),
                        rte_pktmbuf_pool_init, NULL, rte_pktmbuf_init, NULL,
                        rte_socket_id(), NO_FLAGS);
```

expected
```
/* using rte_eth_dev_socket_id (uint16_t port_id) 
   a. identify the sockets and pool to be used 
   b. number of ports in same pool
 */
pktmbuf_pool[0] = rte_mempool_create(PKTMBUF_POOL_NAME_0, num_mbufs_0,
                        MBUF_SIZE, MBUF_CACHE_SIZE,
                        sizeof(struct rte_pktmbuf_pool_private),
                        rte_pktmbuf_pool_init, NULL, rte_pktmbuf_init, NULL,
                        0, NO_FLAGS);
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-23  5:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-19  7:02 [spp] [Bug 457] rte_mempool_create is based on lcore socketid and not the port socketid bugzilla
2020-04-21  9:24 ` bugzilla
2020-04-21 11:06 ` bugzilla
2020-04-23  5:04 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).