]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r310750
authorarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 6 Jan 2017 07:27:40 +0000 (07:27 +0000)
committerarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 6 Jan 2017 07:27:40 +0000 (07:27 +0000)
commit09acd6805133ecb6a999a8020583a54b71ee60e3
tree8a81bcfa79a15e31b5dddcf67f768ef06339d41a
parent2c8a07e8cae335df6115b8f59289193c6b84e0cb
MFC r310750

sfxge(4): add missing barrier in common code MCDI response handling

The semantics of the MCDI interfacve require reading the first
dword of the header before any other data in the buffer. Add
a barrier to the common code MCDI handler to enforce this.

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@311492 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sfxge/common/ef10_mcdi.c