Skip to content

Commit

Permalink
sfc: Increase size of RX SKB header area
Browse files Browse the repository at this point in the history
This allows the SKB to hold the headers without reallocation more often.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
  • Loading branch information
Jon Cooper authored and Ben Hutchings committed Jun 24, 2013
1 parent c99dffc commit d4ef5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/sfc/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 64u
#define EFX_SKB_HEADERS 128u

/* This is the percentage fill level below which new RX descriptors
* will be added to the RX descriptor ring.
Expand Down

0 comments on commit d4ef5b6

Please sign in to comment.