]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/netvsc/hn_vf.c
ethdev: change allmulticast callbacks to return status
[dpdk.git] / drivers / net / netvsc / hn_vf.c
index 5ae4dc97961189ed0bb5c1b5261ca41d4ca37d75..7a3734cadfa492cb00d49946d8ac2c8d2b7662fc 100644 (file)
@@ -400,14 +400,14 @@ int hn_vf_stats_reset(struct rte_eth_dev *dev)
        VF_ETHDEV_FUNC_RET_STATUS(dev, rte_eth_stats_reset);
 }
 
-void hn_vf_allmulticast_enable(struct rte_eth_dev *dev)
+int hn_vf_allmulticast_enable(struct rte_eth_dev *dev)
 {
-       VF_ETHDEV_FUNC(dev, rte_eth_allmulticast_enable);
+       VF_ETHDEV_FUNC_RET_STATUS(dev, rte_eth_allmulticast_enable);
 }
 
-void hn_vf_allmulticast_disable(struct rte_eth_dev *dev)
+int hn_vf_allmulticast_disable(struct rte_eth_dev *dev)
 {
-       VF_ETHDEV_FUNC(dev, rte_eth_allmulticast_disable);
+       VF_ETHDEV_FUNC_RET_STATUS(dev, rte_eth_allmulticast_disable);
 }
 
 int hn_vf_promiscuous_enable(struct rte_eth_dev *dev)