Re: [dpdk-dev] [PATCH v3 15/16] net/avp: device start and stop operations

2017-03-09 Thread Legacy, Allain
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > The second goto is unnecessary. Ok. Will remove.

Re: [dpdk-dev] [PATCH v3 15/16] net/avp: device start and stop operations

2017-03-01 Thread Stephen Hemminger
On Wed, 1 Mar 2017 19:20:07 -0500 Allain Legacy wrote: > + > +static void > +avp_dev_close(struct rte_eth_dev *eth_dev) > +{ > + struct avp_dev *avp = AVP_DEV_PRIVATE_TO_HW(eth_dev->data->dev_private); > + int ret; > + > + rte_spinlock_lock(&avp->lock); > + if (avp->flags & AVP_F_

[dpdk-dev] [PATCH v3 15/16] net/avp: device start and stop operations

2017-03-01 Thread Allain Legacy
Adds support for device start and stop functions. This allows an application to control the administrative state of an AVP device. Stopping the device will notify the host application to stop sending packets on that device's receive queues. Signed-off-by: Allain Legacy Signed-off-by: Matt Peter