OSDN Git Service

mlxsw: pci: Fix EQE structure definition
authorElad Raz <eladr@mellanox.com>
Thu, 12 Jan 2017 08:10:39 +0000 (09:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jan 2017 14:25:55 +0000 (09:25 -0500)
commit28e46a0f2e03ab4ed0e23cace1ea89a68c8c115b
treef9014fe762ae21d7fe9ab3c2ef53933ef84ccb82
parent400fc0106dd8c27ed84781c929c1a184785b9c79
mlxsw: pci: Fix EQE structure definition

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>
drivers/net/ethernet/mellanox/mlxsw/pci_hw.h