[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160322.161701.1538082255367614747.davem@redhat.com>
Date: Tue, 22 Mar 2016 16:17:01 -0400 (EDT)
From: David Miller <davem@...hat.com>
To: jesse@...nel.org
Cc: ecree@...arflare.com, alexander.duyck@...il.com,
aduyck@...antis.com, netdev@...r.kernel.org, tom@...bertland.com
Subject: Re: [RFC PATCH 7/9] GSO: Support partial segmentation offload
From: Jesse Gross <jesse@...nel.org>
Date: Tue, 22 Mar 2016 13:11:21 -0700
> Features that have been designed this way in the past are usually
> pretty fragile. Not only would you have to track changes in the
> routing table but you could have bridges, tc, vlan devices, etc. all
> of which might change the path of the packet and would have to somehow
> propagate this information. It's much more robust to resolve the
> device capabilities just before you hand the packet to that device.
> Plus, anything along the path of the packet (iptables, for example)
> that looks at the headers might potentially need to be aware of this
> optimization.
Indeed, this is a major fundamental issue in our stack right now. I
keep being reminded of that ugly change we had to make to accomodate
scatter-gather limitations for Infiniband devices, exactly because
properties don't propagate properly through all of the layers right
now.
But we have to solve this somehow, the packetizer has to know certain
basic properties of the ultimate device in order to function properly.
This requirement is unavoidable.
Powered by blists - more mailing lists