Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] [PATCH] net: Take GSO into account when capturing packets

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: David Miller <davem@xxxxxxxxxxxxx>
Date: Mon, 06 Jul 2009 18:15:31 -0700 (PDT)

From: Benjamin Poirier <benjamin.poirier@xxxxxxxxxx>
Date: Mon, 06 Jul 2009 14:04:32 -0400

> move the point where the support routine for packet capture is called to
> better reflect what is transmitted on the wire when GSO is active.
> 
> At the moment, packet capture (a la tcpdump) on the transmission side happens
> before GSO takes place (if it does). Therefore, even if a packet gets
> segmented by GSO, the capture shows that one big packet was sent when in fact
> many small packets were sent on the wire. This behavior does not reflect the
> "reality" of what is transmitted and could lead to confusion, especially since
> a capture on the receiving side shows the segmented packets.
> 
> Signed-off-by: Benjamin Poirier <benjamin.poirier@xxxxxxxxxx>

TSO does the same exact thing except that the networking card
chops up the packet before it hits the wire.

I really doubt there is anything seriously to gain by having
GSO behave one way and TSO another, and we should just keep
things as they are right now.

I'm not applying this, sorry.

  • References:
    • [Wireshark-dev] [PATCH] net: Take GSO into account when capturing packets
      • From: Benjamin Poirier
  • Prev by Date: [Wireshark-dev] [PATCH] net: Take GSO into account when capturing packets
  • Next by Date: [Wireshark-dev] Auto refresh of the open file
  • Previous by thread: [Wireshark-dev] [PATCH] net: Take GSO into account when capturing packets
  • Next by thread: [Wireshark-dev] Auto refresh of the open file
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation