net/avp: add device start and stop operations
authorAllain Legacy <allain.legacy@windriver.com>
Tue, 28 Mar 2017 11:54:07 +0000 (07:54 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:02:19 +0000 (19:02 +0200)
commitea37523dbc7b71e861b468dbedb46cbfcf6bd8fb
tree5ef5f220335efb0be717cea5e2cf8e124daa7d73
parent8129545e314ec28a54ecca3d332cc50b7b387dec
net/avp: add device start and stop operations

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 <allain.legacy@windriver.com>
Signed-off-by: Matt Peters <matt.peters@windriver.com>
Acked-by: Vincent Jardin <vincent.jardin@6wind.com>
drivers/net/avp/avp_ethdev.c