]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a new driver to support the Intel Non-Transparent Bridge(NTB).
authorCarl Delsey <carl@FreeBSD.org>
Mon, 29 Apr 2013 22:48:53 +0000 (22:48 +0000)
committerCarl Delsey <carl@FreeBSD.org>
Mon, 29 Apr 2013 22:48:53 +0000 (22:48 +0000)
commite47937d1b742c0fc6c537dd14260abf5d45af5e7
tree3b196f716100f9db59d3db91e466f414c5f4a9ec
parent3c9cb0c6c9b5c21e82994808cbb59cdf9e27a87c
Add a new driver to support the Intel Non-Transparent Bridge(NTB).

The NTB allows you to connect two systems with this device using a PCI-e
link. The driver is made of two modules:
 - ntb_hw which is a basic hardware abstraction layer for the device.
 - if_ntb which implements the ntb network device and the communication
   protocol.

The driver is limited at the moment to CPU memcpy instead of using DMA, and
only Back-to-Back mode is supported. Also the network device isn't full
featured yet. These changes will be coming soon. The DMA change will also
bring in the ioat driver from the project branch it is on now.

This is an initial port of the GPL/BSD Linux driver contributed by Jon Mason
from Intel. Any bugs are my contributions.

Sponsored by: Intel
Reviewed by: jimharris, joel (man page only)
Approved by: jimharris (mentor)
12 files changed:
share/man/man4/Makefile
share/man/man4/ntb.4 [new file with mode: 0644]
sys/amd64/conf/NOTES
sys/conf/files.amd64
sys/dev/ntb/if_ntb/if_ntb.c [new file with mode: 0644]
sys/dev/ntb/ntb_hw/ntb_hw.c [new file with mode: 0644]
sys/dev/ntb/ntb_hw/ntb_hw.h [new file with mode: 0644]
sys/dev/ntb/ntb_hw/ntb_regs.h [new file with mode: 0644]
sys/modules/Makefile
sys/modules/ntb/Makefile [new file with mode: 0644]
sys/modules/ntb/if_ntb/Makefile [new file with mode: 0644]
sys/modules/ntb/ntb_hw/Makefile [new file with mode: 0644]