freebsd-nq/sys/dev/ntb
Alexander Motin 105a032977 Limit memory window usage in ntb_transport to 256MB.
This adds safety net for the case of misconfigured NTB with too big
memory window, for which we may be unable to allocate a memory buffer,
which does not make much sense for the network interface.  While there,
fix the code to really work with asymmetric window sizes setup.

This makes driver just print warning message on boot instead of hanging
if too large memory window is configured.

MFC after:	2 weeks
Sponsored by:	iXsystems, Inc.
2019-08-15 22:55:59 +00:00
..
if_ntb Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
ntb_hw Fix i386 LINT build after r351056. 2019-08-15 16:22:15 +00:00
ntb_if.m Add driver for NTB in AMD SoC. 2019-07-02 05:25:18 +00:00
ntb_transport.c Limit memory window usage in ntb_transport to 256MB. 2019-08-15 22:55:59 +00:00
ntb_transport.h
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