public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp•com.au>
To: David Miller <davem@davemloft•net>, mirq-linux@rere•qmqm.pl
Cc: netdev@vger•kernel.org
Subject: Re: [PATCH] net: tun: convert to hw_features
Date: Wed, 27 Apr 2011 14:29:31 +0930	[thread overview]
Message-ID: <87r58ol26k.fsf@rustcorp.com.au> (raw)
In-Reply-To: <20110420.013216.28818575.davem@davemloft.net>

On Wed, 20 Apr 2011 01:32:16 -0700 (PDT), David Miller <davem@davemloft•net> wrote:
> From: Michał Mirosław <mirq-linux@rere•qmqm.pl>
> Date: Tue, 19 Apr 2011 18:13:10 +0200 (CEST)
> 
> > This changes offload setting behaviour to what I think is correct:
> >  - offloads set via ethtool mean what admin wants to use (by default
> >    he wants 'em all)
> >  - offloads set via ioctl() mean what userspace is expecting to get
> >    (this limits which admin wishes are granted)
> >  - TUN_NOCHECKSUM is ignored, as it might cause broken packets when
> >    forwarded (ip_summed == CHECKSUM_UNNECESSARY means that checksum
> >    was verified, not that it can be ignored)
> > 
> > If TUN_NOCHECKSUM is implemented, it should set skb->csum_* and
> > skb->ip_summed (= CHECKSUM_PARTIAL) for known protocols and let others
> > be verified by kernel when necessary.
> > 
> > TUN_NOCHECKSUM handling was introduced by commit
> > f43798c27684ab925adde7d8acc34c78c6e50df8:
> > 
> >     tun: Allow GSO using virtio_net_hdr
> >     
> > Signed-off-by: Michał Mirosław <mirq-linux@rere•qmqm.pl>
> 
> Applied.

Dave, you just removed a feature that has been in Linux since before
git.  It *probably* just means we go slower in cases we don't really
care about.  But does removing it break qemu?  Has anyone tested?

Thanks,
Rusty.


      reply	other threads:[~2011-04-27  6:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-19 16:13 [PATCH] net: tun: convert to hw_features Michał Mirosław
2011-04-20  3:22 ` Rusty Russell
2011-04-20 23:15   ` Michał Mirosław
2011-04-20  8:32 ` David Miller
2011-04-27  4:59   ` Rusty Russell [this message]

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=87r58ol26k.fsf@rustcorp.com.au \
    --to=rusty@rustcorp$(echo .)com.au \
    --cc=davem@davemloft$(echo .)net \
    --cc=mirq-linux@rere$(echo .)qmqm.pl \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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