File Index
Files and directories
Sign in
FILE

dmah.h

File preview with syntax highlighting.

linux-6.19.14/drivers/infiniband/hw/mlx5/dmah.h C
 1/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
 2/*
 3 * Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved
 4 */
 5
 6#ifndef _MLX5_IB_DMAH_H
 7#define _MLX5_IB_DMAH_H
 8
 9#include "mlx5_ib.h"
10
11extern const struct ib_device_ops mlx5_ib_dev_dmah_ops;
12
13struct mlx5_ib_dmah {
14	struct ib_dmah ibdmah;
15	u16 st_index;
16};
17
18static inline struct mlx5_ib_dmah *to_mdmah(struct ib_dmah *ibdmah)
19{
20	return container_of(ibdmah, struct mlx5_ib_dmah, ibdmah);
21}
22
23#endif /* _MLX5_IB_DMAH_H */
~/ Read-only file preview.