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
test: allow no-huge mode for fast-tests
[dpdk.git]
/
app
/
test
/
test_event_eth_tx_adapter.c
diff --git
a/app/test/test_event_eth_tx_adapter.c
b/app/test/test_event_eth_tx_adapter.c
index
73f6afe
..
3af7492
100644
(file)
--- a/
app/test/test_event_eth_tx_adapter.c
+++ b/
app/test/test_event_eth_tx_adapter.c
@@
-85,7
+85,9
@@
port_init_common(uint8_t port, const struct rte_eth_conf *port_conf,
/* Display the port MAC address. */
struct rte_ether_addr addr;
/* Display the port MAC address. */
struct rte_ether_addr addr;
- rte_eth_macaddr_get(port, &addr);
+ retval = rte_eth_macaddr_get(port, &addr);
+ if (retval < 0)
+ return retval;
printf("Port %u MAC: %02" PRIx8 " %02" PRIx8 " %02" PRIx8
" %02" PRIx8 " %02" PRIx8 " %02" PRIx8 "\n",
(unsigned int)port,
printf("Port %u MAC: %02" PRIx8 " %02" PRIx8 " %02" PRIx8
" %02" PRIx8 " %02" PRIx8 " %02" PRIx8 "\n",
(unsigned int)port,