ethdev: change promiscuous callbacks to return status
[dpdk.git] / drivers / net / netvsc / hn_var.h
index e0ebe4e..01f2276 100644 (file)
@@ -214,8 +214,8 @@ void        hn_vf_close(struct rte_eth_dev *dev);
 
 void   hn_vf_allmulticast_enable(struct rte_eth_dev *dev);
 void   hn_vf_allmulticast_disable(struct rte_eth_dev *dev);
-void   hn_vf_promiscuous_enable(struct rte_eth_dev *dev);
-void   hn_vf_promiscuous_disable(struct rte_eth_dev *dev);
+int    hn_vf_promiscuous_enable(struct rte_eth_dev *dev);
+int    hn_vf_promiscuous_disable(struct rte_eth_dev *dev);
 int    hn_vf_mc_addr_list(struct rte_eth_dev *dev,
                           struct rte_ether_addr *mc_addr_set,
                           uint32_t nb_mc_addr);