[dpdk-dev] [PATCH v3] ethdev: add field for device data per process

Andrew Rybchenko arybchenko at solarflare.com
Mon Oct 15 14:12:13 CEST 2018


On 10/15/18 12:00 PM, Alejandro Lucero wrote:
> Primary and secondary processes share a per-device private data. With
> current design it is not possible to have data per-device per-process.
> This is required for handling properly the CPP interface inside the NFP
> PMD with multiprocess support.
>
> There is also at least another PMD driver, tap, with similar
> requirements for per-process device data.
>
> v2:
>   - changing library version
>   - report shared library change in release notes
>
> v3:
>   - fix shared library version
>
> Signed-off-by: Alejandro Lucero <alejandro.lucero at netronome.com>
> ---
>   doc/guides/rel_notes/release_18_11.rst | 1 +
>   lib/librte_ethdev/Makefile             | 2 +-
>   lib/librte_ethdev/meson.build          | 2 +-
>   lib/librte_ethdev/rte_ethdev_core.h    | 8 +++++++-
>   4 files changed, 10 insertions(+), 3 deletions(-)
>
> diff --git a/doc/guides/rel_notes/release_18_11.rst b/doc/guides/rel_notes/release_18_11.rst
> index c806dc6..8b2ccad 100644
> --- a/doc/guides/rel_notes/release_18_11.rst
> +++ b/doc/guides/rel_notes/release_18_11.rst
> @@ -189,6 +189,7 @@ Shared Library Versions
>        librte_acl.so.2
>      + librte_cfgfile.so.2
>        librte_cmdline.so.2
> +   + librte_ethdev.so.11
>   
>      This section is a comment. Do not overwrite or remove it.
>      =========================================================

It is still wrong place. There is librte_ethdev.so.10 few lines below.
It should be updated to add + sign and change version to 11.

<...>


More information about the dev mailing list