app: remove extra new line after link duplex
This is testpmd part of new line cleanup. Fixes:002ade70e9
("app/test: measure cycles per packet in Rx/Tx") Fixes:ce8d561418
("app/testpmd: add port configuration settings") Cc: stable@dpdk.org Signed-off-by: Ivan Dyukov <i.dyukov@samsung.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
This commit is contained in:
parent
9036180f61
commit
a357d09d54
@ -3012,7 +3012,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||||||
"Port%d Link Up. speed %u Mbps- %s\n",
|
"Port%d Link Up. speed %u Mbps- %s\n",
|
||||||
portid, link.link_speed,
|
portid, link.link_speed,
|
||||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||||
("full-duplex") : ("half-duplex\n"));
|
("full-duplex") : ("half-duplex"));
|
||||||
else
|
else
|
||||||
printf("Port %d Link Down\n", portid);
|
printf("Port %d Link Down\n", portid);
|
||||||
continue;
|
continue;
|
||||||
|
@ -151,7 +151,7 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask)
|
|||||||
"Port%d Link Up. Speed %u Mbps - %s\n",
|
"Port%d Link Up. Speed %u Mbps - %s\n",
|
||||||
portid, link.link_speed,
|
portid, link.link_speed,
|
||||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||||
("full-duplex") : ("half-duplex\n"));
|
("full-duplex") : ("half-duplex"));
|
||||||
if (link_mbps == 0)
|
if (link_mbps == 0)
|
||||||
link_mbps = link.link_speed;
|
link_mbps = link.link_speed;
|
||||||
} else
|
} else
|
||||||
|
Loading…
Reference in New Issue
Block a user