net/ice: fix promiscuous mode
authorYing A Wang <ying.a.wang@intel.com>
Wed, 17 Apr 2019 01:47:52 +0000 (09:47 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:54 +0000 (14:51 +0200)
commitec8e7598bbf4924a932ac1ed168cf723468448d4
treec3704e9125f026b1353e125d73c69fd42864e583
parent6ff04bc5cfa48a1b1841874769e092b967f04f2d
net/ice: fix promiscuous mode

When device promiscuous mode has already been enabled,
should not return error if user re-enable it.

Fixes: c945e4bf9063 ("net/ice: support promiscuous mode")
Cc: stable@dpdk.org
Signed-off-by: Ying A Wang <ying.a.wang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/ice_ethdev.c