]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'enic-devcmd2'
authorDavid S. Miller <davem@davemloft.net>
Mon, 17 Aug 2015 22:25:30 +0000 (15:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Aug 2015 22:25:30 +0000 (15:25 -0700)
commit6b9043fcff4c82a1c047cef3499d9b169007bc9e
treeb0da4fd30b4dde4e505b3e84339d24a0a85d683f
parent42e136e79facfe367ed6305e87117643cd2303f9
parent5f0217ec7d71a3457bb498461d603daa477b6a2b
Merge branch 'enic-devcmd2'

Govindarajulu Varadarajan says:

====================
enic: add devcmd2

This series adds new devcmd2 support. The first two patches are code
refactoring.

devcmd is an interface for driver to communicate with fw/adaptor. It
involves writing data to hardware registers and waiting for the result.
This mechanism does not scale well. The queuing of "no wait" devcmds is
done in firmware memory rather than on the host. Firmware memory is a
rather more scarce and valuable resource than host memory. A devcmd storm
from one vf can disrupt the service on other pf/vf. The lack of flow
control allows for possible denial of server from one VM to another.
Devcmd2 uses work queue to post the devcmds, just like tx work queue. This
allows better flow control.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>