The suggested API rte_ether_format_addr() was added to v2
> -----Original Message----- > From: Stephen Hemminger <step...@networkplumber.org> > Sent: Wednesday, May 27, 2020 7:41 PM > To: Ophir Munk <ophi...@mellanox.com> > Cc: dev@dpdk.org; Matan Azrad <ma...@mellanox.com> > Subject: Re: [dpdk-dev] [PATCH v1 2/3] common/mlx5: move netlink files > under Linux directory > > On Wed, 27 May 2020 16:14:24 +0000 > Ophir Munk <ophi...@mellanox.com> wrote: > > > + DRV_LOG(DEBUG, > > + "Interface %u cannot %s MAC address" > > + " %02X:%02X:%02X:%02X:%02X:%02X %s", > > + iface_idx, > > + add ? "add" : "remove", > > + mac->addr_bytes[0], mac->addr_bytes[1], > > + mac->addr_bytes[2], mac->addr_bytes[3], > > + mac->addr_bytes[4], mac->addr_bytes[5], > > There is a rte_ether_format_addr() for this.