Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [PATCH 0/3] Fix assigning wrong master lcore
@ 2019-07-18  5:01 yasufum.o
  2019-07-18  5:01 ` [spp] [PATCH 1/3] spp_vf: fix wrong master lcore other than 0 yasufum.o
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: yasufum.o @ 2019-07-18  5:01 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

From: Yasufumi Ogawa <yasufum.o@gmail.com>

In spp_vf, spp_mirror and spp_pcap, master lcore is always set as 0 and
cannot to others. It is because rte_get_master_lcore() returns 0 if it
is called before rte_eal_init().

This series of patches is to fix the issue for each of processes by
moving rte_eal_init() before rte_get_master_lcore().

Yasufumi Ogawa (3):
  spp_vf: fix wrong master lcore other than 0
  spp_mirror: fix wrong master lcore other than 0
  spp_pcap: fix wrong master lcore other than 0

 src/mirror/spp_mirror.c | 20 ++++++++++++--------
 src/pcap/spp_pcap.c     | 20 ++++++++++++--------
 src/vf/spp_vf.c         | 20 ++++++++++++--------
 3 files changed, 36 insertions(+), 24 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2019-07-18  5:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-18  5:01 [spp] [PATCH 0/3] Fix assigning wrong master lcore yasufum.o
2019-07-18  5:01 ` [spp] [PATCH 1/3] spp_vf: fix wrong master lcore other than 0 yasufum.o
2019-07-18  5:01 ` [spp] [PATCH 2/3] spp_mirror: " yasufum.o
2019-07-18  5:01 ` [spp] [PATCH 3/3] spp_pcap: " yasufum.o

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).