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
/
mlx5
/
windows
/
mlx5_os.c
diff --git
a/drivers/net/mlx5/windows/mlx5_os.c
b/drivers/net/mlx5/windows/mlx5_os.c
index
7e1df1c
..
c2e4665
100644
(file)
--- a/
drivers/net/mlx5/windows/mlx5_os.c
+++ b/
drivers/net/mlx5/windows/mlx5_os.c
@@
-566,7
+566,7
@@
mlx5_dev_spawn(struct rte_device *dpdk_dev,
goto error;
}
DRV_LOG(INFO,
- "port %u MAC address is
%02x:%02x:%02x:%02x:%02x:%02x"
,
+ "port %u MAC address is
" RTE_ETHER_ADDR_PRT_FMT
,
eth_dev->data->port_id,
mac.addr_bytes[0], mac.addr_bytes[1],
mac.addr_bytes[2], mac.addr_bytes[3],