enic: set DMA mask to 47 bit
authorGovindarajulu Varadarajan <gvaradar@cisco.com>
Wed, 23 May 2018 18:17:39 +0000 (11:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Jun 2018 20:49:18 +0000 (22:49 +0200)
commitcbf561634db3a364d0ec8868fc23c21d955b30dd
tree147f46bd82dc73e2d70d2e1ce65c93c726f9a75f
parent0d2eb422fe35342cfb031f543add4a8934c82a32
enic: set DMA mask to 47 bit

[ Upstream commit 322eaa06d55ebc1402a4a8d140945cff536638b4 ]

In commit 624dbf55a359b ("driver/net: enic: Try DMA 64 first, then
failover to DMA") DMA mask was changed from 40 bits to 64 bits.
Hardware actually supports only 47 bits.

Fixes: 624dbf55a359b ("driver/net: enic: Try DMA 64 first, then failover to DMA")
Signed-off-by: Govindarajulu Varadarajan <gvaradar@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/cisco/enic/enic_main.c