net/bnx2x: serialize access to VF mailbox
authorChas Williams <3chas3@gmail.com>
Tue, 11 Oct 2016 23:04:58 +0000 (19:04 -0400)
committerBruce Richardson <bruce.richardson@intel.com>
Thu, 13 Oct 2016 13:30:59 +0000 (15:30 +0200)
commitcf32c2e541a1c439c3a8a3091ffda0bc2f2666fd
tree7222bd88a0c9e1ded5f271a62dccfcefc9da9cba
parent1b437b977552fa5e491b5faaf390f4ed9baeb2cc
net/bnx2x: serialize access to VF mailbox

The pf2vf mailbox can only be used by one thread at a time.

Fixes: 540a211084a7 ("bnx2x: driver core")

Signed-off-by: Chas Williams <3chas3@gmail.com>
Acked-by: Harish Patil <harish.patil@qlogic.com>
drivers/net/bnx2x/bnx2x.h
drivers/net/bnx2x/bnx2x_ethdev.c
drivers/net/bnx2x/bnx2x_vfpf.c