]> git.baikalelectronics.ru Git - kernel.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)
commit80780fcdb7df26bd1fa85c3a054b250bbde43490
treee9450cb13cd9159191a81b676a6adf4501765914
parentb75e71a98cf37cec41b6e4ea07bbcf24bedb7351
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