ethdev: add field for device data per process
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Mon, 15 Oct 2018 14:11:02 +0000 (15:11 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 18 Oct 2018 08:24:39 +0000 (10:24 +0200)
commitdeb373fb07a1a86e3a0a7d0558ef0bbe6ac4383b
tree8702ddebee0e6a910cac0e1ddfead793b80566ba
parent621c5c1db2b1128d08cb10861b3d51217e1ea8bf
ethdev: add field for device data per process

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.

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
doc/guides/rel_notes/release_18_11.rst
lib/librte_ethdev/Makefile
lib/librte_ethdev/meson.build
lib/librte_ethdev/rte_ethdev_core.h