aboutsummaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-rlock-hardirq.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-07-23 14:10:06 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-26 12:47:01 -0400
commit2d94d8ab76ea6c858c6e2eb0ab0403b00b031039 (patch)
treedb8f6f4b56dfd3261ea6ce018ba6f571f1c3ccbb /lib/locking-selftest-rlock-hardirq.h
parent4703bf73bd5b0d43c3eb5b547398d4f62dc5d4e1 (diff)
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 <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/locking-selftest-rlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions