]> git.baikalelectronics.ru Git - kernel.git/commit
driver/net: enic: Try DMA 64 first, then failover to DMA
authorgovindarajulu.v <govindarajulu90@gmail.com>
Wed, 4 Sep 2013 05:47:16 +0000 (11:17 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2013 16:39:33 +0000 (12:39 -0400)
commit79e6987320357df2d13070949bf43ddce379cecb
tree3861fbc5eaa51a57851cb8ef91953f9077543f92
parent473ba1b0b7449e075ccfc88b8b4c7b6e5f84d581
driver/net: enic: Try DMA 64 first, then failover to DMA

In servers with more than 1.1 TB of RAM, the existing 40/32 bit DMA
could cause failure as the DMA-able address could go outside the range
addressable using 40/32 bits.

The following patch first tried 64 bit DMA if possible, failover to 32
bit.

Signed-off-by: Sujith Sankar <ssujith@cisco.com>
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: Govindarajulu Varadarajan <govindarajulu90@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic_main.c