Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: allenbh/linux
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
Loading
...
head repository: allenbh/linux
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ntb/pu
Choose a head ref
Loading
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 7 files changed
  • 3 contributors

Commits on Aug 25, 2015

  1. NTB: Add list to MAINTAINERS

    Add the new NTB mailing list to MAINTAINERS
    
    Signed-off-by: Jon Mason <jdmason@kudzu.us>
    jonmason committed Aug 25, 2015
    Configuration menu
    Copy the full SHA
    c83d890 View commit details
    Browse the repository at this point in the history
  2. 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>
    davejiang authored and jonmason committed Aug 25, 2015
    Configuration menu
    Copy the full SHA
    486a0c7 View commit details
    Browse the repository at this point in the history
  3. 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>
    davejiang authored and jonmason committed Aug 25, 2015
    Configuration menu
    Copy the full SHA
    b403722 View commit details
    Browse the repository at this point in the history
  4. 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>
    davejiang authored and jonmason committed Aug 25, 2015
    Configuration menu
    Copy the full SHA
    90c0482 View commit details
    Browse the repository at this point in the history
  5. NTB: Clean up QP stats info

    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>
    davejiang authored and jonmason committed Aug 25, 2015
    Configuration menu
    Copy the full SHA
    577f2f8 View commit details
    Browse the repository at this point in the history
  6. 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>
    Allen Hubbe authored and jonmason committed Aug 25, 2015
    Configuration menu
    Copy the full SHA
    624e033 View commit details
    Browse the repository at this point in the history
  7. 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>
    davejiang authored and jonmason committed Aug 25, 2015
    Configuration menu
    Copy the full SHA
    f043c6a View commit details
    Browse the repository at this point in the history
  8. 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>
    Allen Hubbe authored and jonmason committed Aug 25, 2015
    Configuration menu
    Copy the full SHA
    533d489 View commit details
    Browse the repository at this point in the history
  9. 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>
    Allen Hubbe authored and jonmason committed Aug 25, 2015
    Configuration menu
    Copy the full SHA
    9923f28 View commit details
    Browse the repository at this point in the history
  10. 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 committed Aug 25, 2015
    Configuration menu
    Copy the full SHA
    635ee7c View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2015

  1. 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 committed Aug 31, 2015
    Configuration menu
    Copy the full SHA
    bbeb424 View commit details
    Browse the repository at this point in the history
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.