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

Ferruh Yigit ferruh.yigit at intel.com
Mon Oct 21 20:39:58 CEST 2019


On 10/21/2019 1: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>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

@Andrew, any concern/objection on the patch?



More information about the dev mailing list