/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 56 u32 pmtu = qp->pmtu; in qib_make_uc_req() local 109 if (len > pmtu) { in qib_make_uc_req() 111 len = pmtu; in qib_make_uc_req() 138 if (len > pmtu) { in qib_make_uc_req() 140 len = pmtu; in qib_make_uc_req() 169 if (len > pmtu) { in qib_make_uc_req() 170 len = pmtu; in qib_make_uc_req() 193 if (len > pmtu) { in qib_make_uc_req() 194 len = pmtu; in qib_make_uc_req() 248 u32 pmtu = qp->pmtu; in qib_uc_rcv() local [all …]
|
D | qib_rc.c | 43 u32 psn, u32 pmtu) in restart_sge() argument 47 len = ((psn - wqe->psn) & QIB_PSN_MASK) * pmtu; in restart_sge() 68 struct ib_other_headers *ohdr, u32 pmtu) in qib_make_rc_ack() argument 130 if (len > pmtu) { in qib_make_rc_ack() 131 len = pmtu; in qib_make_rc_ack() 164 if (len > pmtu) in qib_make_rc_ack() 165 len = pmtu; in qib_make_rc_ack() 231 u32 pmtu = qp->pmtu; in qib_make_rc_req() local 242 qib_make_rc_ack(dev, qp, ohdr, pmtu)) in qib_make_rc_req() 328 if (len > pmtu) { in qib_make_rc_req() [all …]
|
D | qib_qp.c | 294 int mtu, pmtu, pidx = qp->port_num - 1; in qib_get_pmtu_from_attr() local 303 pmtu = mtu_to_enum(dd->pport[pidx].ibmtu); in qib_get_pmtu_from_attr() 305 pmtu = attr->path_mtu; in qib_get_pmtu_from_attr() 306 return pmtu; in qib_get_pmtu_from_attr() 314 u32 qib_mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu) in qib_mtu_from_qp() argument 316 return ib_mtu_enum_to_int(pmtu); in qib_mtu_from_qp()
|
D | qib.h | 1547 u32 qib_mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu);
|
/drivers/infiniband/hw/hfi1/ |
D | uc.c | 71 u32 pmtu = qp->pmtu; in hfi1_make_uc_req() local 166 if (len > pmtu) { in hfi1_make_uc_req() 168 len = pmtu; in hfi1_make_uc_req() 195 if (len > pmtu) { in hfi1_make_uc_req() 197 len = pmtu; in hfi1_make_uc_req() 226 if (len > pmtu) { in hfi1_make_uc_req() 227 len = pmtu; in hfi1_make_uc_req() 251 if (len > pmtu) { in hfi1_make_uc_req() 252 len = pmtu; in hfi1_make_uc_req() 323 u32 pmtu = qp->pmtu; in hfi1_uc_rcv() local [all …]
|
D | rc.c | 61 u32 psn, u32 pmtu) in restart_sge() argument 65 len = delta_psn(psn, wqe->psn) * pmtu; in restart_sge() 95 u32 pmtu = qp->pmtu; in make_rc_ack() local 157 if (len > pmtu) { in make_rc_ack() 158 len = pmtu; in make_rc_ack() 191 if (len > pmtu) { in make_rc_ack() 192 len = pmtu; in make_rc_ack() 269 u32 pmtu = qp->pmtu; in hfi1_make_rc_req() local 416 if (len > pmtu) { in hfi1_make_rc_req() 418 len = pmtu; in hfi1_make_rc_req() [all …]
|
D | qp.h | 117 u32 mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu);
|
D | qp.c | 596 qp->pmtu, in qp_iter_print() 732 u32 mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu) in mtu_from_qp() argument 748 mtu = verbs_mtu_enum_to_int(qp->ibqp.device, pmtu); in mtu_from_qp()
|
D | verbs.c | 1285 tx->s_cur_size <= min(piothreshold, qp->pmtu) && in get_send_routine()
|
/drivers/scsi/qedi/ |
D | qedi_iscsi.c | 464 static u16 qedi_calc_mss(u16 pmtu, u8 is_ipv6, u8 tcp_ts_en, u8 vlan_en) in qedi_calc_mss() argument 477 mss = pmtu - hdrs; in qedi_calc_mss() 556 conn_info->mss = qedi_calc_mss(qedi_ep->pmtu, in qedi_iscsi_offload_conn() 913 path_req.pmtu = qedi->ll2_mtu; in qedi_ep_connect() 914 qedi_ep->pmtu = qedi->ll2_mtu; in qedi_ep_connect() 1246 if (path_data->pmtu < DEF_PATH_MTU) { in qedi_set_path() 1247 qedi_ep->pmtu = qedi->ll2_mtu; in qedi_set_path() 1250 path_data->pmtu, qedi_ep->pmtu); in qedi_set_path() 1253 if (path_data->pmtu != qedi->ll2_mtu) { in qedi_set_path() 1254 if (path_data->pmtu > JUMBO_MTU) { in qedi_set_path() [all …]
|
D | qedi_iscsi.h | 74 u16 pmtu; member
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | switchib.c | 158 err = mlxsw_reg_query(mlxsw_sib->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sib_port_mtu_set() 167 return mlxsw_reg_write(mlxsw_sib->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sib_port_mtu_set()
|
D | reg.h | 2655 MLXSW_REG_DEFINE(pmtu, MLXSW_REG_PMTU_ID, MLXSW_REG_PMTU_LEN); 2661 MLXSW_ITEM32(reg, pmtu, local_port, 0x00, 16, 8); 2670 MLXSW_ITEM32(reg, pmtu, max_mtu, 0x04, 16, 16); 2678 MLXSW_ITEM32(reg, pmtu, admin_mtu, 0x08, 16, 16); 2687 MLXSW_ITEM32(reg, pmtu, oper_mtu, 0x0C, 16, 16); 2692 MLXSW_REG_ZERO(pmtu, payload); in mlxsw_reg_pmtu_pack() 6920 MLXSW_REG(pmtu),
|
D | switchx2.c | 230 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(pmtu), pmtu_pl); in __mlxsw_sx_port_mtu_set() 239 return mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(pmtu), pmtu_pl); in __mlxsw_sx_port_mtu_set()
|
D | spectrum.c | 860 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sp_port_mtu_set() 869 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sp_port_mtu_set()
|
/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 1169 int pmtu = 0; /* for gcc warning only */ in rvt_modify_qp() local 1260 pmtu = rdi->driver_f.get_pmtu_from_attr(rdi, qp, attr); in rvt_modify_qp() 1261 if (pmtu < 0) in rvt_modify_qp() 1363 qp->pmtu = rdi->driver_f.mtu_from_qp(rdi, qp, pmtu); in rvt_modify_qp() 1364 qp->log_pmtu = ilog2(qp->pmtu); in rvt_modify_qp() 1486 attr->path_mtu = rdi->driver_f.mtu_to_path_mtu(qp->pmtu); in rvt_query_qp()
|
/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1098 unsigned int cxgbi_sock_select_mss(struct cxgbi_sock *csk, unsigned int pmtu) in cxgbi_sock_select_mss() argument 1105 if (csk->advmss > pmtu - 40) in cxgbi_sock_select_mss() 1106 csk->advmss = pmtu - 40; in cxgbi_sock_select_mss()
|
/drivers/net/ethernet/broadcom/ |
D | cnic.c | 349 path_req.pmtu = csk->mtu; in cnic_send_nlmsg() 2188 conn_addr->pmtu = kwqe3->pmtu; in cnic_bnx2x_connect() 3492 l4kwqe3->pmtu = csk->mtu; in cnic_cm_conn_req() 3514 l4kwqe3->mss = l4kwqe3->pmtu - sizeof(struct ipv6hdr) - in cnic_cm_conn_req() 3518 l4kwqe3->mss = l4kwqe3->pmtu - sizeof(struct iphdr) - in cnic_cm_conn_req()
|
D | cnic_defs.h | 358 u16 pmtu; member 362 u16 pmtu; member 5054 u32 pmtu; member
|