projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18e1d2b
)
sfc: Enable heuristic selection between page and skb RX buffers
author
Ben Hutchings
<bhutchings@solarflare.com>
Thu, 29 Oct 2009 07:21:33 +0000
(07:21 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 30 Oct 2009 04:37:07 +0000
(21:37 -0700)
Now that we can tell whether GRO is being applied, this heuristic is
effective once more.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/rx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/sfc/rx.c
b/drivers/net/sfc/rx.c
index 9277e9aaad092e60e3681ecb016bf2218b950fa1..a60c7188fdad588bc7e2f2536f79c185f9d100c8 100644
(file)
--- a/
drivers/net/sfc/rx.c
+++ b/
drivers/net/sfc/rx.c
@@
-61,7
+61,7
@@
* rx_alloc_method = (rx_alloc_level > RX_ALLOC_LEVEL_LRO ?
* RX_ALLOC_METHOD_PAGE : RX_ALLOC_METHOD_SKB)
*/
-static int rx_alloc_method = RX_ALLOC_METHOD_
PAGE
;
+static int rx_alloc_method = RX_ALLOC_METHOD_
AUTO
;
#define RX_ALLOC_LEVEL_LRO 0x2000
#define RX_ALLOC_LEVEL_MAX 0x3000