/Linux-v5.4/net/atm/ |
D | common.c | 104 return (vcc->qos.txtp.max_sdu + in vcc_writable() 159 vcc->qos.txtp.max_sdu = 1 << 16; /* for meta VCs */ in vcc_create() 287 int max_sdu; in adjust_tp() local 293 max_sdu = ATM_CELL_SIZE-1; in adjust_tp() 296 max_sdu = ATM_MAX_AAL34_PDU; in adjust_tp() 302 max_sdu = ATM_MAX_AAL5_PDU; in adjust_tp() 304 if (!tp->max_sdu) in adjust_tp() 305 tp->max_sdu = max_sdu; in adjust_tp() 306 else if (tp->max_sdu > max_sdu) in adjust_tp() 439 vcc->qos.txtp.max_sdu); in __vcc_connect() [all …]
|
D | mpoa_proc.c | 273 qos.txtp.max_sdu = tx_sdu; in parse_qos() 276 qos.rxtp.max_sdu = rx_sdu; in parse_qos() 279 qos.txtp.max_pcr, qos.txtp.max_sdu, in parse_qos() 280 qos.rxtp.max_pcr, qos.rxtp.max_sdu); in parse_qos()
|
D | pppoatm.c | 416 pvcc->chan.mtu = atmvcc->qos.txtp.max_sdu - PPP_HDRLEN - in pppoatm_assign_vcc()
|
D | mpc.c | 260 qos->qos.txtp.max_sdu, in atm_mpoa_disp_qos() 265 qos->qos.rxtp.max_sdu); in atm_mpoa_disp_qos()
|
/Linux-v5.4/drivers/atm/ |
D | horizon.c | 1289 if (rx_len <= atm_vcc->qos.rxtp.max_sdu) { in rx_data_av_handler() 1574 if (skb->len > atm_vcc->qos.txtp.max_sdu) { in hrz_send() 2036 if (!(tp->max_sdu)) { in check_max_sdu() 2038 tp->max_sdu = ATM_AAL0_SDU; in check_max_sdu() 2039 } else if (tp->max_sdu != ATM_AAL0_SDU) { in check_max_sdu() 2045 if (tp->max_sdu == 0 || tp->max_sdu > ATM_MAX_AAL34_PDU) { in check_max_sdu() 2046 PRINTD (DBG_QOS, "%sing max_sdu", tp->max_sdu ? "capp" : "default"); in check_max_sdu() 2047 tp->max_sdu = ATM_MAX_AAL34_PDU; in check_max_sdu() 2051 if (tp->max_sdu == 0 || tp->max_sdu > max_frame_size) { in check_max_sdu() 2052 PRINTD (DBG_QOS, "%sing max_sdu", tp->max_sdu ? "capp" : "default"); in check_max_sdu() [all …]
|
D | lanai.c | 1479 struct lanai_buffer *buf, int max_sdu, int multiplier, in lanai_get_sized_buffer() argument 1483 if (unlikely(max_sdu < 1)) in lanai_get_sized_buffer() 1484 max_sdu = 1; in lanai_get_sized_buffer() 1485 max_sdu = aal5_size(max_sdu); in lanai_get_sized_buffer() 1486 size = (max_sdu + 16) * multiplier + 16; in lanai_get_sized_buffer() 1487 lanai_buf_allocate(buf, size, max_sdu + 32, lanai->pci); in lanai_get_sized_buffer() 1503 qos->rxtp.max_sdu, AAL5_RX_MULTIPLIER, "RX"); in lanai_setup_rx_vci_aal5() 1510 int max_sdu, multiplier; in lanai_setup_tx_vci() local 1513 max_sdu = ATM_CELL_SIZE - 1; in lanai_setup_tx_vci() 1517 max_sdu = qos->txtp.max_sdu; in lanai_setup_tx_vci() [all …]
|
D | ambassador.c | 472 if (rx_len <= atm_vcc->qos.rxtp.max_sdu) { in rx_complete() 1092 if ((unsigned int) rxtp->max_sdu <= dev->rxq[pool].buffer_size) { in amb_open() 1094 pool, rxtp->max_sdu, dev->rxq[pool].buffer_size); in amb_open() 1100 rxtp->max_sdu); in amb_open() 1320 if (skb->len > (size_t) atm_vcc->qos.txtp.max_sdu) { in amb_send()
|
D | fore200e.c | 978 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.rxtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_push_rpd() 1345 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu, in fore200e_open() 1347 vcc->qos.rxtp.min_pcr, vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_cdv, vcc->qos.rxtp.max_sdu); in fore200e_open() 1373 if (fore200e_activate_vcin(fore200e, 1, vcc, vcc->qos.rxtp.max_sdu) < 0) { in fore200e_open() 1494 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.txtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_send() 1915 qos->txtp.min_pcr, qos->txtp.max_pcr, qos->txtp.max_cdv, qos->txtp.max_sdu, in fore200e_change_qos() 1917 qos->rxtp.min_pcr, qos->rxtp.max_pcr, qos->rxtp.max_cdv, qos->rxtp.max_sdu, in fore200e_change_qos()
|
D | zatm.c | 498 if (vcc->qos.rxtp.max_sdu > 65464) in open_rx_first() 499 vcc->qos.rxtp.max_sdu = 65464; in open_rx_first() 502 cells = DIV_ROUND_UP(vcc->qos.rxtp.max_sdu + ATM_AAL5_TRAILER, in open_rx_first() 945 if (unlimited) vcc->qos.txtp.max_sdu = ATM_MAX_AAL5_PDU; in open_tx_first()
|
D | eni.c | 792 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() 1306 size = txtp->max_sdu*eni_dev->tx_mult/100; in reserve_or_set_tx() 1307 if (size > MID_MAX_BUF_SIZE && txtp->max_sdu <= in reserve_or_set_tx()
|
D | iphase.c | 1769 if (vcc->qos.txtp.max_sdu > 1772 vcc->qos.txtp.max_sdu,iadev->tx_buf_sz); 1800 if (vcc->qos.txtp.max_sdu != 0) { 1802 sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 5; 1804 sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 4; 1806 sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 3;
|
D | firestream.c | 1045 if (atm_vcc->qos.rxtp.max_sdu <= dev->rx_fp[bfp].bufsize) break; in fs_open() 1048 atm_vcc->qos.rxtp.max_sdu); in fs_open()
|
D | idt77252.c | 2362 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_2) in idt77252_init_rx() 2364 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_1) in idt77252_init_rx() 2366 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_0) in idt77252_init_rx() 2447 vcc->qos.rxtp.max_sdu); in idt77252_open()
|
D | he.c | 1761 if (skb->len > vcc->qos.rxtp.max_sdu) in he_service_rbrq() 1762 …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-v5.4/include/uapi/linux/ |
D | atm.h | 142 int max_sdu; /* maximum SDU in bytes */ member
|
/Linux-v5.4/drivers/usb/atm/ |
D | usbatm.c | 786 if ((vcc->qos.rxtp.max_sdu < 0) || (vcc->qos.rxtp.max_sdu > ATM_MAX_AAL5_PDU)) { in usbatm_atm_open() 787 atm_dbg(instance, "%s: max_sdu %d out of range!\n", __func__, vcc->qos.rxtp.max_sdu); in usbatm_atm_open() 815 new->sarb = alloc_skb(usbatm_pdu_length(vcc->qos.rxtp.max_sdu), GFP_KERNEL); in usbatm_atm_open()
|