examples: remove extra new line after link duplex
This patch removes extra 'new line' in few app examples. Fixes:d3641ae863
("examples: update link status checks") Fixes:387259bd6c
("examples/l2fwd-crypto: add sample application") Fixes:4ff457986f
("examples/l2fwd-event: add default poll mode routines") Fixes:e64833f227
("examples/l2fwd-keepalive: add sample application") Fixes:204896f8d6
("examples/l2fwd-jobstats: add new example") Fixes:c8e6ceeceb
("examples/ioat: add new sample app for ioat driver") Fixes:cc8f4d020c
("examples/ip_reassembly: initial import") Fixes:d299106e8e
("examples/ipsec-secgw: add IPsec sample application") Fixes:39aad0e88c
("examples/flow_distributor: new example to demonstrate EFD") Fixes:d48415e1fe
("examples/performance-thread: add l3fwd-thread app") Fixes:20c78ac9ee
("examples/vm_power_mgr: add port initialisation") Fixes:361b2e9559
("acl: new sample l3fwd-acl") Fixes:de3cfa2c98
("sched: initial import") Fixes:d7937e2e3d
("power: initial import") Fixes:3fc5ca2f63
("kni: initial import") Cc: stable@dpdk.org Signed-off-by: Ivan Dyukov <i.dyukov@samsung.com>
This commit is contained in:
parent
a357d09d54
commit
c81e3f21d1
|
@ -718,7 +718,7 @@ check_link_status(uint32_t port_mask)
|
|||
"Port %d Link Up. Speed %u Mbps - %s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
link_status = 1;
|
||||
} else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
|
|
|
@ -617,7 +617,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||
"Port%d Link Up .Speed %u Mbps - %s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
continue;
|
||||
|
|
|
@ -736,7 +736,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||
"Port%d Link Up. Speed %u Mbps - %s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
continue;
|
||||
|
|
|
@ -1799,7 +1799,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||
"Port%d Link Up - speed %u Mbps -%s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
continue;
|
||||
|
|
|
@ -596,7 +596,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||
"Port%d Link Up. Speed %u Mbps - %s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
continue;
|
||||
|
|
|
@ -683,7 +683,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||
"Port%d Link Up - speed %uMbps - %s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
continue;
|
||||
|
|
|
@ -1756,7 +1756,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||
"Port%d Link Up. Speed %u Mbps - %s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
continue;
|
||||
|
|
|
@ -394,7 +394,7 @@ check_all_ports_link_status(struct l2fwd_resources *rsrc,
|
|||
"Port%d Link Up. Speed %u Mbps - %s\n",
|
||||
port_id, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", port_id);
|
||||
continue;
|
||||
|
|
|
@ -710,7 +710,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||
"Port%d Link Up. Speed %u Mbps - %s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
continue;
|
||||
|
|
|
@ -475,7 +475,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||
"Port%d Link Up. Speed %u Mbps - %s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
continue;
|
||||
|
|
|
@ -478,7 +478,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||
"Port%d Link Up. Speed %u Mbps - %s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
continue;
|
||||
|
|
|
@ -1839,7 +1839,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||
"Port%d Link Up. Speed %u Mbps %s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
continue;
|
||||
|
|
|
@ -1969,7 +1969,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||
"Mbps - %s\n", (uint8_t)portid,
|
||||
(unsigned)link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n",
|
||||
(uint8_t)portid);
|
||||
|
|
|
@ -838,7 +838,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||
"Port%d Link Up. Speed %u Mbps -%s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
continue;
|
||||
|
|
|
@ -500,7 +500,7 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask)
|
|||
"Port%d Link Up. Speed %u Mbps - %s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
continue;
|
||||
|
|
|
@ -209,7 +209,7 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask)
|
|||
"Mbps - %s\n", ports->id[portid],
|
||||
(unsigned)link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n",
|
||||
(uint8_t)ports->id[portid]);
|
||||
|
|
|
@ -389,7 +389,7 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask)
|
|||
"Port%d Link Up. Speed %u Mbps - %s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
continue;
|
||||
|
|
|
@ -3457,7 +3457,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||
"Port%d Link Up. Speed %u Mbps - %s\n",
|
||||
portid, link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n", portid);
|
||||
continue;
|
||||
|
|
|
@ -164,7 +164,7 @@ app_init_port(uint16_t portid, struct rte_mempool *mp)
|
|||
printf(" Link Up - speed %u Mbps - %s\n",
|
||||
(uint32_t) link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
} else {
|
||||
printf(" Link Down\n");
|
||||
}
|
||||
|
|
|
@ -272,7 +272,7 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask)
|
|||
info->id[portid],
|
||||
link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n",
|
||||
info->id[portid]);
|
||||
|
|
|
@ -272,7 +272,7 @@ check_all_ports_link_status(uint32_t port_mask)
|
|||
"Mbps - %s\n", (uint16_t)portid,
|
||||
(unsigned int)link.link_speed,
|
||||
(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
|
||||
("full-duplex") : ("half-duplex\n"));
|
||||
("full-duplex") : ("half-duplex"));
|
||||
else
|
||||
printf("Port %d Link Down\n",
|
||||
(uint16_t)portid);
|
||||
|
|
Loading…
Reference in a new issue