Re: [dpdk-dev] [PATCH v7 03/11] net/failsafe: add fail-safe PMD

2017-07-09 Thread Thomas Monjalon
09/07/2017 03:47, Gaetan Rivet: > +#. Start testpmd > + > + .. code-block:: console > + > + $RTE_TARGET/build/app/testpmd -c 0xff -n 4 --no-pci \ > + > --vdev='net_failsafe0,mac=de:ad:be:ef:01:02,dev(84:00.0),dev(net_ring0,nodeaction=r1:0:CREATE)' > -- \ > + -i It cannot w

Re: [dpdk-dev] [PATCH v7 03/11] net/failsafe: add fail-safe PMD

2017-07-09 Thread Gaƫtan Rivet
On Sun, Jul 09, 2017 at 07:10:49AM -0400, Jan Blunck wrote: > On Sat, Jul 8, 2017 at 9:47 PM, Gaetan Rivet wrote: > > +static int > > +fs_parse_device(struct sub_device *sdev, char *args) > > +{ > > + struct rte_devargs *d; > > + int ret; > > + > > + d = &sdev->devargs; > > +

Re: [dpdk-dev] [PATCH v7 03/11] net/failsafe: add fail-safe PMD

2017-07-09 Thread Jan Blunck
On Sat, Jul 8, 2017 at 9:47 PM, Gaetan Rivet wrote: > 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 Ethern

[dpdk-dev] [PATCH v7 03/11] net/failsafe: add fail-safe PMD

2017-07-08 Thread Gaetan Rivet
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