]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc8acc041f24cb5f981bf7c4010252fe85a161c3d
tree15f1eccd09cbc280c929005fa76b42c33c73dd9f
parent30151f04f7479acccec9668460c121f18114aafa
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