]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx4/mlx4.h
ethdev: return diagnostic when setting MAC address
[dpdk.git] / drivers / net / mlx4 / mlx4.h
index d656a68ea6d674828c52fe5f2f05d260f7c0327a..45846554b90fba4f745ab5f0743cf62d67878d5e 100644 (file)
@@ -132,7 +132,7 @@ void mlx4_allmulticast_disable(struct rte_eth_dev *dev);
 void mlx4_mac_addr_remove(struct rte_eth_dev *dev, uint32_t index);
 int mlx4_mac_addr_add(struct rte_eth_dev *dev, struct ether_addr *mac_addr,
                      uint32_t index, uint32_t vmdq);
-void mlx4_mac_addr_set(struct rte_eth_dev *dev, struct ether_addr *mac_addr);
+int mlx4_mac_addr_set(struct rte_eth_dev *dev, struct ether_addr *mac_addr);
 int mlx4_vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on);
 int mlx4_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats);
 void mlx4_stats_reset(struct rte_eth_dev *dev);