Changeset 17a3dff for lib/format_dpdk.c
- Timestamp:
- 04/26/14 23:23:17 (8 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:
- 5ce14a5
- Parents:
- 60e8e86
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_dpdk.c
r29bbef0 r17a3dff 827 827 return 0; 828 828 } 829 int mapper_start(void *data); // This actually a void*830 829 831 830 /* Attach memory to the port and start the port or restart the ports. … … 967 966 // Can use remote launch for all 968 967 /*RTE_LCORE_FOREACH_SLAVE(i) { 969 rte_eal_remote_launch( mapper_start, (void *)libtrace, i);968 rte_eal_remote_launch(perpkt_threads_entry, (void *)libtrace, i); 970 969 }*/ 971 970 … … 996 995 char err[500]; 997 996 int enabled_lcore_count = 0, i=0; 998 int tot = libtrace-> mapper_thread_count;997 int tot = libtrace->perpkt_thread_count; 999 998 err[0] = 0; 1000 999 1001 libtrace-> mapper_thread_count;1000 libtrace->perpkt_thread_count; 1002 1001 1003 1002 for (i = 0; i < RTE_MAX_LCORE; i++) … … 1007 1006 } 1008 1007 1009 tot = MIN(libtrace-> mapper_thread_count, enabled_lcore_count);1008 tot = MIN(libtrace->perpkt_thread_count, enabled_lcore_count); 1010 1009 tot = MIN(tot, 8); 1011 printf("Running pstart DPDK %d %d %d %d\n", tot, libtrace-> mapper_thread_count, enabled_lcore_count, rte_lcore_count());1010 printf("Running pstart DPDK %d %d %d %d\n", tot, libtrace->perpkt_thread_count, enabled_lcore_count, rte_lcore_count()); 1012 1011 1013 1012 if (dpdk_start_port_queues(libtrace, FORMAT(libtrace), err, sizeof(err), tot) != 0) {
Note: See TracChangeset
for help on using the changeset viewer.