* Where is the Kernel NIC interface example in the source code?
@ 2013-06-26 23:54 Peter Chen
[not found] ` <CAMGYKAdADf0Z=Ld7vY_G6LXQGWm=dg9toEoExO0wOZy8E=H+Wg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Peter Chen @ 2013-06-26 23:54 UTC (permalink / raw)
To: dev-VfR2kkLFssw
[-- Attachment #1: Type: text/plain, Size: 171 bytes --]
This is in the sample application guide. I want to use tcpdump on the dpdk
port, however its not in the examples folder of the source code...was it
accidentally left out?
[-- Attachment #2: Type: text/html, Size: 196 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <CAMGYKAdADf0Z=Ld7vY_G6LXQGWm=dg9toEoExO0wOZy8E=H+Wg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Where is the Kernel NIC interface example in the source code? [not found] ` <CAMGYKAdADf0Z=Ld7vY_G6LXQGWm=dg9toEoExO0wOZy8E=H+Wg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2013-06-27 0:21 ` Stephen Hemminger 2013-06-27 16:20 ` Thomas Monjalon 2013-06-28 14:05 ` Antti Kantee 2 siblings, 0 replies; 4+ messages in thread From: Stephen Hemminger @ 2013-06-27 0:21 UTC (permalink / raw) To: Peter Chen; +Cc: dev-VfR2kkLFssw On Wed, 26 Jun 2013 16:54:06 -0700 Peter Chen <peter.feifan.chen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > This is in the sample application guide. I want to use tcpdump on the dpdk > port, however its not in the examples folder of the source code...was it > accidentally left out? When you use DPDK, the application gets raw control over the hardware. The kernel device (used by tcpdump) is gone. Since it is a pure application with responsibility for everything, you could write a capture application that writes a pcap format file. Part of the downside of something like DPDK is that sharing device with system is hard. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Where is the Kernel NIC interface example in the source code? [not found] ` <CAMGYKAdADf0Z=Ld7vY_G6LXQGWm=dg9toEoExO0wOZy8E=H+Wg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2013-06-27 0:21 ` Stephen Hemminger @ 2013-06-27 16:20 ` Thomas Monjalon 2013-06-28 14:05 ` Antti Kantee 2 siblings, 0 replies; 4+ messages in thread From: Thomas Monjalon @ 2013-06-27 16:20 UTC (permalink / raw) To: Peter Chen; +Cc: dev-VfR2kkLFssw 27/06/2013 01:54, Peter Chen : > This is in the sample application guide. I want to use tcpdump on the dpdk > port, however its not in the examples folder of the source code...was it > accidentally left out? The doc you are reading is about DPDK 1.3.1. The source code is not yet released on dpdk.org but it should happen soon. -- Thomas ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Where is the Kernel NIC interface example in the source code? [not found] ` <CAMGYKAdADf0Z=Ld7vY_G6LXQGWm=dg9toEoExO0wOZy8E=H+Wg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2013-06-27 0:21 ` Stephen Hemminger 2013-06-27 16:20 ` Thomas Monjalon @ 2013-06-28 14:05 ` Antti Kantee 2 siblings, 0 replies; 4+ messages in thread From: Antti Kantee @ 2013-06-28 14:05 UTC (permalink / raw) To: dev-VfR2kkLFssw On 27.6.2013 2:54, Peter Chen wrote: > This is in the sample application guide. I want to use tcpdump on the dpdk > port, however its not in the examples folder of the source code...was it > accidentally left out? If you run a rump kernel on top of dpdk, hijacking the normal tcpdump binary against the rump kernel should work in theory. I say "in theory" because: 1) the rump kernel dpdk driver not contain support. ok, it's literally two lines of code, but it's still currently theoretical 2) there might be some disagreement with ioctl's and bpf format between the Linux userland and NetBSD kernel, requiring some further hacking Of course, if you don't want TCP/IP at all, the benefit is also theoretical ;) - antti ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-28 14:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-26 23:54 Where is the Kernel NIC interface example in the source code? Peter Chen
[not found] ` <CAMGYKAdADf0Z=Ld7vY_G6LXQGWm=dg9toEoExO0wOZy8E=H+Wg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-27 0:21 ` Stephen Hemminger
2013-06-27 16:20 ` Thomas Monjalon
2013-06-28 14:05 ` Antti Kantee
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.