From: Alexander Duyck Date: Thu, 23 Jul 2009 18:10:06 +0000 (+0000) Subject: igb: use buffer_info->dma instead of shinfo->nr_frags to determine unmap X-Git-Tag: v2.6.32-rc1~703^2~549 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d94d8ab76ea6c858c6e2eb0ab0403b00b031039;p=pandora-kernel.git igb: use buffer_info->dma instead of shinfo->nr_frags to determine unmap This change makes it so that we use buffer_info->dma instead of shinfo->nr_frags to determine if we need to unmap a received skb. By doing this we can avoid a cache miss on small packets since the buffer_info structure should already be prefetched. Signed-off-by: Alexander Duyck Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed