diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-07-23 18:10:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-26 09:47:01 -0700 |
commit | 2d94d8ab76ea6c858c6e2eb0ab0403b00b031039 (patch) | |
tree | db8f6f4b56dfd3261ea6ce018ba6f571f1c3ccbb /drivers/net/igb/e1000_phy.c | |
parent | 4703bf73bd5b0d43c3eb5b547398d4f62dc5d4e1 (diff) | |
download | op-kernel-dev-2d94d8ab76ea6c858c6e2eb0ab0403b00b031039.zip op-kernel-dev-2d94d8ab76ea6c858c6e2eb0ab0403b00b031039.tar.gz |
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 'drivers/net/igb/e1000_phy.c')
0 files changed, 0 insertions, 0 deletions