DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/2] add ensure consistent device data in multiprocess mode
@ 2016-07-29 15:56 Marcin Kerlin
  2016-07-29 15:56 ` [dpdk-dev] [PATCH 1/2] lib/librte_ether: ensure not overwrite device data Marcin Kerlin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Marcin Kerlin @ 2016-07-29 15:56 UTC (permalink / raw)
  To: dev; +Cc: pablo.de.lara.guarch, thomas.monjalon, Marcin Kerlin

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

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

end of thread, other threads:[~2016-08-01  8:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-29 15:56 [dpdk-dev] [PATCH 0/2] add ensure consistent device data in multiprocess mode Marcin Kerlin
2016-07-29 15:56 ` [dpdk-dev] [PATCH 1/2] lib/librte_ether: ensure not overwrite device data Marcin Kerlin
2016-07-29 15:56 ` [dpdk-dev] [PATCH 2/2] app/testpmd: fix handling of multiprocess Marcin Kerlin
2016-08-01  8:44 ` [dpdk-dev] [PATCH 0/2] add ensure consistent device data in multiprocess mode Kerlin, MarcinX

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