net/failsafe: add fail-safe PMD
authorGaetan Rivet <gaetan.rivet@6wind.com>
Tue, 18 Jul 2017 12:48:14 +0000 (14:48 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Jul 2017 13:25:42 +0000 (16:25 +0300)
commita46f8d584eb88feb2a05ca3459d4a00b7d7654aa
tree484c323e73496155fd5d422a18690840f336f58c
parentd1fe33bfc7979b13b3ac39f7cbd114b1fc4ee52c
net/failsafe: add fail-safe PMD

Introduce the fail-safe poll mode driver initialization and enable its
build infrastructure.

This PMD allows for applications to benefit from true hot-plugging
support without having to implement it.

It intercepts and manages Ethernet device removal events issued by
slave PMDs and re-initializes them transparently when brought back.
It also allows defining a contingency to the removal of a device, by
designating a fail-over device that will take on transmitting operations
if the preferred device is removed.

Applications only see a fail-safe instance, without caring for
underlying activity ensuring their continued operations.

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Acked-by: Olga Shern <olgas@mellanox.com>
15 files changed:
MAINTAINERS
config/common_base
doc/guides/nics/fail_safe.rst [new file with mode: 0644]
doc/guides/nics/features/failsafe.ini [new file with mode: 0644]
doc/guides/nics/index.rst
drivers/net/Makefile
drivers/net/failsafe/Makefile [new file with mode: 0644]
drivers/net/failsafe/failsafe.c [new file with mode: 0644]
drivers/net/failsafe/failsafe_args.c [new file with mode: 0644]
drivers/net/failsafe/failsafe_eal.c [new file with mode: 0644]
drivers/net/failsafe/failsafe_ops.c [new file with mode: 0644]
drivers/net/failsafe/failsafe_private.h [new file with mode: 0644]
drivers/net/failsafe/failsafe_rxtx.c [new file with mode: 0644]
drivers/net/failsafe/rte_pmd_failsafe_version.map [new file with mode: 0644]
mk/rte.app.mk