qed: Fix use of incorrect shmem address.
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Fri, 1 Jun 2018 01:47:37 +0000 (18:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jun 2018 14:10:46 +0000 (10:10 -0400)
commitb5fabb080062e7685b898e9c0ec4d95f4d526ed2
tree77bcbec0cdf63732295ee8ae0809007c5d232767
parent5e9f20359a166de934b5bd02cb54c0be0e8c2890
qed: Fix use of incorrect shmem address.

Incorrect shared memory address is used while deriving the values
for tc and pri_type. Use shmem address corresponding to 'oem_cfg_func'
where the management firmare saves tc/pri_type values.

Fixes: cac6f691 ("qed: Add support for Unified Fabric Port")
Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_mcp.c