mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-06-29 23:43:21 -04:00
v5.20 pull request
This PR includes a new RDMA driver for Alibaba Cloud hardware - Bug fixes and small features for irdma, hns, siw, qedr, hfi1, mlx5 - General spelling/grammer fixes - rdma cm can follow changes in neighbours for control packets - Significant amounts of rxe fixes and spec compliance changes - Use the modern NAPI API - Use the bitmap API instead of open coding - Performance improvements for rtrs - Add the ERDMA driver for Alibaba cloud - Fix a use after free bug in SRP -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRRRCHOFoQz/8F5bUaFwuHvBreFYQUCYuwAuAAKCRCFwuHvBreF YcRDAQC41YJNs7xve7r62/E6M+o/AXiwXa+m8rGRvcP3mdilNAEAhdom6HskenMZ /sopeBWF78M9plLvNzWkwukaqIwrXgM= =abuq -----END PGP SIGNATURE----- Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma Pull rdma updates from Jason Gunthorpe: "This cycle we got a new RDMA driver "ERDMA" for the Alibaba cloud environment. Otherwise the changes are dominated by rxe fixes. There is another RDMA driver on the list that might get merged next cycle, 'MANA' for the Azure cloud environment. Summary: - Bug fixes and small features for irdma, hns, siw, qedr, hfi1, mlx5 - General spelling/grammer fixes - rdma cm can follow changes in neighbours for control packets - Significant amounts of rxe fixes and spec compliance changes - Use the modern NAPI API - Use the bitmap API instead of open coding - Performance improvements for rtrs - Add the ERDMA driver for Alibaba cloud - Fix a use after free bug in SRP" * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (99 commits) RDMA/ib_srpt: Unify checking rdma_cm_id condition in srpt_cm_req_recv() RDMA/rxe: Fix error unwind in rxe_create_qp() RDMA/mlx5: Add missing check for return value in get namespace flow RDMA/rxe: Split qp state for requester and completer RDMA/rxe: Generate error completion for error requester QP state RDMA/rxe: Update wqe_index for each wqe error completion RDMA/srpt: Fix a use-after-free RDMA/srpt: Introduce a reference count in struct srpt_device RDMA/srpt: Duplicate port name members IB/qib: Fix repeated "in" within comments RDMA/erdma: Add driver to kernel build environment RDMA/erdma: Add the ABI definitions RDMA/erdma: Add the erdma module RDMA/erdma: Add connection management (CM) support RDMA/erdma: Add verbs implementation RDMA/erdma: Add verbs header file RDMA/erdma: Add event queue implementation RDMA/erdma: Add cmdq implementation RDMA/erdma: Add main include file RDMA/erdma: Add the hardware related definitions ...
This commit is contained in:
commit
e495274793
95 changed files with 8369 additions and 1008 deletions
49
include/uapi/rdma/erdma-abi.h
Normal file
49
include/uapi/rdma/erdma-abi.h
Normal file
|
@ -0,0 +1,49 @@
|
|||
/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
|
||||
/*
|
||||
* Copyright (c) 2020-2022, Alibaba Group.
|
||||
*/
|
||||
|
||||
#ifndef __ERDMA_USER_H__
|
||||
#define __ERDMA_USER_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#define ERDMA_ABI_VERSION 1
|
||||
|
||||
struct erdma_ureq_create_cq {
|
||||
__aligned_u64 db_record_va;
|
||||
__aligned_u64 qbuf_va;
|
||||
__u32 qbuf_len;
|
||||
__u32 rsvd0;
|
||||
};
|
||||
|
||||
struct erdma_uresp_create_cq {
|
||||
__u32 cq_id;
|
||||
__u32 num_cqe;
|
||||
};
|
||||
|
||||
struct erdma_ureq_create_qp {
|
||||
__aligned_u64 db_record_va;
|
||||
__aligned_u64 qbuf_va;
|
||||
__u32 qbuf_len;
|
||||
__u32 rsvd0;
|
||||
};
|
||||
|
||||
struct erdma_uresp_create_qp {
|
||||
__u32 qp_id;
|
||||
__u32 num_sqe;
|
||||
__u32 num_rqe;
|
||||
__u32 rq_offset;
|
||||
};
|
||||
|
||||
struct erdma_uresp_alloc_ctx {
|
||||
__u32 dev_id;
|
||||
__u32 pad;
|
||||
__u32 sdb_type;
|
||||
__u32 sdb_offset;
|
||||
__aligned_u64 sdb;
|
||||
__aligned_u64 rdb;
|
||||
__aligned_u64 cdb;
|
||||
};
|
||||
|
||||
#endif
|
|
@ -250,6 +250,7 @@ enum rdma_driver_id {
|
|||
RDMA_DRIVER_QIB,
|
||||
RDMA_DRIVER_EFA,
|
||||
RDMA_DRIVER_SIW,
|
||||
RDMA_DRIVER_ERDMA,
|
||||
};
|
||||
|
||||
enum ib_uverbs_gid_type {
|
||||
|
|
|
@ -228,6 +228,7 @@ enum mlx5_ib_objects {
|
|||
MLX5_IB_OBJECT_VAR,
|
||||
MLX5_IB_OBJECT_PP,
|
||||
MLX5_IB_OBJECT_UAR,
|
||||
MLX5_IB_OBJECT_STEERING_ANCHOR,
|
||||
};
|
||||
|
||||
enum mlx5_ib_flow_matcher_create_attrs {
|
||||
|
@ -248,6 +249,22 @@ enum mlx5_ib_flow_matcher_methods {
|
|||
MLX5_IB_METHOD_FLOW_MATCHER_DESTROY,
|
||||
};
|
||||
|
||||
enum mlx5_ib_flow_steering_anchor_create_attrs {
|
||||
MLX5_IB_ATTR_STEERING_ANCHOR_CREATE_HANDLE = (1U << UVERBS_ID_NS_SHIFT),
|
||||
MLX5_IB_ATTR_STEERING_ANCHOR_FT_TYPE,
|
||||
MLX5_IB_ATTR_STEERING_ANCHOR_PRIORITY,
|
||||
MLX5_IB_ATTR_STEERING_ANCHOR_FT_ID,
|
||||
};
|
||||
|
||||
enum mlx5_ib_flow_steering_anchor_destroy_attrs {
|
||||
MLX5_IB_ATTR_STEERING_ANCHOR_DESTROY_HANDLE = (1U << UVERBS_ID_NS_SHIFT),
|
||||
};
|
||||
|
||||
enum mlx5_ib_steering_anchor_methods {
|
||||
MLX5_IB_METHOD_STEERING_ANCHOR_CREATE = (1U << UVERBS_ID_NS_SHIFT),
|
||||
MLX5_IB_METHOD_STEERING_ANCHOR_DESTROY,
|
||||
};
|
||||
|
||||
enum mlx5_ib_device_query_context_attrs {
|
||||
MLX5_IB_ATTR_QUERY_CONTEXT_RESP_UCTX = (1U << UVERBS_ID_NS_SHIFT),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue