-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: allenbh/linux
base: master
head repository: allenbh/linux
compare: ntb/pu
- 11 commits
- 7 files changed
- 3 contributors
Commits on Aug 25, 2015
-
Add the new NTB mailing list to MAINTAINERS Signed-off-by: Jon Mason <jdmason@kudzu.us>
Configuration menu - View commit details
-
Copy full SHA for c83d890 - Browse repository at this point
Copy the full SHA c83d890View commit details -
NTB: Add flow control to the ntb_netdev
Right now if we push the NTB really hard, we start dropping packets due to not able to process the packets fast enough. We need to st:qop the upper layer from flooding us when that happens. A timer is necessary in order to restart the queue once the resource has been processed on the receive side. Due to the way NTB is setup, the resources on the tx side are tied to the processing of the rx side and there's no async way to know when the rx side has released those resources. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Configuration menu - View commit details
-
Copy full SHA for 486a0c7 - Browse repository at this point
Copy the full SHA 486a0c7View commit details -
NTB: Add PCI Device IDs for Broadwell Xeon
Adding PCI Device IDs for B2B (back to back), RP (root port, primary), and TB (transparent bridge, secondary) devices. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Configuration menu - View commit details
-
Copy full SHA for b403722 - Browse repository at this point
Copy the full SHA b403722View commit details -
NTB: Make the transport list in order of discovery
The list should be added from the bottom and not the top in order to ensure the transport is provided in the same order to clients as ntb devices are discovered. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Configuration menu - View commit details
-
Copy full SHA for 90c0482 - Browse repository at this point
Copy the full SHA 90c0482View commit details -
Make QP stats info more readable for debugging purposes. Also add an entry to indicate whether DMA is being used. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Configuration menu - View commit details
-
Copy full SHA for 577f2f8 - Browse repository at this point
Copy the full SHA 577f2f8View commit details -
NTB: Remove dma_sync_wait from ntb_async_rx
The dma_sync_wait can hurt the performance of workloads mixed with both large and small frames. Large frames will be copied using the dma engine. Small frames will be copied by the cpu. The dma_sync_wait prevents the cpu and dma engine copying in parallel. In the period where the cpu is copying, the dma engine is stopped. The dma engine is not doing any useful work to copy large frames during that time, and the additional time to restart the dma engine for the next large frame. This will decrease the throughput for the portion of a workload with large frames. In the period where the dma engine is copying, the cpu is held up waiting for dma to complete. The small frames processing will be delayed until the dma is complete. The RX frames are completed in-order, and the processing of small frames takes very little time, so dma_sync_wait may have an insignificant impact on the respose time of frames. The more significant impact is to the system, because the delay in dma_sync_wait is implemented as busy non-blocking wait. This can prevent the delayed core from doing any useful work, even if it could be processing work for other drivers, unrelated to transport RX processing. After applying the earlier patch to fix out-of-order RX acknoledgement, the dma_sync_wait is no longer necessary. Remove it, so that cpu memcpy will proceed immediately for small frames, in parallel with ongoing dma for large frames. Do not hold up the cpu from doing work while dma is in progress. The prior fix will continue to ensure in-order completion of the RX frames to the upper layer, and in-order delivery of the RX acknoledgement. Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Configuration menu - View commit details
-
Copy full SHA for 624e033 - Browse repository at this point
Copy the full SHA 624e033View commit details -
NTB: Use unique DMA channels for TX and RX
Allocate two DMA channels, one for TX operation and one for RX operation, instead of having one DMA channel for everything. This provides slightly better performance, and also will make error handling cleaner later on. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Configuration menu - View commit details
-
Copy full SHA for f043c6a - Browse repository at this point
Copy the full SHA f043c6aView commit details -
NTB: Fix documentation for ntb_link_is_up
There was a copy and paste error in the documentation for ntb_link_is_up. The long description was mistakenly copied from ntb_link_set_trans. This adds the appropriate long description for ntb_link_is_up. Reported-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Configuration menu - View commit details
-
Copy full SHA for 533d489 - Browse repository at this point
Copy the full SHA 533d489View commit details -
NTB: Fix documentation for ntb_peer_db_clear.
The documentation should say "peer" not "local" when referring to the peer doorbell register. Reported-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Configuration menu - View commit details
-
Copy full SHA for 9923f28 - Browse repository at this point
Copy the full SHA 9923f28View commit details -
NTB: Improve index handling in B2B MW workaround
Check that b2b_mw_idx is in range of the number of memory windows when initializing the device. The workaround is considered to be in effect only if the device b2b_idx is exactly UINT_MAX, instead of any index past the last memory window. Only print B2B MW workaround information in debugfs if the workaround is in effect. Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com>
Allen Hubbe authored and Allen Hubbe committedAug 25, 2015 Configuration menu - View commit details
-
Copy full SHA for 635ee7c - Browse repository at this point
Copy the full SHA 635ee7cView commit details
Commits on Aug 31, 2015
-
NTB: Fix range check on memory window index
The range check must exclude the upper bound. Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com>
Allen Hubbe authored and Allen Hubbe committedAug 31, 2015 Configuration menu - View commit details
-
Copy full SHA for bbeb424 - Browse repository at this point
Copy the full SHA bbeb424View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...ntb/pu