mlxsw: pci: Fix EQE structure definition
authorElad Raz <eladr@mellanox.com>
Thu, 12 Jan 2017 08:10:39 +0000 (09:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Feb 2017 08:47:08 +0000 (09:47 +0100)
commitec1aa8d495326435d956af325391b775038daa08
treee0edd4b405c78f1b74d35f15c9bedc97beb784a5
parent4ec59d1fe470bad37dc0d388f65c150ccce8ea11
mlxsw: pci: Fix EQE structure definition

[ Upstream commit 28e46a0f2e03ab4ed0e23cace1ea89a68c8c115b ]

The event_data starts from address 0x00-0x0C and not from 0x08-0x014. This
leads to duplication with other fields in the Event Queue Element such as
sub-type, cqn and owner.

Fixes: eda6500a987a0 ("mlxsw: Add PCI bus implementation")
Signed-off-by: Elad Raz <eladr@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlxsw/pci.h