]> git.baikalelectronics.ru Git - kernel.git/commit
net: Add frag_list support to GSO
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 16 Dec 2008 07:27:47 +0000 (23:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2008 07:27:47 +0000 (23:27 -0800)
commit38536105b1899f303b821dc68f98544d53ecc001
treeca0327e3543a0535cfd855beedb1b171f6aebf06
parent4520824f83bcd8192f60008c8cb22766ccaf462c
net: Add frag_list support to GSO

This patch allows GSO to handle frag_list in a limited way for the
purposes of allowing packets merged by GRO to be refragmented on
output.

Most hardware won't (and aren't expected to) support handling GRO
frag_list packets directly.  Therefore we will perform GSO in
software for those cases.

However, for drivers that can support it (such as virtual NICs) we
may not have to segment the packets at all.

Whether the added overhead of GRO/GSO is worthwhile for bridges
and routers when weighed against the benefit of potentially
increasing the MTU within the host is still an open question.
However, for the case of host nodes this is undoubtedly a win.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c