* [dpdk-users] DPDPK-PDUMP not creating rx file @ 2016-10-25 11:45 shokoofeh nobahari 2016-10-25 12:55 ` Pattan, Reshma 0 siblings, 1 reply; 4+ messages in thread From: shokoofeh nobahari @ 2016-10-25 11:45 UTC (permalink / raw) To: users Dear all I am executing DPDK 16.07 on a physical ubuntu server with 2 Intel NIC and I need to capture the traffic to pcap files so I am using pdump API. I also set CONFIG_RTE_LIBRTE_PMD_PCAP=y in common-base file in config directory of DPDK and recompile the build. dpdk-pdump is running and working but it is not creating the rx.pcap file . My command is like below: ./dpdk-pdump -c 3 -n 2 -- --pdump 'device_id=0e:00.0,queue=*,rx- dev=/tmp/rx-1-file.pcap' I will be very grateful if you can help me with this situation ! thank you all ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-users] DPDPK-PDUMP not creating rx file 2016-10-25 11:45 [dpdk-users] DPDPK-PDUMP not creating rx file shokoofeh nobahari @ 2016-10-25 12:55 ` Pattan, Reshma [not found] ` <CAE7FP1n6wQPFErRO6=c9bYOGr8+Zz=tNDBxJPOBsoOPcCmmhaQ@mail.gmail.com> 0 siblings, 1 reply; 4+ messages in thread From: Pattan, Reshma @ 2016-10-25 12:55 UTC (permalink / raw) To: shokoofeh nobahari, users Hi, > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of shokoofeh nobahari > Sent: Tuesday, October 25, 2016 12:46 PM > To: users@dpdk.org > Subject: [dpdk-users] DPDPK-PDUMP not creating rx file > > Dear all > I am executing DPDK 16.07 on a physical ubuntu server with 2 Intel NIC and I > need to capture the traffic to pcap files so I am using pdump API. > I also set CONFIG_RTE_LIBRTE_PMD_PCAP=y in common-base file in config > directory of DPDK and recompile the build. > dpdk-pdump is running and working but it is not creating the rx.pcap file . I assume you are running testpmd first and then dpdk-pdump tool, is that correct? Also I see you are using rx-dev as rx-1-file.pcap but not rx.pcap file. So you should look for file rx-1-file.pcap but not rx.pcap, or is that a typo in your sentence? > My command is like below: > > ./dpdk-pdump -c 3 -n 2 -- --pdump 'device_id=0e:00.0,queue=*,rx- dev=/tmp/rx- > 1-file.pcap' > > > I will be very grateful if you can help me with this situation ! > thank you all ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CAE7FP1n6wQPFErRO6=c9bYOGr8+Zz=tNDBxJPOBsoOPcCmmhaQ@mail.gmail.com>]
[parent not found: <3AEA2BF9852C6F48A459DA490692831F010BEC3B@IRSMSX109.ger.corp.intel.com>]
[parent not found: <CAE7FP1nxw-AfJ+UMREju7hhQy1BzBxp5yv0jttGcXX9K9fsmzA@mail.gmail.com>]
[parent not found: <CAE7FP1nSje=TTysC1f7jAwSxZ3vOcyGVZEfotkh4Q3tvvCpO5Q@mail.gmail.com>]
[parent not found: <CAE7FP1n7pEy-u56D4gF345ccvTbGrYT9YJcNkFspeNvzNOj4Xw@mail.gmail.com>]
* Re: [dpdk-users] DPDPK-PDUMP not creating rx file [not found] ` <CAE7FP1n7pEy-u56D4gF345ccvTbGrYT9YJcNkFspeNvzNOj4Xw@mail.gmail.com> @ 2016-11-01 14:46 ` Pattan, Reshma [not found] ` <CAE7FP1k_QUkkBaakQOYbK8x-JJEm6Dy9NCSQaFwFwHK_3=h1CQ@mail.gmail.com> 0 siblings, 1 reply; 4+ messages in thread From: Pattan, Reshma @ 2016-11-01 14:46 UTC (permalink / raw) To: shokoofeh nobahari; +Cc: users Hi, My replies inline. Thanks, Reshma From: shokoofeh nobahari [mailto:sh.nobahari65@gmail.com] Sent: Sunday, October 30, 2016 7:11 AM To: Pattan, Reshma <reshma.pattan@intel.com> Subject: Re: DPDPK-PDUMP not creating rx file Hi again Reshma I worked on testpmd and below is the output of testpmd command in dpdk-setup.sh script (number 28 in the list) : Option: 28 Enter hex bitmask of cores to execute testpmd app on Example: to execute app on cores 0 to 7, enter 0xff bitmask: 0xff Launching app EAL: Detected 16 lcore(s) EAL: Probing VFIO support... EAL: no supported IOMMU extensions found! EAL: VFIO support could not be initialized PMD: bnxt_rte_pmd_init() called for (null) EAL: PCI device 0000:0e:00.0 on NUMA socket -1 EAL: probe driver: 8086:105e rte_em_pmd EAL: PCI device 0000:0e:00.1 on NUMA socket -1 EAL: probe driver: 8086:105e rte_em_pmd Interactive-mode selected USER1: create a new mbuf pool <mbuf_pool_socket_0>: n=203456, size=2176, socket=0 Configuring Port 0 (socket 0) Port 0: 00:1F:29:5A:65:40 Configuring Port 1 (socket 0) Port 1: 00:1F:29:5A:65:41 Checking link statuses... Port 0 Link Up - speed 1000 Mbps - full-duplex Port 1 Link Down Done testpmd> start io packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support disabled, MP over anonymous pages disabled Logical Core 1 (socket 1) forwards packets on 2 streams: RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01 RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00 io packet forwarding - CRC stripping disabled - packets/burst=32 nb forwarding cores=1 - nb forwarding ports=2 RX queues=1 - RX desc=128 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX queues=1 - TX desc=512 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX RS bit threshold=0 - TXQ flags=0x0 testpmd> stop Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 131 RX-dropped: 0 RX-total: 131 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- ---------------------- Forward statistics for port 1 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 131 RX-dropped: 0 RX-total: 131 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. and here is the output od dpdk-pdump command , it is stiil ruunin gbut not creating rx.pcap file ./dpdk-pdump -c 0xff -n2 -- pdump 'port=0,queue=*,rx-dev=/tmp/rx.pcap' EAL: Detected 16 lcore(s) EAL: Probing VFIO support... EAL: cannot connect to primary process! EAL: VFIO support could not be initialized EAL: WARNING: Address Space Layout Randomization (ASLR) is enabled in the kernel. EAL: This may cause issues with mapping memory into secondary processes PMD: bnxt_rte_pmd_init() called for (null) EAL: PCI device 0000:0e:00.0 on NUMA socket -1 EAL: probe driver: 8086:105e rte_em_pmd EAL: PCI device 0000:0e:00.1 on NUMA socket -1 EAL: probe driver: 8086:105e rte_em_pmd [Reshma 1]: After above logs you should be seeing logs similar to below ones. PMD: Initializing pmd_pcap for eth_pcap_rx_0 PMD: Creating pcap-backed ethdev on numa socket 0 Port 2 MAC: 00 00 00 01 02 03 Since you are not seeing, I guess dpdk-pdump tool might have got stuck in the code somewhere. Can you just add some debug prints after the below if condition in the file app/pdump/main.c, there are 3 such if conditions, so add prints at all 3 places. Compile the dpdk-pdump again , run and give me the startup logs. if (rte_eth_dev_attach(vdev_args, &portid) < 0) { cleanup_rings(); rte_exit(EXIT_FAILURE, "vdev creation failed:" "%s:%d\n", __func__, __LINE__); } <add printf here> [Reshma 2]: Can you provide the output of “rpm -qa | grep pcap” [Reshma 3]: Can you give the output of “grep CONFIG_RTE_LIBRTE_PMD_PCAP config/common_base” Thanks, Reshma I have no idea what is the problem! On Sat, Oct 29, 2016 at 4:33 PM, shokoofeh nobahari <sh.nobahari65@gmail.com<mailto:sh.nobahari65@gmail.com>> wrote: Hi Reshma I re installed everything from Ubuntu OS to dpdk and here is the output of testpmd command: # ./testpmd -c 3 -n 4 -- portmask=0x01 --port-topology=chained EAL: Detected 16 lcore(s) EAL: Probing VFIO support... EAL: no supported IOMMU extensions found! EAL: VFIO support could not be initialized PMD: bnxt_rte_pmd_init() called for (null) EAL: PCI device 0000:0e:00.0 on NUMA socket -1 EAL: probe driver: 8086:105e rte_em_pmd EAL: PCI device 0000:0e:00.1 on NUMA socket -1 EAL: probe driver: 8086:105e rte_em_pmd EAL: No probed ethernet devices USER1: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0 Done No commandline core given, start packet forwarding io packet forwarding - ports=0 - cores=0 - streams=0 - NUMA support disabled, MP over anonymous pages disabled io packet forwarding - CRC stripping disabled - packets/burst=32 nb forwarding cores=1 - nb forwarding ports=0 RX queues=1 - RX desc=128 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX queues=1 - TX desc=512 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX RS bit threshold=0 - TXQ flags=0x0 Press enter to exit Telling cores to stop... Waiting for lcores to finish... +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. Bye... it is not working now , I do not know why On Sat, Oct 29, 2016 at 9:13 AM, shokoofeh nobahari <sh.nobahari65@gmail.com<mailto:sh.nobahari65@gmail.com>> wrote: Hi Reshma Sory for delay in response ,I change the OS system of my server and I am working to set up DPDK again from the base ! I will send the startup logs of testpmd and dpdk-pdump as soon as posible! thank you very much On Thu, Oct 27, 2016 at 8:13 PM, Pattan, Reshma <reshma.pattan@intel.com<mailto:reshma.pattan@intel.com>> wrote: Hi , Resending the mail again.. Can you provide me below info to help you in finding the issue? Do you have libpcap development files installed on your machine.? Can you send me the startup logs of testpmd and dpdk-pdump tool. I will take a look. Thanks, Reshma From: Pattan, Reshma Sent: Wednesday, October 26, 2016 11:37 AM To: 'shokoofeh nobahari' <sh.nobahari65@gmail.com<mailto:sh.nobahari65@gmail.com>> Subject: RE: DPDPK-PDUMP not creating rx file Hi, Hi From: shokoofeh nobahari [mailto:sh.nobahari65@gmail.com] Sent: Tuesday, October 25, 2016 6:20 PM To: Pattan, Reshma <reshma.pattan@intel.com<mailto:reshma.pattan@intel.com>> Subject: DPDPK-PDUMP not creating rx file Hi Reshma yes firs i run testpmd , everything was working with dpdk and then i run dpak-pdump , but no response ! yes that is a typing issue ! the pcap file w Do you have libpcap development files installed on your machine.? Can you send me the startup logs of testpmd and dpdk-pdump tool. I will take a look. Thanks, Reshma On Tuesday, October 25, 2016, Pattan, Reshma <reshma.pattan@intel.com<mailto:reshma.pattan@intel.com>> wrote: Hi, > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of shokoofeh nobahari > Sent: Tuesday, October 25, 2016 12:46 PM > To: users@dpdk.org<mailto:users@dpdk.org> > Subject: [dpdk-users] DPDPK-PDUMP not creating rx file > > Dear all > I am executing DPDK 16.07 on a physical ubuntu server with 2 Intel NIC and I > need to capture the traffic to pcap files so I am using pdump API. > I also set CONFIG_RTE_LIBRTE_PMD_PCAP=y in common-base file in config > directory of DPDK and recompile the build. > dpdk-pdump is running and working but it is not creating the rx.pcap file . I assume you are running testpmd first and then dpdk-pdump tool, is that correct? Also I see you are using rx-dev as rx-1-file.pcap but not rx.pcap file. So you should look for file rx-1-file.pcap but not rx.pcap, or is that a typo in your sentence? > My command is like below: > > ./dpdk-pdump -c 3 -n 2 -- --pdump 'device_id=0e:00.0,queue=*,rx- dev=/tmp/rx- > 1-file.pcap' > > > I will be very grateful if you can help me with this situation ! > thank you all ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CAE7FP1k_QUkkBaakQOYbK8x-JJEm6Dy9NCSQaFwFwHK_3=h1CQ@mail.gmail.com>]
* Re: [dpdk-users] DPDPK-PDUMP not creating rx file [not found] ` <CAE7FP1k_QUkkBaakQOYbK8x-JJEm6Dy9NCSQaFwFwHK_3=h1CQ@mail.gmail.com> @ 2016-11-02 12:31 ` Pattan, Reshma 0 siblings, 0 replies; 4+ messages in thread From: Pattan, Reshma @ 2016-11-02 12:31 UTC (permalink / raw) To: shokoofeh nobahari; +Cc: users Hi, At lease I am not seeing this issue on Ubuntu. 1)Line 634 is, for (i = 0; i < num_tuples; i++) right? 2)Can you send me the file with debug prints and startup logs of dpdk-pdump tool with debug prints, so that I can map file printfs and logs. Note: Also, don’t use same cores for primary process(testpmd) and secondary process(dpdk-pdump) . In multi process different cores should be used for the processes. In the commands that you have provided I see 0xff is used for testpmd and dpdk-pdump. Please use different cores. Ex: sudo ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x6 -n 4 -- -i sudo ./app/pdump/dpdk-pdump -c 0x2 -n 2 -- --pdump 'port=0,queue=*,rx-dev=/tmp/rx-1-file.pcap' Thanks, Reshma From: shokoofeh nobahari [mailto:sh.nobahari65@gmail.com] Sent: Wednesday, November 2, 2016 10:12 AM To: Pattan, Reshma <reshma.pattan@intel.com> Subject: Re: DPDPK-PDUMP not creating rx file Hi Reshma I edited the main.c file and I added printf() before every if , so I find out that after the if , in line 634 , it stops for (i = 0; i < num_tuples; i++) { pt = &pdump_t[i]; snprintf(mempool_name, SIZE, MP_NAME, i); mbuf_pool = rte_mempool_lookup(mempool_name); if (mbuf_pool == NULL) { /* create mempool */ mbuf_pool = rte_pktmbuf_pool_create(mempool_name, pt->total_num_mbufs, MBUF_POOL_CACHE_SIZE, 0, pt->mbuf_data_size, rte_socket_id()); if (mbuf_pool == NULL) { cleanup_rings(); rte_exit(EXIT_FAILURE, "Mempool creation failed: %s\n", rte_strerror(rte_errno)); } there was no error or log just stops there also the output of other requested commands: #grep CONFIG_RTE_LIBRTE_PMD_PCAP config/common_base CONFIG_RTE_LIBRTE_PMD_PCAP=y #rpm -qa | grep pcap there was no output for this command thank you very much for your time Reshma On Tue, Nov 1, 2016 at 6:16 PM, Pattan, Reshma <reshma.pattan@intel.com<mailto:reshma.pattan@intel.com>> wrote: Hi, My replies inline. Thanks, Reshma From: shokoofeh nobahari [mailto:sh.nobahari65@gmail.com<mailto:sh.nobahari65@gmail.com>] Sent: Sunday, October 30, 2016 7:11 AM To: Pattan, Reshma <reshma.pattan@intel.com<mailto:reshma.pattan@intel.com>> Subject: Re: DPDPK-PDUMP not creating rx file Hi again Reshma I worked on testpmd and below is the output of testpmd command in dpdk-setup.sh script (number 28 in the list) : Option: 28 Enter hex bitmask of cores to execute testpmd app on Example: to execute app on cores 0 to 7, enter 0xff bitmask: 0xff Launching app EAL: Detected 16 lcore(s) EAL: Probing VFIO support... EAL: no supported IOMMU extensions found! EAL: VFIO support could not be initialized PMD: bnxt_rte_pmd_init() called for (null) EAL: PCI device 0000:0e:00.0 on NUMA socket -1 EAL: probe driver: 8086:105e rte_em_pmd EAL: PCI device 0000:0e:00.1 on NUMA socket -1 EAL: probe driver: 8086:105e rte_em_pmd Interactive-mode selected USER1: create a new mbuf pool <mbuf_pool_socket_0>: n=203456, size=2176, socket=0 Configuring Port 0 (socket 0) Port 0: 00:1F:29:5A:65:40 Configuring Port 1 (socket 0) Port 1: 00:1F:29:5A:65:41 Checking link statuses... Port 0 Link Up - speed 1000 Mbps - full-duplex Port 1 Link Down Done testpmd> start io packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support disabled, MP over anonymous pages disabled Logical Core 1 (socket 1) forwards packets on 2 streams: RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01 RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00 io packet forwarding - CRC stripping disabled - packets/burst=32 nb forwarding cores=1 - nb forwarding ports=2 RX queues=1 - RX desc=128 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX queues=1 - TX desc=512 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX RS bit threshold=0 - TXQ flags=0x0 testpmd> stop Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 131 RX-dropped: 0 RX-total: 131 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- ---------------------- Forward statistics for port 1 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 131 RX-dropped: 0 RX-total: 131 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. and here is the output od dpdk-pdump command , it is stiil ruunin gbut not creating rx.pcap file ./dpdk-pdump -c 0xff -n2 -- pdump 'port=0,queue=*,rx-dev=/tmp/rx.pcap' EAL: Detected 16 lcore(s) EAL: Probing VFIO support... EAL: cannot connect to primary process! EAL: VFIO support could not be initialized EAL: WARNING: Address Space Layout Randomization (ASLR) is enabled in the kernel. EAL: This may cause issues with mapping memory into secondary processes PMD: bnxt_rte_pmd_init() called for (null) EAL: PCI device 0000:0e:00.0 on NUMA socket -1 EAL: probe driver: 8086:105e rte_em_pmd EAL: PCI device 0000:0e:00.1 on NUMA socket -1 EAL: probe driver: 8086:105e rte_em_pmd [Reshma 1]: After above logs you should be seeing logs similar to below ones. PMD: Initializing pmd_pcap for eth_pcap_rx_0 PMD: Creating pcap-backed ethdev on numa socket 0 Port 2 MAC: 00 00 00 01 02 03 Since you are not seeing, I guess dpdk-pdump tool might have got stuck in the code somewhere. Can you just add some debug prints after the below if condition in the file app/pdump/main.c, there are 3 such if conditions, so add prints at all 3 places. Compile the dpdk-pdump again , run and give me the startup logs. if (rte_eth_dev_attach(vdev_args, &portid) < 0) { cleanup_rings(); rte_exit(EXIT_FAILURE, "vdev creation failed:" "%s:%d\n", __func__, __LINE__); } <add printf here> [Reshma 2]: Can you provide the output of “rpm -qa | grep pcap” [Reshma 3]: Can you give the output of “grep CONFIG_RTE_LIBRTE_PMD_PCAP config/common_base” Thanks, Reshma I have no idea what is the problem! On Sat, Oct 29, 2016 at 4:33 PM, shokoofeh nobahari <sh.nobahari65@gmail.com<mailto:sh.nobahari65@gmail.com>> wrote: Hi Reshma I re installed everything from Ubuntu OS to dpdk and here is the output of testpmd command: # ./testpmd -c 3 -n 4 -- portmask=0x01 --port-topology=chained EAL: Detected 16 lcore(s) EAL: Probing VFIO support... EAL: no supported IOMMU extensions found! EAL: VFIO support could not be initialized PMD: bnxt_rte_pmd_init() called for (null) EAL: PCI device 0000:0e:00.0 on NUMA socket -1 EAL: probe driver: 8086:105e rte_em_pmd EAL: PCI device 0000:0e:00.1 on NUMA socket -1 EAL: probe driver: 8086:105e rte_em_pmd EAL: No probed ethernet devices USER1: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0 Done No commandline core given, start packet forwarding io packet forwarding - ports=0 - cores=0 - streams=0 - NUMA support disabled, MP over anonymous pages disabled io packet forwarding - CRC stripping disabled - packets/burst=32 nb forwarding cores=1 - nb forwarding ports=0 RX queues=1 - RX desc=128 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX queues=1 - TX desc=512 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX RS bit threshold=0 - TXQ flags=0x0 Press enter to exit Telling cores to stop... Waiting for lcores to finish... +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. Bye... it is not working now , I do not know why On Sat, Oct 29, 2016 at 9:13 AM, shokoofeh nobahari <sh.nobahari65@gmail.com<mailto:sh.nobahari65@gmail.com>> wrote: Hi Reshma Sory for delay in response ,I change the OS system of my server and I am working to set up DPDK again from the base ! I will send the startup logs of testpmd and dpdk-pdump as soon as posible! thank you very much On Thu, Oct 27, 2016 at 8:13 PM, Pattan, Reshma <reshma.pattan@intel.com<mailto:reshma.pattan@intel.com>> wrote: Hi , Resending the mail again.. Can you provide me below info to help you in finding the issue? Do you have libpcap development files installed on your machine.? Can you send me the startup logs of testpmd and dpdk-pdump tool. I will take a look. Thanks, Reshma From: Pattan, Reshma Sent: Wednesday, October 26, 2016 11:37 AM To: 'shokoofeh nobahari' <sh.nobahari65@gmail.com<mailto:sh.nobahari65@gmail.com>> Subject: RE: DPDPK-PDUMP not creating rx file Hi, Hi From: shokoofeh nobahari [mailto:sh.nobahari65@gmail.com] Sent: Tuesday, October 25, 2016 6:20 PM To: Pattan, Reshma <reshma.pattan@intel.com<mailto:reshma.pattan@intel.com>> Subject: DPDPK-PDUMP not creating rx file Hi Reshma yes firs i run testpmd , everything was working with dpdk and then i run dpak-pdump , but no response ! yes that is a typing issue ! the pcap file w Do you have libpcap development files installed on your machine.? Can you send me the startup logs of testpmd and dpdk-pdump tool. I will take a look. Thanks, Reshma On Tuesday, October 25, 2016, Pattan, Reshma <reshma.pattan@intel.com<mailto:reshma.pattan@intel.com>> wrote: Hi, > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of shokoofeh nobahari > Sent: Tuesday, October 25, 2016 12:46 PM > To: users@dpdk.org<mailto:users@dpdk.org> > Subject: [dpdk-users] DPDPK-PDUMP not creating rx file > > Dear all > I am executing DPDK 16.07 on a physical ubuntu server with 2 Intel NIC and I > need to capture the traffic to pcap files so I am using pdump API. > I also set CONFIG_RTE_LIBRTE_PMD_PCAP=y in common-base file in config > directory of DPDK and recompile the build. > dpdk-pdump is running and working but it is not creating the rx.pcap file . I assume you are running testpmd first and then dpdk-pdump tool, is that correct? Also I see you are using rx-dev as rx-1-file.pcap but not rx.pcap file. So you should look for file rx-1-file.pcap but not rx.pcap, or is that a typo in your sentence? > My command is like below: > > ./dpdk-pdump -c 3 -n 2 -- --pdump 'device_id=0e:00.0,queue=*,rx- dev=/tmp/rx- > 1-file.pcap' > > > I will be very grateful if you can help me with this situation ! > thank you all ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-11-02 12:31 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-10-25 11:45 [dpdk-users] DPDPK-PDUMP not creating rx file shokoofeh nobahari 2016-10-25 12:55 ` Pattan, Reshma [not found] ` <CAE7FP1n6wQPFErRO6=c9bYOGr8+Zz=tNDBxJPOBsoOPcCmmhaQ@mail.gmail.com> [not found] ` <3AEA2BF9852C6F48A459DA490692831F010BEC3B@IRSMSX109.ger.corp.intel.com> [not found] ` <CAE7FP1nxw-AfJ+UMREju7hhQy1BzBxp5yv0jttGcXX9K9fsmzA@mail.gmail.com> [not found] ` <CAE7FP1nSje=TTysC1f7jAwSxZ3vOcyGVZEfotkh4Q3tvvCpO5Q@mail.gmail.com> [not found] ` <CAE7FP1n7pEy-u56D4gF345ccvTbGrYT9YJcNkFspeNvzNOj4Xw@mail.gmail.com> 2016-11-01 14:46 ` Pattan, Reshma [not found] ` <CAE7FP1k_QUkkBaakQOYbK8x-JJEm6Dy9NCSQaFwFwHK_3=h1CQ@mail.gmail.com> 2016-11-02 12:31 ` Pattan, Reshma
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).