netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: mirq-linux@rere.qmqm.pl
Cc: netdev@vger.kernel.org, fubar@us.ibm.com, andy@greyhouse.net,
	kaber@trash.net
Subject: Re: [PATCH 06/10] net: remove NETIF_F_ALL_TX_OFFLOADS
Date: Thu, 14 Jul 2011 14:43:14 -0700 (PDT)	[thread overview]
Message-ID: <20110714.144314.1353889855984029341.davem@davemloft.net> (raw)
In-Reply-To: <7750f18707f8ebc674a830555b0227c49cbfd608.1310601401.git.mirq-linux@rere.qmqm.pl>

From: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Date: Thu, 14 Jul 2011 02:10:29 +0200 (CEST)

> There is no software fallback implemented for SCTP or FCoE checksumming,
> and so it should not be passed on by software devices like bridge or bonding.
> 
> For VLAN devices, this is different. First, the driver for underlying device
> should be prepared to get offloaded packets even when the feature is disabled
> (especially if it advertises it in vlan_features). Second, devices under
> VLANs do not get replaced without tearing down the VLAN first.
> 
> This fixes a mess I accidentally introduced while converting bonding to
> ndo_fix_features.
> 
> NETIF_F_SOFT_FEATURES are removed from BOND_VLAN_FEATURES because they
> are unused as of commit 712ae51afd.
> 
> Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>

This is not the answer.

We have to implement software fallbacks for the checksum offloads.

That is easier than having this ever growing set of exceptions for
feature bit propagation, which at best will end up being a steaming
pile of unmaintainable poo.

  reply	other threads:[~2011-07-14 21:45 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-14  0:10 [PATCH 00/10] net: random cleanups Michał Mirosław
2011-07-14  0:10 ` [PATCH 05/10] net: Disable NOCACHE_COPY by default Michał Mirosław
2011-07-14  0:44   ` Tom Herbert
2011-07-14  0:10 ` [PATCH 04/10] net: cleanup vlan_features setting in register_netdev Michał Mirosław
2011-07-14 21:41   ` David Miller
2011-07-14  0:10 ` [PATCH 03/10] net: vlan: remove reduntant check in ndo_fix_features callback Michał Mirosław
2011-07-14 21:39   ` David Miller
2011-07-14  0:10 ` [PATCH 07/10] net: remove NETIF_F_NO_CSUM feature Michał Mirosław
2011-07-14  0:23   ` Ben Hutchings
2011-07-14  0:48     ` Stephen Hemminger
2011-07-14  0:59       ` Ben Hutchings
     [not found]     ` <CA+mtBx9GXf_+DGB4EabS74Hf+16KKJ78Ty_zK6Y3tC+X634jtA@mail.gmail.com>
2011-07-14 20:56       ` Michał Mirosław
2011-07-14 21:31         ` David Miller
2011-07-14 22:44           ` Michał Mirosław
2011-07-15  0:05             ` David Miller
2011-07-15  0:28               ` Michał Mirosław
2011-07-14 21:00     ` Michał Mirosław
2011-07-14  0:10 ` [PATCH 06/10] net: remove NETIF_F_ALL_TX_OFFLOADS Michał Mirosław
2011-07-14 21:43   ` David Miller [this message]
2011-07-14 21:54     ` Michał Mirosław
2011-07-14 21:58       ` David Miller
2011-07-14 22:34         ` [PATCH 1/1 net] net: fix bonding advertising offloads it can't support Michał Mirosław
2011-07-14 22:37           ` David Miller
2011-07-14  0:10 ` [PATCH 02/10] net: m68k/nfeth: Remove wrong usage of dev->flags Michał Mirosław
2011-07-14 21:38   ` David Miller
2011-07-14  0:10 ` [PATCH 01/10] net: sctp: fix checksum marking for outgoing packets Michał Mirosław
2011-07-14 21:37   ` David Miller
2011-07-14  0:10 ` [PATCH 08/10] net: unexport netdev_fix_features() Michał Mirosław
2011-07-14 21:44   ` David Miller
2011-07-14  0:10 ` [PATCH 10/10] net: remove SK_ROUTE_CAPS from meta ematch Michał Mirosław
2011-07-14  0:52   ` Stephen Hemminger
2011-07-14  0:59   ` jamal
2011-07-14 20:50     ` Michał Mirosław
2011-07-14 20:52       ` David Miller
2011-07-14 21:46   ` David Miller
2011-07-14  0:10 ` [PATCH 09/10] net: remove /sys/class/net/*/features Michał Mirosław
2011-07-14  0:50   ` Stephen Hemminger
2011-07-14  1:03     ` Ben Hutchings
2011-07-14  1:16       ` Stephen Hemminger
2011-07-14 20:46     ` Michał Mirosław
2011-07-14 21:45   ` David Miller

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=20110714.144314.1353889855984029341.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=andy@greyhouse.net \
    --cc=fubar@us.ibm.com \
    --cc=kaber@trash.net \
    --cc=mirq-linux@rere.qmqm.pl \
    --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).