]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83a14f01608776119f84305a52f78064f4c023ee
treef9014fe762ae21d7fe9ab3c2ef53933ef84ccb82
parent4226a84a8daef465fd6bb57c9ff4a80299eb4d8a
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: 70866d925e615 ("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