From: Alexander Duyck Date: Thu, 4 Jun 2009 15:59:49 +0000 (+0000) Subject: ixgbe: use rx_buffer_info->dma instead of nr_frags to determine skb unmap X-Git-Tag: v2.6.31-rc1~330^2~149 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21fa4e66bd0bedfa4ed6aa6f7008b2aff6d45c8d;p=pandora-kernel.git ixgbe: use rx_buffer_info->dma instead of nr_frags to determine skb unmap This patch changes the driver so that it uses rx_buffer_info->dma to determine if it needs to unmap the page instead of sh_info->nr_frags. This helps to prevent a cache line miss when receiving small packets as the rx_buffer_info data should already be in the cache. Signed-off-by: Alexander Duyck Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed