- Timestamp:
- 09/04/14 16:49:43 (7 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 95364aa
- Parents:
- 704229c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_dpdk.c
r704229c r66baa54 336 336 if (global_config != NULL) { 337 337 int i; 338 printf("Intel DPDK setup\n"338 fprintf(stderr, "Intel DPDK setup\n" 339 339 "---Version : %"PRIu32"\n" 340 340 "---Magic : %"PRIu32"\n" … … 345 345 346 346 for (i = 0 ; i < nb_cpu; i++) { 347 printf(" ---Core %d : %s\n", i,347 fprintf(stderr, " ---Core %d : %s\n", i, 348 348 global_config->lcore_role[i] == ROLE_RTE ? "on" : "off"); 349 349 } … … 366 366 proc_type = "something worse than invalid!!"; 367 367 } 368 printf("---Process Type : %s\n", proc_type);368 fprintf(stderr, "---Process Type : %s\n", proc_type); 369 369 } 370 370 … … 686 686 */ 687 687 #if DEBUG 688 printf("Creating mempool named %s\n", format_data->mempool_name);688 fprintf(stderr, "Creating mempool named %s\n", format_data->mempool_name); 689 689 #endif 690 690 format_data->pktmbuf_pool = … … 764 764 rte_eth_link_get(format_data->port, &link_info); 765 765 #if DEBUG 766 printf("Link status is %d %d %d\n", (int) link_info.link_status,766 fprintf(stderr, "Link status is %d %d %d\n", (int) link_info.link_status, 767 767 (int) link_info.link_duplex, (int) link_info.link_speed); 768 768 #endif … … 805 805 if (FORMAT(libtrace)->paused == DPDK_RUNNING) { 806 806 #if DEBUG 807 printf("Pausing port\n");807 fprintf(stderr, "Pausing port\n"); 808 808 #endif 809 809 rte_eth_dev_stop(FORMAT(libtrace)->port);
Note: See TracChangeset
for help on using the changeset viewer.