Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 23 Nov 2024 04:03:57 +0000 (20:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 23 Nov 2024 04:03:57 +0000 (20:03 -0800)
Pull rdma updates from Jason Gunthorpe:
 "Seveal fixes scattered across the drivers and a few new features:

   - Minor updates and bug fixes to hfi1, efa, iopob, bnxt, hns

   - Force disassociate the userspace FD when hns does an async reset

   - bnxt new features for optimized modify QP to skip certain stayes,
     CQ coalescing, better debug dumping

   - mlx5 new data placement ordering feature

   - Faster destruction of mlx5 devx HW objects

   - Improvements to RDMA CM mad handling"

* tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (51 commits)
  RDMA/bnxt_re: Correct the sequence of device suspend
  RDMA/bnxt_re: Use the default mode of congestion control
  RDMA/bnxt_re: Support different traffic class
  IB/cm: Rework sending DREQ when destroying a cm_id
  IB/cm: Do not hold reference on cm_id unless needed
  IB/cm: Explicitly mark if a response MAD is a retransmission
  RDMA/mlx5: Move events notifier registration to be after device registration
  RDMA/bnxt_re: Cache MSIx info to a local structure
  RDMA/bnxt_re: Refurbish CQ to NQ hash calculation
  RDMA/bnxt_re: Refactor NQ allocation
  RDMA/bnxt_re: Fail probe early when not enough MSI-x vectors are reserved
  RDMA/hns: Fix different dgids mapping to the same dip_idx
  RDMA/bnxt_re: Add set_func_resources support for P5/P7 adapters
  RDMA/bnxt_re: Enhance RoCE SRIOV resource configuration design
  bnxt_en: Add support for RoCE sriov configuration
  RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()
  RDMA/hns: Fix out-of-order issue of requester when setting FENCE
  RDMA/nldev: Add IB device and net device rename events
  RDMA/mlx5: Add implementation for ufile_hw_cleanup device operation
  RDMA/core: Move ib_uverbs_file struct to uverbs_types.h
  ...

13 files changed:
1  2 
drivers/infiniband/core/nldev.c
drivers/infiniband/hw/bnxt_re/ib_verbs.c
drivers/infiniband/hw/bnxt_re/main.c
drivers/infiniband/hw/bnxt_re/qplib_fp.c
drivers/infiniband/hw/bnxt_re/qplib_fp.h
drivers/infiniband/hw/bnxt_re/qplib_rcfw.c
drivers/infiniband/hw/bnxt_re/qplib_rcfw.h
drivers/infiniband/hw/bnxt_re/qplib_sp.c
drivers/infiniband/hw/bnxt_re/qplib_sp.h
drivers/infiniband/hw/mlx5/qp.c
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
include/linux/mlx5/mlx5_ifc.h

Simple merge
index 9eb290ec71a85d47fa6a11213239eb6b8101e9c1,298c848f3a4dce6d26fc27269d80c1ea200e9ee5..b7af0d5ff3b642fb57e214459c6fdc38d6a20205
@@@ -333,8 -343,11 +340,8 @@@ static void bnxt_re_start_irq(void *han
        struct bnxt_qplib_nq *nq;
        int indx, rc;
  
 -      if (!en_info)
 -              return;
 -
        rdev = en_info->rdev;
-       msix_ent = rdev->en_dev->msix_entries;
+       msix_ent = rdev->nqr->msix_entries;
        rcfw = &rdev->rcfw;
        if (!ent) {
                /* Not setting the f/w timeout bit in rcfw.
@@@ -2074,14 -2377,10 +2372,7 @@@ static int bnxt_re_resume(struct auxili
        struct bnxt_re_en_dev_info *en_info = auxiliary_get_drvdata(adev);
        struct bnxt_re_dev *rdev;
  
 -      if (!en_info)
 -              return 0;
 -
        mutex_lock(&bnxt_re_mutex);
-       /* L2 driver may invoke this callback during device recovery, resume.
-        * reset. Current RoCE driver doesn't recover the device in case of
-        * error. Handle the error by dispatching fatal events to all qps
-        * ie. by calling bnxt_re_dev_stop and release the MSIx vectors as
-        * L2 driver want to modify the MSIx table.
-        */
        bnxt_re_add_device(adev, BNXT_RE_POST_RECOVERY_INIT);
        rdev = en_info->rdev;
        ibdev_info(&rdev->ibdev, "Device resume completed");
Simple merge
Simple merge
This page took 0.11556 seconds and 4 git commands to generate.