| b5a2f540 | 27-Aug-2019 |
Alexander Motin <[email protected]> |
MFC r351105, r351107: 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
MFC r351105, r351107: 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.
show more ...
|
| 1b64722f | 27-Aug-2019 |
Alexander Motin <[email protected]> |
MFC r351072: Implement new methods for Intel and PLX NTB.
This restores parity with AMD NTB driver. Though without any drivers supporting more then one peer and respective KPI modification to pass
MFC r351072: Implement new methods for Intel and PLX NTB.
This restores parity with AMD NTB driver. Though without any drivers supporting more then one peer and respective KPI modification to pass peer index to most of the calls this addition is pretty useless now.
show more ...
|
| 3dcd9d78 | 02-Sep-2017 |
Alexander Motin <[email protected]> |
Increase negotiation polling period from 10ms to 100ms.
There is no big need to burn CPU if other side may be not there yet. For example, the PLX hardware by default enables the NTB link up on rese
Increase negotiation polling period from 10ms to 100ms.
There is no big need to burn CPU if other side may be not there yet. For example, the PLX hardware by default enables the NTB link up on reset, not dependig on driver to do it. In case of Intel hardware this also reduces race between MSI-X workaround negotiation and upper layers, using the same scratchpad registers in different time.
MFC after: 12 days
show more ...
|
| c7dabb65 | 31-Aug-2017 |
Alexander Motin <[email protected]> |
Make ntb_set_ctx() always generate fake link event.
It allows application driver get initial link state without racing with hardware interrupts, thanks to the context rmlock held here.
MFC after: 1
Make ntb_set_ctx() always generate fake link event.
It allows application driver get initial link state without racing with hardware interrupts, thanks to the context rmlock held here.
MFC after: 1 week Sponsored by: iXsystems, Inc.
show more ...
|
| ba4b25cb | 31-Aug-2017 |
Alexander Motin <[email protected]> |
Make ntb_transport(4) ready receive early link events.
Those events may be reported as soon as callback is registered, if the link is enabled by hardware or some other application.
While there, cle
Make ntb_transport(4) ready receive early link events.
Those events may be reported as soon as callback is registered, if the link is enabled by hardware or some other application.
While there, clean link_is_up variable on link down event.
MFC after: 1 week
show more ...
|