net/cnxk: add TM shaper and node operations
[dpdk.git] / drivers / net / failsafe / failsafe.c
index 8216063..b87c036 100644 (file)
@@ -260,10 +260,8 @@ fs_eth_dev_create(struct rte_vdev_device *vdev)
                if (i == priv->subs_tail)
                        rte_eth_random_addr(&mac->addr_bytes[0]);
        }
-       INFO("MAC address is %02x:%02x:%02x:%02x:%02x:%02x",
-               mac->addr_bytes[0], mac->addr_bytes[1],
-               mac->addr_bytes[2], mac->addr_bytes[3],
-               mac->addr_bytes[4], mac->addr_bytes[5]);
+       INFO("MAC address is " RTE_ETHER_ADDR_PRT_FMT,
+               RTE_ETHER_ADDR_BYTES(mac));
        dev->data->dev_flags |= RTE_ETH_DEV_INTR_LSC |
                                RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
        PRIV(dev)->intr_handle = (struct rte_intr_handle){