net/failsafe: add flexible device definition
authorGaetan Rivet <gaetan.rivet@6wind.com>
Tue, 18 Jul 2017 12:48:16 +0000 (14:48 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Jul 2017 13:25:42 +0000 (16:25 +0300)
commita0194d828100ecf549763d1a80f08cc61275840f
tree21c553723103134aea26e0b34391404015fc7388
parentebea83f899d8739e7143209e7575aa97f4f3ab08
net/failsafe: add flexible device definition

Add the "exec" device type.
The parameters given to this type of device will be executed in a shell.
The output of this command is then used as a definition for a device.

That command can be re-interpreted if the related device is not
plugged-in. It allows for a device definition to react to system
changes (e.g. changing PCI bus for a given device).

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Acked-by: Olga Shern <olgas@mellanox.com>
doc/guides/nics/fail_safe.rst
drivers/net/failsafe/failsafe_args.c
drivers/net/failsafe/failsafe_ether.c
drivers/net/failsafe/failsafe_private.h