| 4517a570 | 06-Dec-2017 |
Serge Semin <[email protected]> |
NTB: ntb_test: Update ntb_perf tests
ntb_perf driver has been also updated so to have the multi-port interface support. User now must specify what peer port is going to be used to perform the test.
NTB: ntb_test: Update ntb_perf tests
ntb_perf driver has been also updated so to have the multi-port interface support. User now must specify what peer port is going to be used to perform the test.
Signed-off-by: Serge Semin <[email protected]> Signed-off-by: Jon Mason <[email protected]>
show more ...
|
| fa63be54 | 06-Dec-2017 |
Serge Semin <[email protected]> |
NTB: ntb_test: Update ntb_tool MW tests
There are devices (like IDT PCIe switches), which outbound MWs xlat address is setup on peer side. In this case local side is supposed to allocate a memory bu
NTB: ntb_test: Update ntb_tool MW tests
There are devices (like IDT PCIe switches), which outbound MWs xlat address is setup on peer side. In this case local side is supposed to allocate a memory buffer and somehow deliver the xlat DMA address to peer so one could set the outbound MW up. The MW test is altered so to support both previous Intel/AMD and new IDT-like devices.
Signed-off-by: Serge Semin <[email protected]> Signed-off-by: Jon Mason <[email protected]>
show more ...
|
| e770112b | 06-Dec-2017 |
Serge Semin <[email protected]> |
NTB: ntb_test: Add ntb_tool Message tests
Messages NTB API is now available. ntb_tool driver has been altered to perform messages send and receive operation. The test of messages read/write to/from
NTB: ntb_test: Add ntb_tool Message tests
Messages NTB API is now available. ntb_tool driver has been altered to perform messages send and receive operation. The test of messages read/write to/from peer device has been added to the script.
Signed-off-by: Serge Semin <[email protected]> Signed-off-by: Jon Mason <[email protected]>
show more ...
|
| 06bd0407 | 06-Dec-2017 |
Serge Semin <[email protected]> |
NTB: ntb_test: Update ntb_tool Scratchpad tests
Scratchpad NTB API has changed so has the ntb_tool driver. Outbound Scratchpad DebugFS files have been moved to peer specific directories. Each scratc
NTB: ntb_test: Update ntb_tool Scratchpad tests
Scratchpad NTB API has changed so has the ntb_tool driver. Outbound Scratchpad DebugFS files have been moved to peer specific directories. Each scratchpad is now available via separate file. The test code has been accordingly altered.
Signed-off-by: Serge Semin <[email protected]> Signed-off-by: Jon Mason <[email protected]>
show more ...
|
| 4e1ef427 | 06-Dec-2017 |
Serge Semin <[email protected]> |
NTB: ntb_test: Update ntb_tool DB tests
DB interface of ntb_tool driver hasn't been changed much, but db_valid_mask DebugFS file has still been added. In this case it's much better to test all valid
NTB: ntb_test: Update ntb_tool DB tests
DB interface of ntb_tool driver hasn't been changed much, but db_valid_mask DebugFS file has still been added. In this case it's much better to test all valid DB bits instead of using the predefined mask, which may be incorrect in general.
Signed-off-by: Serge Semin <[email protected]> Signed-off-by: Jon Mason <[email protected]>
show more ...
|
| 0298e5b9 | 06-Dec-2017 |
Serge Semin <[email protected]> |
NTB: ntb_test: Update ntb_tool link tests
Link Up and Down methods are used to change NTB link settings on local side only for multi-port devices. Link is considered up only if both sides local and
NTB: ntb_test: Update ntb_tool link tests
Link Up and Down methods are used to change NTB link settings on local side only for multi-port devices. Link is considered up only if both sides local and peer set it up. Intel/AMD hardware acts a bit different by assigning the Primary and Secondary roles, so Primary device only is able to change the link state. Such behaviour should be reflected in the test code.
Signed-off-by: Serge Semin <[email protected]> Signed-off-by: Jon Mason <[email protected]>
show more ...
|
| dd151d72 | 06-Dec-2017 |
Serge Semin <[email protected]> |
NTB: ntb_test: Add ntb_tool port tests
Multi-port interface is now available in ntb_tool driver. According to the new NTB API, there might be more than two devices connected over NTB. It means each
NTB: ntb_test: Add ntb_tool port tests
Multi-port interface is now available in ntb_tool driver. According to the new NTB API, there might be more than two devices connected over NTB. It means each device can have multiple freely enumerated ports. Each port got index assigned by NTB hardware driver. This test is performed to determine the local and peer ports as well as their indexes.
Signed-off-by: Serge Semin <[email protected]> Signed-off-by: Jon Mason <[email protected]>
show more ...
|
| 7c49c985 | 28-Dec-2016 |
Allen Hubbe <[email protected]> |
NTB: ntb_test: add parameter for doorbell bitmask
If the test attempts to clear doorbell bits that are invalid for the hardware, then the test will fail. Provide a parameter to specify the doorbell
NTB: ntb_test: add parameter for doorbell bitmask
If the test attempts to clear doorbell bits that are invalid for the hardware, then the test will fail. Provide a parameter to specify the doorbell bits to clear. Set default doorbell bits that work for XEON.
Signed-off-by: Allen Hubbe <[email protected]> Acked-by: Logan Gunthorpe <[email protected]> Signed-off-by: Jon Mason <[email protected]>
show more ...
|