]> git.openfabrics.org - ~aditr/compat-rdma.git/commit
qed: Fix shmem structure inconsistency between driver and the mfw.
authorMichal Kalderon <michal.kalderon@cavium.com>
Sun, 21 Oct 2018 08:56:18 +0000 (11:56 +0300)
committerVladimir Sokolovsky <vlad@mellanox.com>
Tue, 23 Oct 2018 18:41:03 +0000 (13:41 -0500)
commit2cc885d2bf63c9c563662b1a0e33c5fdd5233ad2
tree3855f709641ee11573d2cd7fcb82c752cf44d8b6
parent78b04f2aa3d21e59ba97f96c7f805392591c1548
qed: Fix shmem structure inconsistency between driver and the mfw.

The structure shared between driver and the management FW (mfw) differ in
sizes. This would lead to issues when driver try to access the structure
members which are not-aligned with the mfw copy e.g., data_ptr usage in the
case of mfw_tlv request.
Align the driver structure with mfw copy, add reserved field(s) to driver
structure for the members not used by the driver.

Fixes: dd006921d67f ("qed: Add MFW interfaces for TLV request support.)
Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
linux-next-cherry-picks/0047-qed-Fix-shmem-structure-inconsistency-between-driver.patch [new file with mode: 0644]