Skip to content

Commit 7ede5f7

Browse files
committed
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
Pull rdma updates from Jason Gunthorpe: "This cycle saw a focus on rxe and bnxt_re drivers: - Code cleanups for irdma, rxe, rtrs, hns, vmw_pvrdma - rxe uses workqueues instead of tasklets - rxe has better compliance around access checks for MRs and rereg_mr - mana supportst he 'v2' FW interface for RX coalescing - hfi1 bug fix for stale cache entries in its MR cache - mlx5 buf fix to handle FW failures when destroying QPs - erdma HW has a new doorbell allocation mechanism for uverbs that is secure - Lots of small cleanups and rework in bnxt_re: - Use the common mmap functions - Support disassociation - Improve FW command flow - support for 'low latency push'" * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (71 commits) RDMA/bnxt_re: Fix an IS_ERR() vs NULL check RDMA/bnxt_re: Fix spelling mistake "priviledged" -> "privileged" RDMA/bnxt_re: Remove duplicated include in bnxt_re/main.c RDMA/bnxt_re: Refactor code around bnxt_qplib_map_rc() RDMA/bnxt_re: Remove incorrect return check from slow path RDMA/bnxt_re: Enable low latency push RDMA/bnxt_re: Reorg the bar mapping RDMA/bnxt_re: Move the interface version to chip context structure RDMA/bnxt_re: Query function capabilities from firmware RDMA/bnxt_re: Optimize the bnxt_re_init_hwrm_hdr usage RDMA/bnxt_re: Add disassociate ucontext support RDMA/bnxt_re: Use the common mmap helper functions RDMA/bnxt_re: Initialize opcode while sending message RDMA/cma: Remove NULL check before dev_{put, hold} RDMA/rxe: Simplify cq->notify code RDMA/rxe: Fixes mr access supported list RDMA/bnxt_re: optimize the parameters passed to helper functions RDMA/bnxt_re: remove redundant cmdq_bitmap RDMA/bnxt_re: use firmware provided max request timeout RDMA/bnxt_re: cancel all control path command waiters upon error ...
2 parents 31929ae + 5f004bc commit 7ede5f7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1955
-901
lines changed

drivers/infiniband/core/cma.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4805,8 +4805,7 @@ static void cma_make_mc_event(int status, struct rdma_id_private *id_priv,
48054805
event->param.ud.qkey = id_priv->qkey;
48064806

48074807
out:
4808-
if (ndev)
4809-
dev_put(ndev);
4808+
dev_put(ndev);
48104809
}
48114810

48124811
static int cma_ib_mc_handler(int status, struct ib_sa_multicast *multicast)

drivers/infiniband/hw/bnxt_re/bnxt_re.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939

4040
#ifndef __BNXT_RE_H__
4141
#define __BNXT_RE_H__
42+
#include <rdma/uverbs_ioctl.h>
4243
#include "hw_counters.h"
4344
#define ROCE_DRV_MODULE_NAME "bnxt_re"
4445

@@ -179,10 +180,14 @@ struct bnxt_re_dev {
179180
#define BNXT_RE_ROCEV2_IPV4_PACKET 2
180181
#define BNXT_RE_ROCEV2_IPV6_PACKET 3
181182

183+
#define BNXT_RE_CHECK_RC(x) ((x) && ((x) != -ETIMEDOUT))
184+
182185
static inline struct device *rdev_to_dev(struct bnxt_re_dev *rdev)
183186
{
184187
if (rdev)
185188
return &rdev->ibdev.dev;
186189
return NULL;
187190
}
191+
192+
extern const struct uapi_definition bnxt_re_uapi_defs[];
188193
#endif

0 commit comments

Comments
 (0)