Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [PATCH 0/2] Remove global variable g_main_lcore_id
@ 2019-06-26  5:36 yasufum.o
  2019-06-26  5:36 ` [spp] [PATCH 1/2] shared/sec: remove global master lcore ID yasufum.o
  2019-06-26  5:36 ` [spp] [PATCH 2/2] spp_pcap: " yasufum.o
  0 siblings, 2 replies; 3+ messages in thread
From: yasufum.o @ 2019-06-26  5:36 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

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

Master lcore ID is managed in SPP worker processes, but it can be
retrieved with rte_get_master_lcore(). This series of update is to
remove global `g_main_lcore_id` and change to use this function instead.

Yasufumi Ogawa (2):
  shared/sec: remove global master lcore ID
  spp_pcap: remove global master lcore ID

 src/mirror/spp_mirror.c                       | 44 ++++++---------
 src/pcap/cmd_utils.c                          | 13 ++---
 src/pcap/cmd_utils.h                          |  4 +-
 src/pcap/spp_pcap.c                           | 51 ++++++++---------
 .../secondary/spp_worker_th/cmd_utils.c       | 13 ++---
 .../secondary/spp_worker_th/cmd_utils.h       |  4 +-
 src/vf/spp_vf.c                               | 55 ++++++++-----------
 7 files changed, 80 insertions(+), 104 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2019-06-26  5:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-26  5:36 [spp] [PATCH 0/2] Remove global variable g_main_lcore_id yasufum.o
2019-06-26  5:36 ` [spp] [PATCH 1/2] shared/sec: remove global master lcore ID yasufum.o
2019-06-26  5:36 ` [spp] [PATCH 2/2] 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).