android_kernel_oneplus_msm8998/drivers/net/ethernet/qlogic
Shahed Shaikh 4119db1101 qed: Fix mask for physical address in ILT entry
[ Upstream commit fdd13dd350dda1826579eb5c333d76b14513b812 ]

ILT entry requires 12 bit right shifted physical address.
Existing mask for ILT entry of physical address i.e.
ILT_ENTRY_PHY_ADDR_MASK is not sufficient to handle 64bit
address because upper 8 bits of 64 bit address were getting
masked which resulted in completer abort error on
PCIe bus due to invalid address.

Fix that mask to handle 64bit physical address.

Fixes: fe56b9e6a8 ("qed: Add module with basic common support")
Signed-off-by: Shahed Shaikh <shahed.shaikh@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-13 16:15:28 +02:00
..
netxen netxen_nic: set rcode to the return status from the call to netxen_issue_cmd 2018-04-13 19:50:04 +02:00
qed qed: Fix mask for physical address in ILT entry 2018-06-13 16:15:28 +02:00
qede qede: Add basic ethtool support 2015-10-27 19:34:54 -07:00
qlcnic qlcnic: Fix a sleep-in-atomic bug in qlcnic_82xx_hw_write_wx_2M and qlcnic_82xx_hw_read_wx_2M 2018-04-13 19:50:16 +02:00
qlge qlge: Avoid reading past end of buffer 2018-04-13 19:50:02 +02:00
Kconfig qed: select ZLIB_INFLATE 2015-11-10 15:39:03 -05:00
Makefile qede: Add basic Network driver 2015-10-27 19:34:47 -07:00
qla3xxx.c drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
qla3xxx.h