Home
last modified time | relevance | path

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

/drivers/infiniband/sw/rxe/
Drxe_param.h37 static inline enum ib_mtu rxe_mtu_int_to_enum(int mtu) in rxe_mtu_int_to_enum()
54 static inline enum ib_mtu eth_mtu_int_to_enum(int mtu) in eth_mtu_int_to_enum()
Drxe.c291 enum ib_mtu mtu; in rxe_set_mtu()
296 mtu = mtu ? min_t(enum ib_mtu, mtu, IB_MTU_4096) : IB_MTU_256; in rxe_set_mtu()
Drxe_qp.c465 enum ib_mtu max_mtu = port->attr.max_mtu; in rxe_qp_chk_attr()
466 enum ib_mtu mtu = attr->path_mtu; in rxe_qp_chk_attr()
/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()
/drivers/infiniband/ulp/ipoib/
Dipoib.h458 #define IPOIB_UD_MTU(ib_mtu) (ib_mtu - IPOIB_ENCAP_LEN) argument
459 #define IPOIB_UD_BUF_SIZE(ib_mtu) (ib_mtu + IB_GRH_BYTES) argument
/drivers/net/ethernet/mellanox/mlx4/
Dfw.h53 int ib_mtu; member
Dfw.c1157 dev_cap->local_ca_ack_delay, 128 << dev_cap->port_cap[1].ib_mtu, in mlx4_dev_cap_dump()
1207 port_cap->ib_mtu = field >> 4; in mlx4_QUERY_PORT()
1238 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()
/drivers/infiniband/hw/hfi1/
Dqp.c203 static inline int verbs_mtu_enum_to_int(struct ib_device *dev, enum ib_mtu mtu) in verbs_mtu_enum_to_int()
208 if (mtu == (enum ib_mtu)OPA_MTU_10240) in verbs_mtu_enum_to_int()
/drivers/infiniband/hw/hns/
Dhns_roce_device.h861 enum ib_mtu max_mtu;
945 enum ib_mtu mtu);
Dhns_roce_main.c233 enum ib_mtu mtu; in hns_roce_query_port()
Dhns_roce_qp.c1109 enum ib_mtu active_mtu; in check_mtu_validate()
Dhns_roce_hw_v1.c1818 enum ib_mtu mtu) in hns_roce_v1_set_mtu()
3498 qp_attr->path_mtu = (enum ib_mtu)roce_get_field(context->qpc_bytes_48, in hns_roce_v1_q_qp()
Dhns_roce_hw_v2.c4559 qp_attr->path_mtu = (enum ib_mtu)roce_get_field(context.byte_24_mtu_tc, in hns_roce_v2_query_qp()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c29 enum ib_mtu mtu;
647 enum ib_mtu mtu = IB_MTU_1024; in dr_prepare_qp_to_rts()
/drivers/infiniband/hw/qib/
Dqib_verbs.c1196 enum ib_mtu mtu; in qib_query_port()
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c1254 static u32 __from_ib_mtu(enum ib_mtu mtu) in __from_ib_mtu()
1272 static enum ib_mtu __to_ib_mtu(u32 mtu) in __to_ib_mtu()
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1439 static enum ib_mtu ocrdma_mtu_int_to_enum(u16 mtu) in ocrdma_mtu_int_to_enum()
/drivers/infiniband/hw/mlx4/
Dmain.c748 enum ib_mtu tmp; in eth_link_query_port()
/drivers/infiniband/core/
Dcm.c285 enum ib_mtu path_mtu;
/drivers/infiniband/hw/mlx5/
Dmain.c489 enum ib_mtu ndev_ib_mtu; in mlx5_query_port_roce()