Skip to contentSkip to conversation

lro: Kconfig and Makefile

RFC PATCH In review Jan-Bernd Themann 4 participants 4 messages Jul 30, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index fb79097..d894f61 100644
@@ -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
index fbf1674..a02c36d 100644
@@ -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
#1 lore raw
Quoted 15 lines · On Mon, 30 Jul 2007 17:24:45 +0200 Jan-Bernd Themann <[email protected]>…

Kconfig and Makefile for LRO

---
 net/ipv4/Kconfig  |    8 ++++++++
 net/ipv4/Makefile |    1 +
 2 files changed, 9 insertions(+), 0 deletions(-)
net/ipv4/Kconfig +0 -0
index fb79097..d894f61 100644
@@ -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 -0
 	  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.
+

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.

#2 lore raw
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

#3 lore raw
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_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).

speaking of that, shouldn't there be a NETIF_F_LRO ?

Auke