netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Outbound pktgen pkts missed by tcpdump/pcap
@ 2006-09-15 17:08 netdev
  2006-09-15 17:22 ` Ben Greear
  0 siblings, 1 reply; 2+ messages in thread
From: netdev @ 2006-09-15 17:08 UTC (permalink / raw)
  To: netdev; +Cc: John Heil


Kernels 2.6.13, 2.6.17.7 & 2.6.17.13...

I've been unable to capture outbound packets from local eth2,
generated by pktgen using the just previous and latest releases
of tcpdump & libpcap.  All incoming pktgen pkts are seen just fine.
Pkts are UDP.

Any clues to save me some time fixing this, would greatly appreciated.

Thnx much.
johnh
.
===========================================================
John Heil
South Coast Software
Custom firmware, device drivers and board bring up services
Ph: 1-714-774-6952
Fx: 1-714-774-7053
www.sc-software.com
email: johnhscs@sc-software.com
===========================================================


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Outbound pktgen pkts missed by tcpdump/pcap
  2006-09-15 17:08 Outbound pktgen pkts missed by tcpdump/pcap netdev
@ 2006-09-15 17:22 ` Ben Greear
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Greear @ 2006-09-15 17:22 UTC (permalink / raw)
  To: netdev; +Cc: netdev

netdev@sc-software.com wrote:
> 
> Kernels 2.6.13, 2.6.17.7 & 2.6.17.13...
> 
> I've been unable to capture outbound packets from local eth2,
> generated by pktgen using the just previous and latest releases
> of tcpdump & libpcap.  All incoming pktgen pkts are seen just fine.
> Pkts are UDP.
> 
> Any clues to save me some time fixing this, would greatly appreciated.

Pktgen sends below the packet capture hooks, so you cannot sniff out-going traffic.

If you changed the code to do a dev-queue-xmit instead of hard_start_xmit, it
might be captured then, but would probably decrease pktgen performance.

Ben

> 
> Thnx much.
> johnh
> .
> ===========================================================
> John Heil
> South Coast Software
> Custom firmware, device drivers and board bring up services
> Ph: 1-714-774-6952
> Fx: 1-714-774-7053
> www.sc-software.com
> email: johnhscs@sc-software.com
> ===========================================================
> 
> -
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-15 17:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-15 17:08 Outbound pktgen pkts missed by tcpdump/pcap netdev
2006-09-15 17:22 ` Ben Greear

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).