net/qede: fix device stop to remove primary MAC
authorRasesh Mody <rasesh.mody@cavium.com>
Wed, 28 Mar 2018 00:15:54 +0000 (17:15 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:44 +0000 (14:08 +0200)
commit83ade1ebdbfc8211d3cb5c2bc282c3fa396e4a34
tree0ebdb5021cfa0ca45c83196d7be5fc2206331d3a
parent612ce81b2007e67c2b02e2dce9b25e8fb8639991
net/qede: fix device stop to remove primary MAC

This fix is to remove primary MAC filter during dev stop. Without the
fix device start attempt to add the primary MAC fails. Perform MAC set
remove under IS_PF() check.

Fixes: dd28bc8c6ef4 ("net/qede: fix VF port creation sequence")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/qede_ethdev.c