Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next...
[linux-2.6-microblaze.git] / drivers / net / ethernet / intel / ice / ice_ethtool.c
index 4efa5e5..a6fff8e 100644 (file)
@@ -1293,7 +1293,7 @@ static int ice_set_priv_flags(struct net_device *netdev, u32 flags)
         * promiscuous mode because it's not supported
         */
        if (test_bit(ICE_FLAG_VF_TRUE_PROMISC_ENA, change_flags) &&
-           ice_is_any_vf_in_promisc(pf)) {
+           ice_is_any_vf_in_unicast_promisc(pf)) {
                dev_err(dev, "Changing vf-true-promisc-support flag while VF(s) are in promiscuous mode not supported\n");
                /* toggle bit back to previous state */
                change_bit(ICE_FLAG_VF_TRUE_PROMISC_ENA, pf->flags);