ibmvnic: Serialize device queries
authorThomas Falcon <tlfalcon@linux.ibm.com>
Mon, 25 Nov 2019 23:12:56 +0000 (17:12 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Nov 2019 21:19:31 +0000 (13:19 -0800)
commitff25dcb9a1492ecbe495de936765c7ff3441b601
treeceecd9cb0274d0e68775f658cc166416bed32427
parent476d96ca9cc59ad07dc452184880b635e4e29b06
ibmvnic: Serialize device queries

Provide some serialization for device CRQ commands
and queries to ensure that the shared variable used for
storing return codes is properly synchronized.

Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c
drivers/net/ethernet/ibm/ibmvnic.h