numam-dpdk/drivers/net/nfp
Heinrich Kuhn 0b3c74b9f7 net/nfp: fix multi-process PF probing
This patch creates a new function for handling PF probing of a secondary
process. A CPP handle is obtained for the CPP bridge service and the
service itself is also registered during secondary process
initialization. DPDK services aren't shared between processes so it is
not enough to only have the primary register the service if it is also
needed in a secondary process. This implies that both the primary and
secondary will have their own copy of the bridge service.

Fixes: 5e15e799d6 ("net/nfp: create separate entity for PF device")
Cc: stable@dpdk.org

Signed-off-by: Heinrich Kuhn <heinrich.kuhn@netronome.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
2021-07-02 19:03:03 +02:00
..
nfpcore drivers/net: redefine array size macros 2021-02-22 18:08:08 +01:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
nfp_net_ctrl.h net/nfp: replace license text with SPDX tag 2019-11-28 02:12:41 +01:00
nfp_net_logs.h net/nfp: replace license text with SPDX tag 2019-11-28 02:12:41 +01:00
nfp_net_pmd.h net/nfp: improve PF probing logic 2021-07-02 19:03:03 +02:00
nfp_net.c net/nfp: fix multi-process PF probing 2021-07-02 19:03:03 +02:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00