Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/fpga/
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 …]
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()
762 MLX5_SET(fpga_qpc, conn->fpga_qpc, state, MLX5_FPGA_QPC_STATE_ACTIVE); in mlx5_fpga_conn_connect()
764 MLX5_FPGA_QPC_STATE, &conn->fpga_qpc); in mlx5_fpga_conn_connect()
802 MLX5_SET(fpga_qpc, conn->fpga_qpc, state, MLX5_FPGA_QPC_STATE_INIT); in mlx5_fpga_conn_connect()
804 MLX5_FPGA_QPC_STATE, &conn->fpga_qpc)) in mlx5_fpga_conn_connect()
833 remote_mac = MLX5_ADDR_OF(fpga_qpc, conn->fpga_qpc, remote_mac_47_32); in mlx5_fpga_conn_create()
842 remote_ip = MLX5_ADDR_OF(fpga_qpc, conn->fpga_qpc, remote_ip); in mlx5_fpga_conn_create()
[all …]
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);
Dconn.h51 u32 fpga_qpc[MLX5_ST_SZ_DW(fpga_qpc)]; member