lro: Kconfig and Makefile
Subsystems (2)
RFC PATCH 2/4 lro: Kconfig and Makefile
Kconfig and Makefile for LRO
--- net/ipv4/Kconfig | 8 ++++++++ net/ipv4/Makefile | 1 + 2 files changed, 9 insertions(+), 0 deletions(-)
net/ipv4/Kconfig +8 -0
@@ -394,6 +394,14 @@ config INET_XFRM_MODE_BEET If unsure, say Y. +config INET_LRO + tristate "Large Receive Offload (ipv4/tcp)" + + ---help--- + Support for Large Receive Offload (ipv4/tcp). + + If unsure, say Y. + config INET_DIAG tristate "INET: socket monitoring interface" default y
net/ipv4/Makefile +1 -0
@@ -25,6 +25,7 @@ obj-$(CONFIG_INET_ESP) += esp4.o obj-$(CONFIG_INET_IPCOMP) += ipcomp.o obj-$(CONFIG_INET_XFRM_TUNNEL) += xfrm4_tunnel.o obj-$(CONFIG_INET_XFRM_MODE_BEET) += xfrm4_mode_beet.o +obj-$(CONFIG_INET_LRO) += inet_lro.o obj-$(CONFIG_INET_TUNNEL) += tunnel4.o obj-$(CONFIG_INET_XFRM_MODE_TRANSPORT) += xfrm4_mode_transport.o obj-$(CONFIG_INET_XFRM_MODE_TUNNEL) += xfrm4_mode_tunnel.o
Signature · 1 line
1.5.2
Quoted 15 lines · On Mon, 30 Jul 2007 17:24:45 +0200 Jan-Bernd Themann <[email protected]>…
KconfigandMakefilefor LROSigned-off-by Jan-Bernd Themann <[email protected]>--- net/ipv4/Kconfig | 8 ++++++++ net/ipv4/Makefile | 1 + 2 files changed, 9 insertions(+), 0 deletions(-)net/ipv4/Kconfig +0
-0@@ -394,6 +394,14 @@ config INET_XFRM_MODE_BEET
net/ipv4/Kconfig config INET_XFRM_MODE_BEET · line 404
Quoted 10 lines
net/ipv4/Kconfig +8
-0If unsure, say Y. +config INET_LRO + tristate "Large Receive Offload (ipv4/tcp)" + + ---help--- + Support for Large Receive Offload (ipv4/tcp). + + If unsure, say Y. +
Why make this a user selectable option at all? Unless you want to deal with out of tree drivers (not my problem), it should be hidden to avoid having to explain an support it.
Quoted 3 lines · Stephen Hemminger
Why make this a user selectable option at all? Unless you want to deal with out of tree drivers (not my problem), it should be hidden to avoid having to explain an support it.
In this case it's an optional library kernel module. That seems to be a common setup for library modules. We do the same with CONFIG_MII and drivers/net/mii.ko as well.
Originally it was done purely in the Makefile, but that does not account for net drivers in sub-directories (or out of tree as you point out).
Jeff
Quoted 8 lines · Jeff Garzik
Quoted 3 lines · Stephen Hemminger
Why make this a user selectable option at all? Unless you want to deal with out of tree drivers (not my problem), it should be hidden to avoid having to explain an support it.
In this case it's an optional library kernel module. That seems to be a common setup for library modules. We do the same with
CONFIG_MIIanddrivers/net/mii.koas well.Originally it was done purely in the
Makefile, but that does not account for net drivers in sub-directories (or out of tree as you point out).
speaking of that, shouldn't there be a NETIF_F_LRO ?
Auke