Home
last modified time | relevance | path

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

/linux/drivers/infiniband/sw/rxe/
H A Drxe_param.h14 static inline enum ib_mtu rxe_mtu_int_to_enum(int mtu) in rxe_mtu_int_to_enum()
31 static inline enum ib_mtu eth_mtu_int_to_enum(int mtu) in eth_mtu_int_to_enum()
H A Drxe.c156 enum ib_mtu mtu; in rxe_set_mtu()
161 mtu = mtu ? min_t(enum ib_mtu, mtu, IB_MTU_4096) : IB_MTU_256; in rxe_set_mtu()
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A 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()
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib.h464 #define IPOIB_UD_MTU(ib_mtu) (ib_mtu - IPOIB_ENCAP_LEN) argument
465 #define IPOIB_UD_BUF_SIZE(ib_mtu) (ib_mtu + IB_GRH_BYTES) argument
/linux/net/smc/
H A Dsmc_core.h148 enum ib_mtu path_mtu; /* used mtu */
149 enum ib_mtu peer_mtu; /* mtu size of peer */
/linux/include/rdma/
H A Dib_addr.h174 static inline enum ib_mtu iboe_get_mtu(int mtu) in iboe_get_mtu()
H A Dib_verbs.h455 enum ib_mtu { enum
468 static inline int ib_mtu_enum_to_int(enum ib_mtu mtu) in ib_mtu_enum_to_int()
480 static inline enum ib_mtu ib_mtu_int_to_enum(int mtu) in ib_mtu_int_to_enum()
502 return(ib_mtu_enum_to_int((enum ib_mtu)mtu)); in opa_mtu_enum_to_int()
680 enum ib_mtu max_mtu;
681 enum ib_mtu active_mtu;
1291 enum ib_mtu path_mtu;
3455 return ib_mtu_enum_to_int((enum ib_mtu)mtu); in rdma_mtu_from_attr()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dfw.h53 int ib_mtu; member
H A 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()
H A Dmain.c396 dev->caps.ib_mtu_cap[port] = port_cap->ib_mtu; in _mlx4_dev_port()
/linux/drivers/infiniband/hw/hfi1/
H A Dqp.c152 static inline int verbs_mtu_enum_to_int(struct ib_device *dev, enum ib_mtu mtu) in verbs_mtu_enum_to_int()
155 if (mtu == (enum ib_mtu)OPA_MTU_10240) in verbs_mtu_enum_to_int()
156 mtu = (enum ib_mtu)OPA_MTU_8192; in verbs_mtu_enum_to_int()
/linux/drivers/infiniband/hw/qib/
H A Dqib_verbs.c1197 enum ib_mtu mtu; in qib_query_port()
/linux/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c1740 static u32 __from_ib_mtu(enum ib_mtu mtu) in __from_ib_mtu()
1758 static enum ib_mtu __to_ib_mtu(u32 mtu) in __to_ib_mtu()
/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c1427 static enum ib_mtu ocrdma_mtu_int_to_enum(u16 mtu) in ocrdma_mtu_int_to_enum()
/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c758 enum ib_mtu tmp; in eth_link_query_port()