Home
last modified time | relevance | path

Searched refs:max_sdu (Results 1 – 16 of 16) sorted by relevance

/linux-2.4.37.9/net/atm/
Dcommon.c275 vcc->qos.txtp.max_sdu = 1 << 16; /* for meta VCs */ in vcc_create()
350 int max_sdu; in adjust_tp() local
355 max_sdu = ATM_CELL_SIZE-1; in adjust_tp()
358 max_sdu = ATM_MAX_AAL34_PDU; in adjust_tp()
365 max_sdu = ATM_MAX_AAL5_PDU; in adjust_tp()
367 if (!tp->max_sdu) tp->max_sdu = max_sdu; in adjust_tp()
368 else if (tp->max_sdu > max_sdu) return -EINVAL; in adjust_tp()
416 vcc->qos.txtp.min_pcr,vcc->qos.txtp.max_pcr,vcc->qos.txtp.max_sdu); in __vcc_connect()
418 vcc->qos.rxtp.min_pcr,vcc->qos.rxtp.max_pcr,vcc->qos.rxtp.max_sdu); in __vcc_connect()
458 vcc->qos.txtp.max_pcr,vcc->qos.txtp.max_sdu, in vcc_connect()
[all …]
Dmpoa_proc.c273 qos.txtp.max_sdu = value[1]; in parse_qos()
282 qos.rxtp.max_sdu = qos.txtp.max_sdu; in parse_qos()
302 qos.rxtp.max_sdu = value[1]; in parse_qos()
307 qos.txtp.max_sdu, in parse_qos()
309 qos.rxtp.max_sdu in parse_qos()
Dpppoatm.c302 pvcc->chan.mtu = atmvcc->qos.txtp.max_sdu - PPP_HDRLEN - in pppoatm_assign_vcc()
Dmpc.c244 …tp.max_pcr, qos->qos.txtp.pcr, qos->qos.txtp.min_pcr, qos->qos.txtp.max_cdv, qos->qos.txtp.max_sdu, in atm_mpoa_disp_qos()
245 …p.max_pcr, qos->qos.rxtp.pcr, qos->qos.rxtp.min_pcr, qos->qos.rxtp.max_cdv, qos->qos.rxtp.max_sdu); in atm_mpoa_disp_qos()
/linux-2.4.37.9/drivers/atm/
Dhorizon.c1345 if (rx_len <= atm_vcc->qos.rxtp.max_sdu) { in rx_data_av_handler()
1656 if (skb->len > atm_vcc->qos.txtp.max_sdu) { in hrz_send()
2119 if (!(tp->max_sdu)) { in check_max_sdu()
2121 tp->max_sdu = ATM_AAL0_SDU; in check_max_sdu()
2122 } else if (tp->max_sdu != ATM_AAL0_SDU) { in check_max_sdu()
2128 if (tp->max_sdu == 0 || tp->max_sdu > ATM_MAX_AAL34_PDU) { in check_max_sdu()
2129 PRINTD (DBG_QOS, "%sing max_sdu", tp->max_sdu ? "capp" : "default"); in check_max_sdu()
2130 tp->max_sdu = ATM_MAX_AAL34_PDU; in check_max_sdu()
2134 if (tp->max_sdu == 0 || tp->max_sdu > max_frame_size) { in check_max_sdu()
2135 PRINTD (DBG_QOS, "%sing max_sdu", tp->max_sdu ? "capp" : "default"); in check_max_sdu()
[all …]
Dlanai.c1682 int max_sdu, int multiplier, int min, const char *name) in lanai_get_sized_buffer() argument
1685 if (max_sdu < 1) in lanai_get_sized_buffer()
1686 max_sdu = 1; in lanai_get_sized_buffer()
1687 max_sdu = aal5_size(max_sdu); in lanai_get_sized_buffer()
1688 size = (max_sdu + 16) * multiplier + 16; in lanai_get_sized_buffer()
1705 qos->rxtp.max_sdu, AAL5_RX_MULTIPLIER, qos->rxtp.max_sdu + 32, in lanai_setup_rx_vci_aal5()
1713 int max_sdu, multiplier; in lanai_setup_tx_vci() local
1716 max_sdu = ATM_CELL_SIZE - 1; in lanai_setup_tx_vci()
1720 max_sdu = qos->txtp.max_sdu; in lanai_setup_tx_vci()
1723 return lanai_get_sized_buffer(number, &lvcc->tx.buf, max_sdu, in lanai_setup_tx_vci()
Dfore200e.c1186 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.rxtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_push_rpd()
1596 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu, in fore200e_open()
1598 vcc->qos.rxtp.min_pcr, vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_cdv, vcc->qos.rxtp.max_sdu); in fore200e_open()
1626 if (fore200e_activate_vcin(fore200e, 1, vcc, vcc->qos.rxtp.max_sdu) < 0) { in fore200e_open()
1748 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.txtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_send()
2170 qos->txtp.min_pcr, qos->txtp.max_pcr, qos->txtp.max_cdv, qos->txtp.max_sdu, in fore200e_change_qos()
2172 qos->rxtp.min_pcr, qos->rxtp.max_pcr, qos->rxtp.max_cdv, qos->rxtp.max_sdu, in fore200e_change_qos()
Dambassador.c506 if (rx_len <= atm_vcc->qos.rxtp.max_sdu) { in rx_complete()
1224 if ((unsigned int) rxtp->max_sdu <= dev->rxq[pool].buffer_size) { in amb_open()
1226 pool, rxtp->max_sdu, dev->rxq[pool].buffer_size); in amb_open()
1232 rxtp->max_sdu); in amb_open()
1490 if (skb->len > (size_t) atm_vcc->qos.txtp.max_sdu) { in amb_send()
Dzatm.c680 if (vcc->qos.rxtp.max_sdu > 65464) in open_rx_first()
681 vcc->qos.rxtp.max_sdu = 65464; in open_rx_first()
684 cells = (vcc->qos.rxtp.max_sdu+ATM_AAL5_TRAILER+ in open_rx_first()
1140 if (unlimited) vcc->qos.txtp.max_sdu = ATM_MAX_AAL5_PDU; in open_tx_first()
Deni.c792 size = vcc->qos.rxtp.max_sdu*eni_dev->rx_mult/100; in open_rx_first()
793 if (size > MID_MAX_BUF_SIZE && vcc->qos.rxtp.max_sdu <= in open_rx_first()
1303 size = txtp->max_sdu*eni_dev->tx_mult/100; in reserve_or_set_tx()
1304 if (size > MID_MAX_BUF_SIZE && txtp->max_sdu <= in reserve_or_set_tx()
Diphase.c1781 if (vcc->qos.txtp.max_sdu >
1784 vcc->qos.txtp.max_sdu,iadev->tx_buf_sz);
1810 if (vcc->qos.txtp.max_sdu != 0) {
1812 vcc->sk->sndbuf = vcc->qos.txtp.max_sdu * 5;
1814 vcc->sk->sndbuf = vcc->qos.txtp.max_sdu * 4;
1816 vcc->sk->sndbuf = 3*vcc->qos.txtp.max_sdu;
Dfirestream.c1055 if (atm_vcc->qos.rxtp.max_sdu <= dev->rx_fp[bfp].bufsize) break; in fs_open()
1058 atm_vcc->qos.rxtp.max_sdu); in fs_open()
Didt77252.c2382 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_2) in idt77252_init_rx()
2384 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_1) in idt77252_init_rx()
2386 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_0) in idt77252_init_rx()
2514 vcc->qos.rxtp.max_sdu); in idt77252_open()
Dhe.c1909 if (skb->len > vcc->qos.rxtp.max_sdu) in he_service_rbrq()
1910 …tk("pdu_len (%d) > vcc->qos.rxtp.max_sdu (%d)! cid 0x%x\n", skb->len, vcc->qos.rxtp.max_sdu, cid); in he_service_rbrq()
/linux-2.4.37.9/include/linux/
Datm.h140 int max_sdu; /* maximum SDU in bytes */ member
/linux-2.4.37.9/drivers/usb/
Dspeedtch.c900 …if ((vcc->qos.aal != ATM_AAL5) || (vcc->qos.rxtp.max_sdu < 0) || (vcc->qos.rxtp.max_sdu > ATM_MAX_… in udsl_atm_open()
930 max_pdu = max (1, UDSL_NUM_CELLS (vcc->qos.rxtp.max_sdu)) * ATM_CELL_PAYLOAD; in udsl_atm_open()