- Timestamp:
- 03/30/15 14:04:51 (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:
- dfbdda7a
- Parents:
- d3849c7
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_dpdk.c
r915b93c r773a2a3 678 678 format_data->nic_numa_node = pci_to_numa(&use_addr); 679 679 if (my_cpu < 0) { 680 #if DEBUG 680 681 /* If we can assign to a core on the same numa node */ 681 682 fprintf(stderr, "Using pci card on numa_node%d\n", format_data->nic_numa_node); 683 #endif 682 684 if(format_data->nic_numa_node >= 0) { 683 685 int max_node_cpu = -1; … … 708 710 } 709 711 710 /* Make our mask with all cores turned on this is so that DPDK to711 * gets CPU infoolder versions */712 /* Make our mask with all cores turned on this is so that DPDK 713 * gets all CPU info in older versions */ 712 714 snprintf(cpu_number, sizeof(cpu_number), "%x", ~(UINT32_MAX<<MIN(31, nb_cpu))); 713 715 //snprintf(cpu_number, sizeof(cpu_number), "%x", 0x1 << (my_cpu - 1)); … … 789 791 return -1; 790 792 } 791 792 struct rte_eth_dev_info dev_info;793 rte_eth_dev_info_get(0, &dev_info);794 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",795 (int) dev_info.min_rx_bufsize, (int) dev_info.max_rx_pktlen, (int) dev_info.max_rx_queues, (int) dev_info.max_tx_queues);796 793 797 794 return 0; -
lib/format_linux_common.c
r9d89626 r773a2a3 633 633 struct linux_per_stream_t empty_stream = ZERO_LINUX_STREAM; 634 634 635 printf("Calling native pstart packet\n");636 635 for (i = 0; i < tot; ++i) 637 636 {
Note: See TracChangeset
for help on using the changeset viewer.