diff options
author | Ananda Raju <Ananda.Raju@neterion.com> | 2005-10-31 16:55:31 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-05 14:40:27 -0500 |
commit | da6971d8ece2ec9762509e20dda6808335b5a10b (patch) | |
tree | 9ae532e7ab6314400fb601f6b7c5e6042166429f /drivers/net/Kconfig | |
parent | 29b09fcc341ede8dc08c900b132903fdd0231400 (diff) |
[PATCH] S2io: Multi buffer mode support
Hi,
This patch provides dynamic two buffer-mode and 3 buffer-mode options.
Previously 2 buffer-mode was compilation option. Now with this patch applied
one can load driver in 2 buffer-mode with module-load parameter
ie.
#insmod s2io.ko rx_ring_mode=2
This patch also provides 3 buffer-mode which provides header separation
functionality. In 3 buffer-mode skb->data will have L2/L3/L4 headers and
"skb_shinfo(skb)->frag_list->data" will have have L4 payload.
one can load driver in 3 buffer-mode with same above module-load parameter
ie.
#insmod s2io.ko rx_ring_mode=3
Please review the patch.
Signed-off-by: Ananda Raju <ananda.raju@neterion.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index bb3bda312bbe..1958d9e16a3a 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -2258,17 +2258,6 @@ config S2IO_NAPI | |||
2258 | 2258 | ||
2259 | If in doubt, say N. | 2259 | If in doubt, say N. |
2260 | 2260 | ||
2261 | config 2BUFF_MODE | ||
2262 | bool "Use 2 Buffer Mode on Rx side." | ||
2263 | depends on S2IO | ||
2264 | ---help--- | ||
2265 | On enabling the 2 buffer mode, the received frame will be | ||
2266 | split into 2 parts before being DMA'ed to the hosts memory. | ||
2267 | The parts are the ethernet header and ethernet payload. | ||
2268 | This is useful on systems where DMA'ing to to unaligned | ||
2269 | physical memory loactions comes with a heavy price. | ||
2270 | If not sure please say N. | ||
2271 | |||
2272 | endmenu | 2261 | endmenu |
2273 | 2262 | ||
2274 | if !UML | 2263 | if !UML |