[spp] [PATCH 0/2] Remove global variable g_main_lcore_id
yasufum.o at gmail.com
yasufum.o at gmail.com
Wed Jun 26 07:36:15 CEST 2019
From: Yasufumi Ogawa <yasufum.o at 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
More information about the spp
mailing list