src/dpdk/drivers/net/mlx5/linux/mlx5_os.c
void
mlx5_os_mac_addr_flush(struct rte_eth_dev *dev)
{
	struct mlx5_priv *priv = dev->data->dev_private;

	mlx5_nl_mac_addr_flush(priv->nl_socket_route, mlx5_ifindex(dev),
			       dev->data->mac_addrs,
			       MLX5_MAX_MAC_ADDRESSES, priv->mac_own);
}
/**
 * Flush device MAC addresses
 *
 * @param dev
 *   Pointer to Ethernet device structure.
 *
 */
Flush device MAC addresses
@param dev
Pointer to Ethernet device structure.
Flush device MAC addresses @param dev Pointer to Ethernet device structure .
void
mlx5_os_mac_addr_flush(struct rte_eth_dev *dev)
{
	struct mlx5_priv *priv = dev->data->dev_private;
	mlx5_nl_mac_addr_flush(priv->nl_socket_route, mlx5_ifindex(dev),
			       dev->data->mac_addrs,
			       MLX5_MAX_MAC_ADDRESSES, priv->mac_own);
}
void mlx5_os_mac_addr_flush ( struct rte_eth_dev * dev ) { struct mlx5_priv * priv = dev -> data -> dev_private ; mlx5_nl_mac_addr_flush ( priv -> nl_socket_route , mlx5_ifindex ( dev ) , dev -> data -> mac_addrs , MLX5_MAX_MAC_ADDRESSES , priv -> mac_own ) ; }
Flush device MAC addresses
 @param dev
   Pointer to Ethernet device structure.
Flush device MAC addresses @param dev Pointer to Ethernet device structure .