Home
last modified time | relevance | path

Searched refs:ib_mtu (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_param.h12 static inline enum ib_mtu rxe_mtu_int_to_enum(int mtu) in rxe_mtu_int_to_enum()
29 static inline enum ib_mtu eth_mtu_int_to_enum(int mtu) in eth_mtu_int_to_enum()
Drxe.c223 enum ib_mtu mtu; in rxe_set_mtu()
228 mtu = mtu ? min_t(enum ib_mtu, mtu, IB_MTU_4096) : IB_MTU_256; in rxe_set_mtu()
Drxe_qp.c446 enum ib_mtu max_mtu = port->attr.max_mtu; in rxe_qp_chk_attr()
447 enum ib_mtu mtu = attr->path_mtu; in rxe_qp_chk_attr()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma.h325 static inline enum pvrdma_mtu ib_mtu_to_pvrdma(enum ib_mtu mtu) in ib_mtu_to_pvrdma()
330 static inline enum ib_mtu pvrdma_mtu_to_ib(enum pvrdma_mtu mtu) in pvrdma_mtu_to_ib()
332 return (enum ib_mtu)mtu; in pvrdma_mtu_to_ib()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
Dipoib.h462 #define IPOIB_UD_MTU(ib_mtu) (ib_mtu - IPOIB_ENCAP_LEN) argument
463 #define IPOIB_UD_BUF_SIZE(ib_mtu) (ib_mtu + IB_GRH_BYTES) argument
/kernel/linux/linux-5.10/net/smc/
Dsmc_core.h116 enum ib_mtu path_mtu; /* used mtu */
117 enum ib_mtu peer_mtu; /* mtu size of peer */
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dfw.h53 int ib_mtu; member
Dfw.c1160 dev_cap->local_ca_ack_delay, 128 << dev_cap->port_cap[1].ib_mtu, in mlx4_dev_cap_dump()
1210 port_cap->ib_mtu = field >> 4; in mlx4_QUERY_PORT()
1241 port_cap->ib_mtu = field & 0xf; in mlx4_QUERY_PORT()
Dmain.c401 dev->caps.ib_mtu_cap[port] = port_cap->ib_mtu; in _mlx4_dev_port()
/kernel/linux/linux-5.10/include/rdma/
Dib_addr.h173 static inline enum ib_mtu iboe_get_mtu(int mtu) in iboe_get_mtu()
Dib_verbs.h434 enum ib_mtu { enum
447 static inline int ib_mtu_enum_to_int(enum ib_mtu mtu) in ib_mtu_enum_to_int()
459 static inline enum ib_mtu ib_mtu_int_to_enum(int mtu) in ib_mtu_int_to_enum()
481 return(ib_mtu_enum_to_int((enum ib_mtu)mtu)); in opa_mtu_enum_to_int()
657 enum ib_mtu max_mtu;
658 enum ib_mtu active_mtu;
1263 enum ib_mtu path_mtu;
3368 return ib_mtu_enum_to_int((enum ib_mtu)mtu); in rdma_mtu_enum_to_int()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dqp.c194 static inline int verbs_mtu_enum_to_int(struct ib_device *dev, enum ib_mtu mtu) in verbs_mtu_enum_to_int()
197 if (mtu == (enum ib_mtu)OPA_MTU_10240) in verbs_mtu_enum_to_int()
198 mtu = (enum ib_mtu)OPA_MTU_8192; in verbs_mtu_enum_to_int()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_device.h660 enum ib_mtu path_mtu;
820 enum ib_mtu max_mtu;
907 enum ib_mtu mtu);
Dhns_roce_main.c233 enum ib_mtu mtu; in hns_roce_query_port()
Dhns_roce_qp.c1081 enum ib_mtu active_mtu; in check_mtu_validate()
Dhns_roce_hw_v2.c4153 static inline enum ib_mtu get_mtu(struct ib_qp *ibqp, in get_mtu()
4173 enum ib_mtu mtu; in modify_qp_init_to_rtr()
4937 qp_attr->path_mtu = (enum ib_mtu)roce_get_field(context.byte_24_mtu_tc, in hns_roce_v2_query_qp()
Dhns_roce_hw_v1.c1743 enum ib_mtu mtu) in hns_roce_v1_set_mtu()
3431 qp_attr->path_mtu = (enum ib_mtu)roce_get_field(context->qpc_bytes_48, in hns_roce_v1_q_qp()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c29 enum ib_mtu mtu;
655 enum ib_mtu mtu = IB_MTU_1024; in dr_prepare_qp_to_rts()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_verbs.c1197 enum ib_mtu mtu; in qib_query_port()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c1532 static u32 __from_ib_mtu(enum ib_mtu mtu) in __from_ib_mtu()
1550 static enum ib_mtu __to_ib_mtu(u32 mtu) in __to_ib_mtu()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1424 static enum ib_mtu ocrdma_mtu_int_to_enum(u16 mtu) in ocrdma_mtu_int_to_enum()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmain.c760 enum ib_mtu tmp; in eth_link_query_port()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcm.c276 enum ib_mtu path_mtu;
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmain.c456 enum ib_mtu ndev_ib_mtu; in mlx5_query_port_roce()