]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
ixgbevf: Add lock around mailbox ops to prevent simultaneous access
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 11 May 2012 08:33:06 +0000 (08:33 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 21 Jul 2012 23:03:25 +0000 (16:03 -0700)
commit1c55ed768bb8b6aee0e1c88e963a429a3c14be07
tree42f8c602fa09c548ae8ca36e966f9e4c13abb891
parent9297127b9cdd8d30c829ef5fd28b7cc0323a7bcd
ixgbevf: Add lock around mailbox ops to prevent simultaneous access

This change adds a spinlock around the mailbox accesses to prevent
simultaneous access to the mailboxes.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c