Searched refs:max_sdu (Results 1 - 11 of 11) sorted by relevance

/drivers/atm/
H A Dhorizon.c163 int max_sdu; maximum SDU in bytes
1327 if (rx_len <= atm_vcc->qos.rxtp.max_sdu) {
1612 if (skb->len > atm_vcc->qos.txtp.max_sdu) {
1613 PRINTK (KERN_ERR, "sk_buff length greater than agreed max_sdu, dropping...");
2067 /********** check max_sdu **********/
2074 if (!(tp->max_sdu)) {
2075 PRINTD (DBG_QOS, "defaulting max_sdu");
2076 tp->max_sdu = ATM_AAL0_SDU;
2077 } else if (tp->max_sdu != ATM_AAL0_SDU) {
2078 PRINTD (DBG_QOS|DBG_ERR, "rejecting max_sdu");
[all...]
H A Dlanai.c130 * large enough to hold this many max_sdu sized PDUs
1491 struct lanai_buffer *buf, int max_sdu, int multiplier,
1495 if (unlikely(max_sdu < 1))
1496 max_sdu = 1;
1497 max_sdu = aal5_size(max_sdu);
1498 size = (max_sdu + 16) * multiplier + 16;
1499 lanai_buf_allocate(buf, size, max_sdu + 32, lanai->pci);
1515 qos->rxtp.max_sdu, AAL5_RX_MULTIPLIER, "RX");
1522 int max_sdu, multiplie local
1490 lanai_get_sized_buffer(struct lanai_dev *lanai, struct lanai_buffer *buf, int max_sdu, int multiplier, const char *name) argument
[all...]
H A Dambassador.c487 if (rx_len <= atm_vcc->qos.rxtp.max_sdu) {
1107 if ((unsigned int) rxtp->max_sdu <= dev->rxq[pool].buffer_size) {
1108 PRINTD (DBG_VCC|DBG_QOS|DBG_POOL, "chose pool %hu (max_sdu %u <= %u)",
1109 pool, rxtp->max_sdu, dev->rxq[pool].buffer_size);
1114 "no pool suitable for VC (RX max_sdu %d is too large)",
1115 rxtp->max_sdu);
1335 if (skb->len > (size_t) atm_vcc->qos.txtp.max_sdu) {
1336 PRINTK (KERN_ERR, "sk_buff length greater than agreed max_sdu, dropping...");
H A Dzatm.c496 if (vcc->qos.rxtp.max_sdu > 65464)
497 vcc->qos.rxtp.max_sdu = 65464;
500 cells = DIV_ROUND_UP(vcc->qos.rxtp.max_sdu + ATM_AAL5_TRAILER,
942 if (unlimited) vcc->qos.txtp.max_sdu = ATM_MAX_AAL5_PDU;
H A Dfore200e.c1066 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.rxtp.max_sdu == ATM_AAL0_SDU)) {
1431 DPRINTK(2, "opening %d.%d.%d:%d QoS = (tx: cl=%s, pcr=%d-%d, cdv=%d, max_sdu=%d; "
1432 "rx: cl=%s, pcr=%d-%d, cdv=%d, max_sdu=%d)\n",
1435 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu,
1437 vcc->qos.rxtp.min_pcr, vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_cdv, vcc->qos.rxtp.max_sdu);
1463 if (fore200e_activate_vcin(fore200e, 1, vcc, vcc->qos.rxtp.max_sdu) < 0) {
1585 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.txtp.max_sdu == ATM_AAL0_SDU)) {
1992 "(tx: cl=%s, pcr=%d-%d, cdv=%d, max_sdu=%d; "
1993 "rx: cl=%s, pcr=%d-%d, cdv=%d, max_sdu=%d), flags = 0x%x\n"
1997 qos->txtp.min_pcr, qos->txtp.max_pcr, qos->txtp.max_cdv, qos->txtp.max_sdu,
[all...]
H A Deni.c787 size = vcc->qos.rxtp.max_sdu*eni_dev->rx_mult/100;
788 if (size > MID_MAX_BUF_SIZE && vcc->qos.rxtp.max_sdu <=
1301 size = txtp->max_sdu*eni_dev->tx_mult/100;
1302 if (size > MID_MAX_BUF_SIZE && txtp->max_sdu <=
H A Diphase.c1767 if (vcc->qos.txtp.max_sdu >
1770 vcc->qos.txtp.max_sdu,iadev->tx_buf_sz);
1798 if (vcc->qos.txtp.max_sdu != 0) {
1800 sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 5;
1802 sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 4;
1804 sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 3;
H A Dfirestream.c1056 if (atm_vcc->qos.rxtp.max_sdu <= dev->rx_fp[bfp].bufsize) break;
1059 atm_vcc->qos.rxtp.max_sdu);
H A Didt77252.c2366 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_2)
2368 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_1)
2370 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_0)
2451 vcc->qos.rxtp.max_sdu);
H A Dhe.c1760 if (skb->len > vcc->qos.rxtp.max_sdu)
1761 hprintk("pdu_len (%d) > vcc->qos.rxtp.max_sdu (%d)! cid 0x%x\n", skb->len, vcc->qos.rxtp.max_sdu, cid);
/drivers/usb/atm/
H A Dusbatm.c800 if ((vcc->qos.rxtp.max_sdu < 0) || (vcc->qos.rxtp.max_sdu > ATM_MAX_AAL5_PDU)) {
801 atm_dbg(instance, "%s: max_sdu %d out of range!\n", __func__, vcc->qos.rxtp.max_sdu);
829 new->sarb = alloc_skb(usbatm_pdu_length(vcc->qos.rxtp.max_sdu), GFP_KERNEL);

Completed in 174 milliseconds