opnsense-src/sys/dev/ntb
Alexander Motin 028d96899b 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.
2019-11-10 03:37:45 +00:00
..
if_ntb Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
ntb_hw Allow splitting PLX NTB BAR2 into several memory windows. 2019-11-10 03:24:53 +00:00
test NTB Tool: Test driver for NTB hardware drivers. 2019-08-16 20:14:37 +00:00
ntb.c Add driver for NTB in AMD SoC. 2019-07-02 05:25:18 +00:00
ntb.h Add driver for NTB in AMD SoC. 2019-07-02 05:25:18 +00:00
ntb_if.m Add driver for NTB in AMD SoC. 2019-07-02 05:25:18 +00:00
ntb_transport.c Add compact scraptchpad protocol for ntb_transport(4). 2019-11-10 03:37:45 +00:00
ntb_transport.h Report NTB link speed to console and interface. 2017-04-23 14:25:51 +00:00