src/dpdk/drivers/net/mlx4/mlx4_ethdev.c
int
mlx4_mac_addr_set(struct rte_eth_dev *dev, struct rte_ether_addr *mac_addr)
{
	return mlx4_mac_addr_add(dev, mac_addr, 0, 0);
}
/**
 * DPDK callback to set the primary MAC address.
 *
 * @param dev
 *   Pointer to Ethernet device structure.
 * @param mac_addr
 *   MAC address to register.
 *
 * @return
 *   0 on success, negative errno value otherwise and rte_errno is set.
 */
DPDK callback to set the primary MAC address.
@param dev
Pointer to Ethernet device structure.
@param mac_addr
MAC address to register.

@return
0 on success, negative errno value otherwise and rte_errno is set.
DPDK callback to set the primary MAC address . @param dev Pointer to Ethernet device structure . @param mac_addr MAC address to register . @return 0 on success negative errno value otherwise and rte_errno is set .
int
mlx4_mac_addr_set(struct rte_eth_dev *dev, struct rte_ether_addr *mac_addr)
{
	return mlx4_mac_addr_add(dev, mac_addr, 0, 0);
}
int mlx4_mac_addr_set ( struct rte_eth_dev * dev , struct rte_ether_addr * mac_addr ) { return mlx4_mac_addr_add ( dev , mac_addr , 0 , 0 ) ; }
DPDK callback to set the primary MAC address.
DPDK callback to set the primary MAC address .