]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ixgbe: remove redundant DMA alignment code
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 19 Aug 2010 13:33:41 +0000 (13:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 23:36:45 +0000 (16:36 -0700)
commitd716a7d88549c99f9afbfc1f75dda1c390e2dc3a
treee9450cb13cd9159191a81b676a6adf4501765914
parent083fc582b8752c64b0ae73935ddb45a1dd794b4c
ixgbe: remove redundant DMA alignment code

This patch removes the redundant DMA alignment code from the Rx buffer
allocation path.  This code is no longer necessary since all x86 buffers
are now DMA aligned due to recent changes to NET_IP_ALIGN and NET_SKB_PAD.

It also moves the setting of the Rx queue value into the allocation path
since it is more likely that the queue mapping will still be in the cache
at the time of allocation.
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>
drivers/net/ixgbe/ixgbe_main.c