[dpdk-stable] [PATCH v3 0/1] fbarray: get fbarrays from containerized secondary

yasufum.o at gmail.com yasufum.o at gmail.com
Thu Jul 11 12:31:47 CEST 2019


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

In secondary_msl_create_walk(), it creates a file for fbarrays with its
PID for reserving unique name among secondary processes. However, it
does not work if secondary is run as app container because each of
containerized secondary has PID 1. To reserve unique name, use hostname
instead of PID because hostname is assigned as a short form of 64
digits full container ID in docker.

---
v2:
  * fix typo in commit message
v3:
  * add fclose() after if getting hostname with fscan() is failed
---

Yasufumi Ogawa (1):
  fbarray: get fbarrays from containerized secondary

 lib/librte_eal/linux/eal/eal_memalloc.c | 28 +++++++++++++++++++++++--
 1 file changed, 26 insertions(+), 2 deletions(-)

-- 
2.17.1



More information about the stable mailing list