numam-dpdk/drivers/net/sfc
Andrew Rybchenko ba641f2076 net/sfc: add init on attach
The setup and configuration of the PMD is not performance sensitive,
but is not thread safe either. It is possible that the multiple
read/writes during PMD setup and configuration could be corrupted
in a multi-thread environment.  Since this is not performance
sensitive, the developer can choose to add their own layer to provide
thread-safe setup and configuration. It is expected that, in most
applications, the initial configuration of the network ports would be
done by a single thread at startup.

In the case of exception on the event queue, the event queue and
corresponding Rx/Tx queue should be restarted in the Rx/Tx queue
polling context. These operations require access to the device
control which should be serialized. The device level lock will do
the job.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-01-17 19:39:26 +01:00
..
base net/sfc/base: import libefx licensing 2017-01-17 19:39:26 +01:00
efsys.h net/sfc: build libefx 2017-01-17 19:39:26 +01:00
Makefile net/sfc: add init on attach 2017-01-17 19:39:26 +01:00
rte_pmd_sfc_efx_version.map
sfc_debug.h net/sfc: add init on attach 2017-01-17 19:39:26 +01:00
sfc_ethdev.c net/sfc: add init on attach 2017-01-17 19:39:26 +01:00
sfc_kvargs.c
sfc_kvargs.h
sfc_log.h
sfc_mcdi.c net/sfc: add init on attach 2017-01-17 19:39:26 +01:00
sfc.c net/sfc: add init on attach 2017-01-17 19:39:26 +01:00
sfc.h net/sfc: add init on attach 2017-01-17 19:39:26 +01:00