Home
last modified time | relevance | path

Searched refs:fpga_qpc (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dcmd.c142 int mlx5_fpga_create_qp(struct mlx5_core_dev *dev, void *fpga_qpc, in mlx5_fpga_create_qp() argument
150 memcpy(MLX5_ADDR_OF(fpga_create_qp_in, in, fpga_qpc), fpga_qpc, in mlx5_fpga_create_qp()
151 MLX5_FLD_SZ_BYTES(fpga_create_qp_in, fpga_qpc)); in mlx5_fpga_create_qp()
157 memcpy(fpga_qpc, MLX5_ADDR_OF(fpga_create_qp_out, out, fpga_qpc), in mlx5_fpga_create_qp()
158 MLX5_FLD_SZ_BYTES(fpga_create_qp_out, fpga_qpc)); in mlx5_fpga_create_qp()
165 void *fpga_qpc) in mlx5_fpga_modify_qp() argument
172 memcpy(MLX5_ADDR_OF(fpga_modify_qp_in, in, fpga_qpc), fpga_qpc, in mlx5_fpga_modify_qp()
173 MLX5_FLD_SZ_BYTES(fpga_modify_qp_in, fpga_qpc)); in mlx5_fpga_modify_qp()
179 u32 fpga_qpn, void *fpga_qpc) in mlx5_fpga_query_qp() argument
192 memcpy(fpga_qpc, MLX5_ADDR_OF(fpga_query_qp_out, out, fpga_qpc), in mlx5_fpga_query_qp()
[all …]
H A Dconn.c711 MLX5_GET(fpga_qpc, conn->fpga_qpc, next_send_psn)); in mlx5_fpga_conn_rtr_qp()
715 MLX5_ADDR_OF(fpga_qpc, conn->fpga_qpc, fpga_mac_47_32)); in mlx5_fpga_conn_rtr_qp()
722 MLX5_ADDR_OF(fpga_qpc, conn->fpga_qpc, fpga_ip), in mlx5_fpga_conn_rtr_qp()
746 MLX5_GET(fpga_qpc, conn->fpga_qpc, next_rcv_psn)); in mlx5_fpga_conn_rts_qp()
887 MLX5_SET(fpga_qpc, conn->fpga_qpc, qp_type, qp_type); in mlx5_fpga_conn_create()
890 MLX5_SET(fpga_qpc, conn->fpga_qpc, vid, 0); in mlx5_fpga_conn_create()
891 MLX5_SET(fpga_qpc, conn->fpga_qpc, next_rcv_psn, 1); in mlx5_fpga_conn_create()
892 MLX5_SET(fpga_qpc, conn->fpga_qpc, next_send_psn, 0); in mlx5_fpga_conn_create()
893 MLX5_SET(fpga_qpc, conn->fpga_qpc, pkey, MLX5_FPGA_PKEY); in mlx5_fpga_conn_create()
895 MLX5_SET(fpga_qpc, conn->fpga_qpc, rnr_retry, 7); in mlx5_fpga_conn_create()
[all …]
H A Dcmd.h82 int mlx5_fpga_create_qp(struct mlx5_core_dev *dev, void *fpga_qpc,
85 enum mlx5_fpga_qpc_field_select fields, void *fpga_qpc);
86 int mlx5_fpga_query_qp(struct mlx5_core_dev *dev, u32 fpga_qpn, void *fpga_qpc);
H A Dconn.h51 u32 fpga_qpc[MLX5_ST_SZ_DW(fpga_qpc)]; member
/openbmc/linux/include/linux/mlx5/
H A Dmlx5_ifc_fpga.h243 struct mlx5_ifc_fpga_qpc_bits fpga_qpc; member
257 struct mlx5_ifc_fpga_qpc_bits fpga_qpc; member
272 struct mlx5_ifc_fpga_qpc_bits fpga_qpc; member
305 struct mlx5_ifc_fpga_qpc_bits fpga_qpc; member