aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/efx.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-06-23 07:31:28 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-25 01:13:24 -0400
commit39c9cf07077146b14ab077a0e27c869c6f0e6199 (patch)
treee30b746b36ebb36af8776658e8ce3f8bcd4e118d /drivers/net/sfc/efx.c
parent2822235278c6385191a590c63098e728d0062987 (diff)
sfc: Record hardware RX hash on each skb where possible
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r--drivers/net/sfc/efx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c
index ad359110813b..d68f061a25e9 100644
--- a/drivers/net/sfc/efx.c
+++ b/drivers/net/sfc/efx.c
@@ -480,6 +480,7 @@ static void efx_init_channels(struct efx_nic *efx)
480 */ 480 */
481 efx->rx_buffer_len = (max(EFX_PAGE_IP_ALIGN, NET_IP_ALIGN) + 481 efx->rx_buffer_len = (max(EFX_PAGE_IP_ALIGN, NET_IP_ALIGN) +
482 EFX_MAX_FRAME_LEN(efx->net_dev->mtu) + 482 EFX_MAX_FRAME_LEN(efx->net_dev->mtu) +
483 efx->type->rx_buffer_hash_size +
483 efx->type->rx_buffer_padding); 484 efx->type->rx_buffer_padding);
484 efx->rx_buffer_order = get_order(efx->rx_buffer_len + 485 efx->rx_buffer_order = get_order(efx->rx_buffer_len +
485 sizeof(struct efx_rx_page_state)); 486 sizeof(struct efx_rx_page_state));