]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/szedata2/rte_eth_szedata2.c
net/ice/base: add hook to send AdminQ command
[dpdk.git] / drivers / net / szedata2 / rte_eth_szedata2.c
index 0f1ff04c9c95d0bf44633981724a5b7973213c3c..821bb346c31080d0926f54b160aac37d78014294 100644 (file)
@@ -1362,16 +1362,18 @@ eth_promiscuous_disable(struct rte_eth_dev *dev __rte_unused)
        return -ENOTSUP;
 }
 
-static void
+static int
 eth_allmulticast_enable(struct rte_eth_dev *dev __rte_unused)
 {
        PMD_DRV_LOG(WARNING, "Enabling allmulticast mode is not supported.");
+       return -ENOTSUP;
 }
 
-static void
+static int
 eth_allmulticast_disable(struct rte_eth_dev *dev __rte_unused)
 {
        PMD_DRV_LOG(WARNING, "Disabling allmulticast mode is not supported.");
+       return -ENOTSUP;
 }
 
 static const struct eth_dev_ops ops = {