net/iavf: fix QFI fields of GTPU UL/DL for flow director
[dpdk.git] / drivers / net / mlx4 / mlx4.c
index 2b17bfa..7f9f300 100644 (file)
@@ -1015,10 +1015,7 @@ err_secondary:
                        goto port_error;
                }
                INFO("port %u MAC address is " RTE_ETHER_ADDR_PRT_FMT,
-                    priv->port,
-                    mac.addr_bytes[0], mac.addr_bytes[1],
-                    mac.addr_bytes[2], mac.addr_bytes[3],
-                    mac.addr_bytes[4], mac.addr_bytes[5]);
+                    priv->port, RTE_ETHER_ADDR_BYTES(&mac));
                /* Register MAC address. */
                priv->mac[0] = mac;