]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r303429, r303437, r303551:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Aug 2016 10:59:12 +0000 (10:59 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Aug 2016 10:59:12 +0000 (10:59 +0000)
commit46640c8dda5a9bbf897da10f268695c04db76d37
tree347ce7fdf7d1eb62f8c8a56841b3431bb5eaba81
parent46780e6f0e61742d302aef4153c31b57972d4e8e
MFC r303429, r303437, r303551:
Once more refactor KPI between NTB hardware and consumers.

New design allows hardware resources to be split between several consumers.
For example, one BAR can be dedicated for remote memory access, while other
resources can be used for packet transport for virtual Ethernet interface.
And even without resource split, this code allows to specify which consumer
driver should attach the hardware.

From some points this makes the code even closer to Linux one, even though
Linux does not provide the described flexibility.

git-svn-id: svn://svn.freebsd.org/base/stable/10@304404 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/man/man4/ntb_hw.4
sys/dev/ntb/ntb.c
sys/dev/ntb/ntb.h
sys/dev/ntb/ntb_hw/ntb_hw.c
sys/dev/ntb/ntb_if.m
sys/dev/ntb/ntb_transport.c