OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c99dffc
)
sfc: Increase size of RX SKB header area
author
Jon Cooper
<jcooper@solarflare.com>
Mon, 8 Apr 2013 11:55:58 +0000
(12:55 +0100)
committer
Ben Hutchings
<bhutchings@solarflare.com>
Mon, 24 Jun 2013 18:58:28 +0000
(19:58 +0100)
This allows the SKB to hold the headers without reallocation more often.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/rx.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sfc/rx.c
b/drivers/net/ethernet/sfc/rx.c
index
b915e09
..
6efff3d
100644
(file)
--- a/
drivers/net/ethernet/sfc/rx.c
+++ b/
drivers/net/ethernet/sfc/rx.c
@@
-36,7
+36,7
@@
#define EFX_RECYCLE_RING_SIZE_NOIOMMU (2 * EFX_RX_PREFERRED_BATCH)
/* Size of buffer allocated for skb header area. */
-#define EFX_SKB_HEADERS
64
u
+#define EFX_SKB_HEADERS
128
u
/* This is the percentage fill level below which new RX descriptors
* will be added to the RX descriptor ring.