summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorAlexander Duyck2009-06-04 17:59:49 +0200
committerDavid S. Miller2009-06-07 14:20:20 +0200
commit21fa4e66bd0bedfa4ed6aa6f7008b2aff6d45c8d (patch)
treea0a828616b4645b5843b62de87321857096ae7a5 /drivers/net/ixgbe/ixgbe.h
parentixgbe: ethtool support to change advertised link modes of 82599 adapters (diff)
downloadkernel-qcow2-linux-21fa4e66bd0bedfa4ed6aa6f7008b2aff6d45c8d.tar.gz
kernel-qcow2-linux-21fa4e66bd0bedfa4ed6aa6f7008b2aff6d45c8d.tar.xz
kernel-qcow2-linux-21fa4e66bd0bedfa4ed6aa6f7008b2aff6d45c8d.zip
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 <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/ixgbe/ixgbe.h')
0 files changed, 0 insertions, 0 deletions