net/qede/base: fix return code to align with FW
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 7 Oct 2017 06:31:11 +0000 (23:31 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 12 Oct 2017 00:36:58 +0000 (01:36 +0100)
commitda4ff1c39854d1c2d922c4959aac1c6fd6c182b1
tree6a9c671ebb99c5c6b1d4df1a3632b72b63c46c5e
parenteb35c732fe7c82dbf4b1115030e75a7d212350b8
net/qede/base: fix return code to align with FW

This change aligns the PF behavior with that of the L2-fw, so that flows
(to remove an incorrect MAC) for PF and VF could remain the same.

Fixes: 86a2265e59d7 ("qede: add SRIOV support")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_sriov.c