Skip to content
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: linux-rdma/rdma-core
base: master
Choose a base ref
...
head repository: linux-rdma/rdma-core
compare: stable-v50
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 15 commits
  • 27 files changed
  • 10 contributors

Commits on Feb 6, 2024

  1. stable branch creation

    Add ABI files and tune Azure pipeline for changelog generation
    
    Signed-off-by: Nicolas Morey <[email protected]>
    nmorey committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    f8f9501 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. buildlib: fix azure regexp to trigger builds for v5*

    Signed-off-by: Nicolas Morey <[email protected]>
    nmorey committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    d623971 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. bnxt_re/lib: Fix the toggle bit changes in resize cq path

    [ Upstream commit 4a85843 ]
    
    Toggle bit to be used in cut off ack Doorbell needs to
    be copied from the Cut off CQ entry. Fix the same.
    
    Also, format the variable declarations to reverse xmas tree style.
    
    Fixes: d5d79c8 ("bnxt_re/lib: Get the shared CQ toggle page")
    Signed-off-by: Selvin Xavier <[email protected]>
    Signed-off-by: Nicolas Morey <[email protected]>
    selvintxavier authored and nmorey committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    4dda2a3 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. debian: fix minimum version for new libibnetdisc symbols

    [ Upstream commit 1825086 ]
    
    The libibnetdisc symbols `ibnd_(get|dump)_agg_linkspeedext*` were added
    in rdma-core version 49.0, but version 1.6.1 was falsely declared as
    required minimum.
    
    Fixes: d01b21b ("ibnetdisc: Adding support XDR speed and collect aggregated values of LinkSpeedExt & LinkSpeedExt2 groups field")
    Signed-off-by: Benjamin Drung <[email protected]>
    Signed-off-by: Nicolas Morey <[email protected]>
    bdrung authored and nmorey committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    e456589 View commit details
    Browse the repository at this point in the history
  2. providers/qedr: Fix qelr_alloc_context error flow

    [ Upstream commit 7ffc47d ]
    
    Fix the error flow of qelr_alloc_context() by making sure to free the
    allocated resources.
    
    Fixes: cae4a99 ("libqedr: add support for XRC-SRQ's.")
    Signed-off-by: Kamal Heib <[email protected]>
    Signed-off-by: Nicolas Morey <[email protected]>
    Kamalheib authored and nmorey committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    9431e77 View commit details
    Browse the repository at this point in the history
  3. librdmacm: adjust ECE function name in man page

    [ Upstream commit 1a302c7 ]
    
    Replace `ibv_get_ece()` with `ibv_query_ece()`.
    
    Fixes: 97f8668 ("librdmacm: Document ECE API")
    Signed-off-by: Honggang LI <[email protected]>
    Signed-off-by: Nicolas Morey <[email protected]>
    Honggang-LI authored and nmorey committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    1d87342 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. mlx5: DR, Using sq ts format when RoCE is disabled

    [ Upstream commit cebd491 ]
    
    When creating a QP in SW steering, one of the attributes is TS format
    (timestamp). In some devices, we have a limitation that all QPs should
    have the same ts_format.
    
    The qp_ts_format cap resides under the RoCE caps table, and the cap is
    not queried when RoCE is disabled.
    Consider the case when the system is configured to run with REAL_TIME_TS
    format (0x2), some QPs are created, and we disable RoCE.
    When trying to construct a new QP, we can't use the qp_ts_format, that
    is queried from the RoCE caps table.
    That leads to passing 0x0 (FREE_RUNNING_TS) as the value of the
    qp_ts_format, which is different than the ts_format of the previous QPs
    REAL_TIME_TS format (0x2) and the creation will fail.
    
    To resolve this, we will read the sq_ts_format, which also reflect the
    supported ts format for the QP when RoCE is disabled, and override it
    with qp_ts_format from the RoCE caps table if RoCE is enabled.
    
    Fixes: ed504ab ("mlx5: DR, Set QP timestamp mode to default")
    Signed-off-by: Itamar Gozlan <[email protected]>
    Signed-off-by: Alex Vesker <[email protected]>
    Signed-off-by: Yishai Hadas <[email protected]>
    Signed-off-by: Nicolas Morey <[email protected]>
    Itamar-Gozlan authored and nmorey committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    703dff5 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. libhns: Remove unused return value

    [ Upstream commit 9e1847c ]
    
    parse_cqe_for_resp() will never fail and always returns 0. Remove the
    unused return value.
    
    Fixes: 061f7e1 ("libhns: Refactor the poll one interface")
    Signed-off-by: Junxian Huang <[email protected]>
    Signed-off-by: Nicolas Morey <[email protected]>
    Junxian Huang authored and nmorey committed May 27, 2024
    Configuration menu
    Copy the full SHA
    3a84ee0 View commit details
    Browse the repository at this point in the history
  2. libhns: Fix owner bit when SQ wraps around in new IO

    [ Upstream commit 0067aad ]
    
    Commit c292b78 ("libhns: Fix the owner bit error of sq in new io")
    fixed a bug that the SQ head was updated before the owner bit was filled
    in WQE, but only when using ibv_wr_set_sge(). Actually this bug still
    exists in other ibv_wr_set_*().
    
    For example, in the flow below, the driver will fill the owner bit in
    ibv_wr_rdma_write(), but mistakenly overwrite it again in
    ibv_wr_set_sge_list() or ibv_wr_set_inline_data_list().
    
    ```c
    ibv_wr_start();
    ibv_wr_rdma_write();
    if (inline)
        ibv_wr_set_inline_data_list();
    else
        ibv_wr_set_sge_list();
    ibv_wr_complete();
    ```
    
    When the SQ wraps around, the overwritten value will be incorrect.
    Remove all the incorrect owner bit filling in ibv_wr_set_*().
    
    Fixes: 36446a5 ("libhns: Extended QP supports the new post send mechanism")
    Fixes: c292b78 ("libhns: Fix the owner bit error of sq in new io")
    Signed-off-by: Chengchang Tang <[email protected]>
    Signed-off-by: Junxian Huang <[email protected]>
    Signed-off-by: Nicolas Morey <[email protected]>
    Chengchang Tang authored and nmorey committed May 27, 2024
    Configuration menu
    Copy the full SHA
    89219a8 View commit details
    Browse the repository at this point in the history
  3. libhns: Clean up signed-unsigned mix with relational issue

    [ Upstream commit 7947512 ]
    
    Clean up signed-unsigned mix with relational issue.
    
    Fixes: 36446a5 ("libhns: Extended QP supports the new post send mechanism")
    Signed-off-by: Junxian Huang <[email protected]>
    Signed-off-by: Nicolas Morey <[email protected]>
    Junxian Huang authored and nmorey committed May 27, 2024
    Configuration menu
    Copy the full SHA
    93fac3c View commit details
    Browse the repository at this point in the history
  4. librdmacm: Ack the pending event in sync UD connection

    [ Upstream commit 9a0fc3a ]
    
    When the server accepts a UD connection request in sync mode,
    the event needs to be acked, otherwise destroying the
    listening id would get stuck because there is a pending event.
    For RC, the event is acked in ucma_complete().
    
    Fixes: 332b203 ("librdmacm: Do not wait in rdma_accept for UD QPs")
    Signed-off-by: Oren Sidi <[email protected]>
    Reviewed-by: Leon Romanovsky <[email protected]>
    Reviewed-by: Sean Hefty <[email protected]>
    Signed-off-by: Yishai Hadas <[email protected]>
    Signed-off-by: Nicolas Morey <[email protected]>
    Oren Sidi authored and nmorey committed May 27, 2024
    Configuration menu
    Copy the full SHA
    7db89c7 View commit details
    Browse the repository at this point in the history
  5. librdmacm: Fix an overflow bug in qsort comparison function

    [ Upstream commit c4a5ac8 ]
    
    The comparison function dev_cmp() doesn't work with 64b pointers in some
    cases, as it casts the pointer to int. For example it's not able to sort
    this list:
      {0xfffe0c2f0b00, 0xaaac741b4a90, 0xaaac741b4d70}
    
    Fixes: e5d371c ("librdmacm: Globally store and sort IB device list")
    Signed-off-by: Mark Zhang <[email protected]>
    Reviewed-by: Leon Romanovsky <[email protected]>
    Signed-off-by: Yishai Hadas <[email protected]>
    Signed-off-by: Nicolas Morey <[email protected]>
    MarkZhang81 authored and nmorey committed May 27, 2024
    Configuration menu
    Copy the full SHA
    343e8a3 View commit details
    Browse the repository at this point in the history
  6. libhns: Fix several context locks issue

    [ Upstream commit 6772962 ]
    
    Fix several context lock issue:
    
    1. db_list_mutex is used without init currently. Add its init to
       hns_roce_alloc_context().
    
    2. pthread_mutex_init()/pthread_spin_init() may return error value.
       Check the return value in hns_roce_alloc_context().
    
    3. Add destruction for these context locks.
    
    4. Encapsulate init and destruction functions for these context locks.
    
    Fixes: 13eae88 ("libhns: Support rq record doorbell")
    Fixes: 887b78c ("libhns: Add initial main frame")
    Signed-off-by: Junxian Huang <[email protected]>
    Signed-off-by: Nicolas Morey <[email protected]>
    Junxian Huang authored and nmorey committed May 27, 2024
    Configuration menu
    Copy the full SHA
    1426311 View commit details
    Browse the repository at this point in the history
  7. bnxt_re/lib: Fix the stride calculation for MSN/PSN area

    [ Upstream commit 65197a4 ]
    
    Library expects ilog2 of psn_size while calculating the stride.
    ilog32 returns log2(v) + 1 and the calculation fails since
    the psn size is a power of 2 value. Fix by passing psn_size - 1.
    
    Fixes: 0a0e0d0 ("bnxt_re/lib: Adds MSN table capability for Gen P7 adapters")
    Signed-off-by: Selvin Xavier <[email protected]>
    Signed-off-by: Nicolas Morey <[email protected]>
    selvintxavier authored and nmorey committed May 27, 2024
    Configuration menu
    Copy the full SHA
    336e55b View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. Bump to version 50.1

    Signed-off-by: Nicolas Morey <[email protected]>
    nmorey committed May 29, 2024
    Configuration menu
    Copy the full SHA
    acfb09e View commit details
    Browse the repository at this point in the history