aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2019-11-10 03:37:45 +0000
committerAlexander Motin <mav@FreeBSD.org>2019-11-10 03:37:45 +0000
commit028d96899b0d23573a882da496970366e6ef50b1 (patch)
tree218807df3f9c27bcb5b437081592d47f325ec0b4 /.gitattributes
parent7aafa7c368e7d545a9f0a74408fa244cd04d0f59 (diff)
downloadsrc-028d96899b0d23573a882da496970366e6ef50b1.tar.gz
src-028d96899b0d23573a882da496970366e6ef50b1.zip
Add compact scraptchpad protocol for ntb_transport(4).
Previously ntb_transport(4) required at least 6 scratchpad registers, plus 2 more for each additional memory window. That is too much for some configurations, where several drivers have to share resources of the same NTB hardware. This patch introduces new compact version of the protocol, requiring only 3 scratchpad registers, plus one more for each additional memory window. The optimization is based on fact that neither of version, number of windows or number of queue pairs really need more then one byte each, and window sizes of 4GB are not very useful now. The new protocol is activated automatically when the configuration is low on scratchpad registers, or it can be activated explicitly with loader tunable. MFC after: 2 weeks Sponsored by: iXsystems, Inc.
Notes
Notes: svn path=/head/; revision=354581
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions