git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: add macro for MAC address print
[dpdk.git]
/
drivers
/
net
/
mlx4
/
mlx4.c
diff --git
a/drivers/net/mlx4/mlx4.c
b/drivers/net/mlx4/mlx4.c
index
c522157
..
2b17bfa
100644
(file)
--- a/
drivers/net/mlx4/mlx4.c
+++ b/
drivers/net/mlx4/mlx4.c
@@
-1014,7
+1014,7
@@
err_secondary:
" (error: %s)", strerror(err));
goto port_error;
}
" (error: %s)", strerror(err));
goto port_error;
}
- INFO("port %u MAC address is
%02x:%02x:%02x:%02x:%02x:%02x"
,
+ 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],
priv->port,
mac.addr_bytes[0], mac.addr_bytes[1],
mac.addr_bytes[2], mac.addr_bytes[3],