Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c613 MLX5_SET(qpc, qpc, primary_address_path.vhca_port_num, port); in dr_modify_qp_rst2init()
637 MLX5_SET(qpc, qpc, primary_address_path.ack_timeout, 0x8); /* ~1ms */ in dr_cmd_modify_qp_rtr2rts()
659 memcpy(MLX5_ADDR_OF(qpc, qpc, primary_address_path.rmac_47_32), in dr_cmd_modify_qp_init2rtr()
661 memcpy(MLX5_ADDR_OF(qpc, qpc, primary_address_path.rgid_rip), in dr_cmd_modify_qp_init2rtr()
663 MLX5_SET(qpc, qpc, primary_address_path.src_addr_index, in dr_cmd_modify_qp_init2rtr()
667 MLX5_SET(qpc, qpc, primary_address_path.udp_sport, in dr_cmd_modify_qp_init2rtr()
670 MLX5_SET(qpc, qpc, primary_address_path.vhca_port_num, attr->port_num); in dr_cmd_modify_qp_init2rtr()
671 MLX5_SET(qpc, qpc, primary_address_path.fl, attr->fl); in dr_cmd_modify_qp_init2rtr()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c214 MLX5_SET(qpc, qpc, primary_address_path.pkey_index, in mlx5i_init_underlay_qp()
216 MLX5_SET(qpc, qpc, primary_address_path.vhca_port_num, 1); in mlx5i_init_underlay_qp()
292 addr_path = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in mlx5i_create_underlay_qp()
/linux-6.1.9/drivers/vfio/pci/mlx5/
Dcmd.c870 MLX5_SET(qpc, qpc, primary_address_path.vhca_port_num, 1); in mlx5vf_activate_qp()
896 MLX5_SET(qpc, qpc, primary_address_path.vhca_port_num, 1); in mlx5vf_activate_qp()
897 MLX5_SET(qpc, qpc, primary_address_path.fl, 1); in mlx5vf_activate_qp()
910 MLX5_SET(qpc, qpc, primary_address_path.ack_timeout, 0x8); /* ~1ms */ in mlx5vf_activate_qp()
/linux-6.1.9/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c974 pp = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in alloc_inout()
992 pp = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in alloc_inout()
1007 pp = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in alloc_inout()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqp.c4106 pri_path = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in __mlx5_ib_modify_qp()
4860 pri_path = MLX5_ADDR_OF(qpc, qpc, primary_address_path); in query_qp_attr()
/linux-6.1.9/include/linux/mlx5/
Dmlx5_ifc.h3215 struct mlx5_ifc_ads_bits primary_address_path; member