bnx2x: fix receive of VF->PF mailbox messages by the PF on big-endian
authorMichal Schmidt <mschmidt@redhat.com>
Wed, 2 Mar 2016 12:47:07 +0000 (13:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Mar 2016 18:31:56 +0000 (13:31 -0500)
commita524ef77d54d7e12045841f4fcc430c1850f71f2
tree15f1eccd09cbc280c929005fa76b42c33c73dd9f
parent5cc5c2d2e5a46c7395a0453f9ea1a446ac4c1b97
bnx2x: fix receive of VF->PF mailbox messages by the PF on big-endian

On ppc64 the PF did not receive messages from VFs correctly.

Fields of struct vf_pf_event_data are little-endian.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c