Changeset 773a2a3


Ignore:
Timestamp:
03/30/15 14:04:51 (6 years ago)
Author:
Richard Sanger <rsangerarj@…>
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
Message:

Remove debug prints from dpdk and int/ring

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/format_dpdk.c

    r915b93c r773a2a3  
    678678        format_data->nic_numa_node = pci_to_numa(&use_addr);
    679679        if (my_cpu < 0) {
     680#if DEBUG
    680681                /* If we can assign to a core on the same numa node */
    681682                fprintf(stderr, "Using pci card on numa_node%d\n", format_data->nic_numa_node);
     683#endif
    682684                if(format_data->nic_numa_node >= 0) {
    683685                        int max_node_cpu = -1;
     
    708710        }
    709711
    710         /* Make our mask with all cores turned on this is so that DPDK to
    711          * gets CPU info older versions */
     712        /* Make our mask with all cores turned on this is so that DPDK
     713         * gets all CPU info in older versions */
    712714        snprintf(cpu_number, sizeof(cpu_number), "%x", ~(UINT32_MAX<<MIN(31, nb_cpu)));
    713715        //snprintf(cpu_number, sizeof(cpu_number), "%x", 0x1 << (my_cpu - 1));
     
    789791                return -1;
    790792        }
    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);
    796793
    797794        return 0;
  • lib/format_linux_common.c

    r9d89626 r773a2a3  
    633633        struct linux_per_stream_t empty_stream = ZERO_LINUX_STREAM;
    634634
    635         printf("Calling native pstart packet\n");
    636635        for (i = 0; i < tot; ++i)
    637636        {
Note: See TracChangeset for help on using the changeset viewer.