[dpdk-dev] [PATCH 0/2] add ensure consistent device data in multiprocess mode

Kerlin, MarcinX marcinx.kerlin at intel.com
Mon Aug 1 10:44:52 CEST 2016


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 at dpdk.org
> Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>;
> thomas.monjalon at 6wind.com; Kerlin, MarcinX <marcinx.kerlin at intel.com>
> 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



More information about the dev mailing list