Home
last modified time | relevance | path

Searched refs:primary_address_path (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.c683 MLX5_SET(qpc, qpc, primary_address_path.pkey_index, MLX5_FPGA_PKEY_INDEX); in mlx5_fpga_conn_init_qp()
684 MLX5_SET(qpc, qpc, primary_address_path.vhca_port_num, MLX5_FPGA_PORT_NUM); in mlx5_fpga_conn_init_qp()
712 MLX5_SET(qpc, qpc, primary_address_path.pkey_index, MLX5_FPGA_PKEY_INDEX); in mlx5_fpga_conn_rtr_qp()
713 MLX5_SET(qpc, qpc, primary_address_path.vhca_port_num, MLX5_FPGA_PORT_NUM); in mlx5_fpga_conn_rtr_qp()
714 ether_addr_copy(MLX5_ADDR_OF(qpc, qpc, primary_address_path.rmac_47_32), in mlx5_fpga_conn_rtr_qp()
716 MLX5_SET(qpc, qpc, primary_address_path.udp_sport, in mlx5_fpga_conn_rtr_qp()
718 MLX5_SET(qpc, qpc, primary_address_path.src_addr_index, in mlx5_fpga_conn_rtr_qp()
720 MLX5_SET(qpc, qpc, primary_address_path.hop_limit, 0); in mlx5_fpga_conn_rtr_qp()
721 memcpy(MLX5_ADDR_OF(qpc, qpc, primary_address_path.rgid_rip), in mlx5_fpga_conn_rtr_qp()
723 MLX5_FLD_SZ_BYTES(qpc, primary_address_path.rgid_rip)); in mlx5_fpga_conn_rtr_qp()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c914 MLX5_SET(qpc, qpc, primary_address_path.vhca_port_num, port); in dr_modify_qp_rst2init()
938 MLX5_SET(qpc, qpc, primary_address_path.ack_timeout, 0x8); /* ~1ms */ in dr_cmd_modify_qp_rtr2rts()
960 memcpy(MLX5_ADDR_OF(qpc, qpc, primary_address_path.rmac_47_32), in dr_cmd_modify_qp_init2rtr()
962 memcpy(MLX5_ADDR_OF(qpc, qpc, primary_address_path.rgid_rip), in dr_cmd_modify_qp_init2rtr()
964 MLX5_SET(qpc, qpc, primary_address_path.src_addr_index, in dr_cmd_modify_qp_init2rtr()
968 MLX5_SET(qpc, qpc, primary_address_path.udp_sport, in dr_cmd_modify_qp_init2rtr()
971 MLX5_SET(qpc, qpc, primary_address_path.vhca_port_num, attr->port_num); in dr_cmd_modify_qp_init2rtr()
972 MLX5_SET(qpc, qpc, primary_address_path.fl, attr->fl); in dr_cmd_modify_qp_init2rtr()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c213 MLX5_SET(qpc, qpc, primary_address_path.pkey_index, in mlx5i_init_underlay_qp()
215 MLX5_SET(qpc, qpc, primary_address_path.vhca_port_num, 1); in mlx5i_init_underlay_qp()
291 addr_path = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in mlx5i_create_underlay_qp()
/linux-6.6.21/drivers/vfio/pci/mlx5/
Dcmd.c1131 MLX5_SET(qpc, qpc, primary_address_path.vhca_port_num, 1); in mlx5vf_activate_qp()
1157 MLX5_SET(qpc, qpc, primary_address_path.vhca_port_num, 1); in mlx5vf_activate_qp()
1158 MLX5_SET(qpc, qpc, primary_address_path.fl, 1); in mlx5vf_activate_qp()
1171 MLX5_SET(qpc, qpc, primary_address_path.ack_timeout, 0x8); /* ~1ms */ in mlx5vf_activate_qp()
/linux-6.6.21/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c1006 pp = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in alloc_inout()
1024 pp = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in alloc_inout()
1039 pp = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in alloc_inout()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dqp.c4221 pri_path = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in __mlx5_ib_modify_qp()
4976 pri_path = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in query_qp_attr()
/linux-6.6.21/include/linux/mlx5/
Dmlx5_ifc.h3302 struct mlx5_ifc_ads_bits primary_address_path; member