netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: raj ravi <mekaviraj@gmail.com>
To: netdev@vger.kernel.org
Subject: GSO / TSO offload dependency
Date: Sun, 28 Feb 2010 22:30:24 +0530	[thread overview]
Message-ID: <de0a9dcb1002280900k728b241fyd72112defc0336ea@mail.gmail.com> (raw)

Hi,
I m currently working on TSO feature in Linux network driver.

Please correct my understanding.

GSO - Generic segmentation offload - does not require any hardware support.

TSO - TCP segmentation offload  - does require hardward support


Does TSO needs GSO to be turned on?  OR in other words,  can I have
GSO disabled and TSO Enabled ?
I beleive the code is tied between both offload...but not sure about
the above possibility... please clarify.


Just before handing over the packets to the Network driver,
segmentation is carried out a call to dev_gso_segment ( ) function.
Given GSO is enabled, It will take care about creating TCP and other
protocol  segments  too,  even if TSO is disabled.. ..correct ?

If hardware supports TSO, and  If TSO and GSO are both enabled, ...
what will happen to segmentation assembly by means of GSO ...
GSO will not do any segmentatoin assembly for TCP alone and will do
for other protocols ??  bit confused here? Please clarify.

Thx!
Kavi

             reply	other threads:[~2010-02-28 17:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-28 17:00 raj ravi [this message]
2010-02-28 19:30 ` GSO / TSO offload dependency Ben Hutchings
2013-06-05  9:28   ` Deepak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=de0a9dcb1002280900k728b241fyd72112defc0336ea@mail.gmail.com \
    --to=mekaviraj@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).