Changeset 75e088f
- Timestamp:
- 02/05/15 19:14:33 (6 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:
- 368a1ae
- Parents:
- 04bf7c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_dpdk.c
r1960910 r75e088f 201 201 */ 202 202 203 /* Print verbose messages to std out*/204 #define DEBUG 1203 /* Print verbose messages to stderr */ 204 #define DEBUG 0 205 205 206 206 /* Use clock_gettime() for nanosecond resolution rather than gettimeofday() … … 351 351 if (format_data->nb_blacklist >= sizeof (format_data->blacklist) 352 352 / sizeof (format_data->blacklist[0])) { 353 printf("Warning: too many devices to blacklist consider"353 fprintf(stderr, "Warning: too many devices to blacklist consider" 354 354 " increasing BLACK_LIST_SIZE"); 355 355 break; … … 625 625 if (my_cpu < 0) { 626 626 /* If we can assign to a core on the same numa node */ 627 printf("Using pci card on numa_node%d\n", format_data->nic_numa_node);627 fprintf(stderr, "Using pci card on numa_node%d\n", format_data->nic_numa_node); 628 628 if(format_data->nic_numa_node >= 0) { 629 629 int max_node_cpu = -1; … … 735 735 struct rte_eth_dev_info dev_info; 736 736 rte_eth_dev_info_get(0, &dev_info); 737 printf("Device port=0\n\tmin_rx_bufsize=%d\n\tmax_rx_pktlen=%d\n\tmax rx queues=%d\n\tmax tx queues=%d",737 fprintf(stderr, "Device port=0\n\tmin_rx_bufsize=%d\n\tmax_rx_pktlen=%d\n\tmax rx queues=%d\n\tmax tx queues=%d", 738 738 (int) dev_info.min_rx_bufsize, (int) dev_info.max_rx_pktlen, (int) dev_info.max_rx_queues, (int) dev_info.max_tx_queues); 739 739 … … 1206 1206 */ 1207 1207 #if DEBUG 1208 printf("Creating mempool named %s\n", format_data->mempool_name);1208 fprintf(stderr, "Creating mempool named %s\n", format_data->mempool_name); 1209 1209 #endif 1210 1210 format_data->pktmbuf_pool = … … 1243 1243 } 1244 1244 #if DEBUG 1245 printf("Doing dev configure\n");1245 fprintf(stderr, "Doing dev configure\n"); 1246 1246 #endif 1247 1247 /* Initialise the TX queue a minimum value if using this port for … … 1259 1259 for (i=0; i < rx_queues; i++) { 1260 1260 #if DEBUG 1261 printf("Doing queue configure\n");1261 fprintf(stderr, "Doing queue configure\n"); 1262 1262 #endif 1263 1263
Note: See TracChangeset
for help on using the changeset viewer.