Thread (4 messages) 4 messages, 1 author, 2016-08-01

Re: [PATCH 0/2] add ensure consistent device data in multiprocess mode

From: Kerlin, MarcinX <hidden>
Date: 2016-08-01 08:44:55

Self-Nack this patch because the commit log needs change.
-----Original Message-----
From: Kerlin, MarcinX
Sent: Friday, July 29, 2016 5:57 PM
To: dev@dpdk.org
Cc: De Lara Guarch, Pablo <redacted>;
thomas.monjalon@6wind.com; Kerlin, MarcinX [off-list ref]
Subject: [PATCH 0/2] add ensure consistent device data in multiprocess mode

This patch ensure not overwrite device data in the multiprocess application.

1)Changes in the library introduces continuity in device data
rte_eth_dev_data[] common for to all processes. Functionality detach cleans
data of detachable device and leaves space for other devices or for the next
run app.

2)Changes in application testpmd allow secondary process to attach the
mempool created by primary process rather than create new and in the case of
quit or force quit to free devices of this process from shared array
rte_eth_dev_data[].

Marcin Kerlin (2):
  lib/librte_ether: ensure not overwrite device data in multiprocess app
  app/testpmd: fix handling of multiprocess

 app/test-pmd/testpmd.c                 | 30 +++++++++++-
 app/test-pmd/testpmd.h                 |  1 +
 lib/librte_ether/rte_ethdev.c          | 87 ++++++++++++++++++++++++++++++---
-
 lib/librte_ether/rte_ethdev.h          | 23 +++++++++
 lib/librte_ether/rte_ether_version.map |  8 ++++
 5 files changed, 139 insertions(+), 10 deletions(-)

--
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help