[dpdk-dev] [PATCH 1/4] net/failsafe: replace local device with shared data
Thomas Monjalon
thomas at monjalon.net
Thu Feb 28 17:27:13 CET 2019
28/02/2019 16:49, Raslan Darawsheh:
> In multiprocess context, the private structure is shared between
> processes. The back reference from private to generic data was using
> a pointer to a per process eth_dev. It's now changed to a reference of
> the shared data.
>
> Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
> - struct sub_device *subs;
> + struct sub_device *subs; /* shared between processes */
I think this comment would have more sense if added in patch 3
which is about subdev.
Sorry for nitpicking ;)
More information about the dev
mailing list