Re: [dpdk-dev] [PATCH v4 06/12] net/failsafe: add flexible device definition

2017-06-01 Thread Gaƫtan Rivet
On Wed, May 31, 2017 at 08:19:36AM -0700, Stephen Hemminger wrote: > On Mon, 29 May 2017 15:42:18 +0200 > Gaetan Rivet wrote: > > > > > +- **exec()** parameter > > + > > + This parameter allows the user to provide a command to the fail-safe PMD > > to > > + execute and define a sub-device. >

Re: [dpdk-dev] [PATCH v4 06/12] net/failsafe: add flexible device definition

2017-05-31 Thread Stephen Hemminger
On Mon, 29 May 2017 15:42:18 +0200 Gaetan Rivet wrote: > > +- **exec()** parameter > + > + This parameter allows the user to provide a command to the fail-safe PMD to > + execute and define a sub-device. > + It is done within a regular shell context. > + The first line of its output is read

[dpdk-dev] [PATCH v4 06/12] net/failsafe: add flexible device definition

2017-05-29 Thread Gaetan Rivet
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 syste