[dpdk-dev] [PATCH v2 1/2] ethdev: add check for device promiscuous state

Andrew Rybchenko arybchenko at solarflare.com
Tue Oct 22 09:03:52 CEST 2019


On 10/21/19 3:22 PM, Ciara Power wrote:
> The promiscuous enable and disable functions now check the
> promiscuous state of the device before checking if the dev_ops
> function exists for the device.
>
> This change is necessary to allow sample applications run on
> virtual PMDs, as previously -ENOTSUP returned when the promiscuous
> enable function was called. This caused the sample application to
> fail unnecessarily.
>
> Signed-off-by: Ciara Power <ciara.power at intel.com>

Many thanks,
Reviewed-by: Andrew Rybchenko <arybchenko at solarflare.com>



More information about the dev mailing list