]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sunvnet: add memory barrier before check for tx enable
authorShannon Nelson <shannon.nelson@oracle.com>
Mon, 13 Feb 2017 18:57:00 +0000 (10:57 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 6 Apr 2017 07:13:51 +0000 (00:13 -0700)
commit39a39999d30ad7487a25c969ca23102fcc427dce
treeb004dac61997080e65ae072c786111079957ea74
parent67a84ff247b89ebade87eed3fd9b5f42e728e48a
sunvnet: add memory barrier before check for tx enable

In order to allow the underlying LDC and outstanding memory operations
to potentially catch up with the driver's Tx requests, add a memory
barrier before checking again for available tx descriptors.

Orabug: 23293104

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit fd263fb6e718c5bdf35cbc1de4f781c71794d2a4)
Signed-off-by: Allen Pais <allen.pais@oracle.com>
drivers/net/ethernet/sun/sunvnet_common.c