Re: [dpdk-dev] [PATCH v4 4/4] app/testpmd: add isolated mode parameter

2017-06-28 Thread Wu, Jingjing
> > > > Should it block the app startup if isolated-mode setting fails? > > > > > > if isolated mode cannot be enabled on any port, that port cannot be > > > initialized and that causes testpmd to quit, at least it won't go > > > against the user's wishes > > > > If so, I prefer the isolated_mode t

Re: [dpdk-dev] [PATCH v4 4/4] app/testpmd: add isolated mode parameter

2017-06-27 Thread Thomas Monjalon
22/06/2017 03:13, Wu, Jingjing: > From: Vasily Philipov [mailto:vasi...@mellanox.com] > > From: Wu, Jingjing [mailto:jingjing...@intel.com] > > > > > > > +/* > > > > * Avoids to check link status when starting/stopping a port. > > > > */ > > > > uint8_t no_link_check = 0; /* check by default *

Re: [dpdk-dev] [PATCH v4 4/4] app/testpmd: add isolated mode parameter

2017-06-25 Thread Vasily Philipov
> -Original Message- > From: Wu, Jingjing [mailto:jingjing...@intel.com] > Sent: Thursday, June 22, 2017 04:13 > To: Vasily Philipov ; dev@dpdk.org > Cc: Adrien Mazarguil ; Nélio Laranjeiro > > Subject: RE: [dpdk-dev] [PATCH v4 4/4] app/testpmd: add isol

Re: [dpdk-dev] [PATCH v4 4/4] app/testpmd: add isolated mode parameter

2017-06-21 Thread Wu, Jingjing
> -Original Message- > From: Vasily Philipov [mailto:vasi...@mellanox.com] > Sent: Wednesday, June 21, 2017 5:44 PM > To: Wu, Jingjing ; dev@dpdk.org > Cc: Adrien Mazarguil ; Nélio Laranjeiro > > Subject: RE: [dpdk-dev] [PATCH v4 4/4] app/testpmd: add isol

Re: [dpdk-dev] [PATCH v4 4/4] app/testpmd: add isolated mode parameter

2017-06-21 Thread Vasily Philipov
> -Original Message- > From: Wu, Jingjing [mailto:jingjing...@intel.com] > Sent: Tuesday, June 20, 2017 04:27 > To: Vasily Philipov ; dev@dpdk.org > Cc: Adrien Mazarguil ; Nélio Laranjeiro > > Subject: RE: [dpdk-dev] [PATCH v4 4/4] app/testpmd: add isol

Re: [dpdk-dev] [PATCH v4 4/4] app/testpmd: add isolated mode parameter

2017-06-19 Thread Wu, Jingjing
> +/* > * Avoids to check link status when starting/stopping a port. > */ > uint8_t no_link_check = 0; /* check by default */ > @@ -1422,6 +1427,15 @@ static void eth_event_callback(uint8_t port_id, > if (port->need_reconfig > 0) { > port->need_reconfig = 0

[dpdk-dev] [PATCH v4 4/4] app/testpmd: add isolated mode parameter

2017-06-04 Thread Vasily Philipov
In case if --isolated-mode parameter was added to the command line the rte flow isolate action will be applied on each port before the device configuring. Providing this parameter requests isolated mode from the flow API on all ports at initialization time in order to ensure that all traffic is re