/linux-6.1.9/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 | 271 qos.txtp.max_sdu = tx_sdu; in parse_qos() 274 qos.rxtp.max_sdu = rx_sdu; in parse_qos() 277 qos.txtp.max_pcr, qos.txtp.max_sdu, in parse_qos() 278 qos.rxtp.max_pcr, qos.rxtp.max_sdu); in parse_qos()
|
D | pppoatm.c | 414 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-6.1.9/drivers/net/dsa/ocelot/ |
D | felix_vsc9959.c | 1143 u32 max_sdu) in vsc9959_port_qmaxsdu_set() argument 1147 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_0, in vsc9959_port_qmaxsdu_set() 1151 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_1, in vsc9959_port_qmaxsdu_set() 1155 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_2, in vsc9959_port_qmaxsdu_set() 1159 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_3, in vsc9959_port_qmaxsdu_set() 1163 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_4, in vsc9959_port_qmaxsdu_set() 1167 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_5, in vsc9959_port_qmaxsdu_set() 1171 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_6, in vsc9959_port_qmaxsdu_set() 1175 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_7, in vsc9959_port_qmaxsdu_set() 1199 if (!taprio || !taprio->max_sdu[tc]) in vsc9959_tas_tc_max_sdu() [all …]
|
/linux-6.1.9/net/sched/ |
D | sch_taprio.c | 82 u32 max_sdu[TC_MAX_QUEUE]; /* for dump and offloading */ member 1249 if (q->max_sdu[tc]) { in taprio_enable_offload() 1267 offload->max_sdu[tc] = q->max_sdu[tc]; in taprio_enable_offload() 1405 u32 max_sdu[TC_QOPT_MAX_QUEUE], in taprio_parse_tc_entry() 1445 max_sdu[tc] = val; in taprio_parse_tc_entry() 1456 u32 max_sdu[TC_QOPT_MAX_QUEUE]; in taprio_parse_tc_entries() local 1463 max_sdu[tc] = q->max_sdu[tc]; in taprio_parse_tc_entries() 1469 err = taprio_parse_tc_entry(sch, n, max_sdu, &seen_tcs, extack); in taprio_parse_tc_entries() 1475 q->max_sdu[tc] = max_sdu[tc]; in taprio_parse_tc_entries() 1476 if (max_sdu[tc]) in taprio_parse_tc_entries() [all …]
|
/linux-6.1.9/drivers/atm/ |
D | lanai.c | 1478 struct lanai_buffer *buf, int max_sdu, int multiplier, in lanai_get_sized_buffer() argument 1482 if (unlikely(max_sdu < 1)) in lanai_get_sized_buffer() 1483 max_sdu = 1; in lanai_get_sized_buffer() 1484 max_sdu = aal5_size(max_sdu); in lanai_get_sized_buffer() 1485 size = (max_sdu + 16) * multiplier + 16; in lanai_get_sized_buffer() 1486 lanai_buf_allocate(buf, size, max_sdu + 32, lanai->pci); in lanai_get_sized_buffer() 1502 qos->rxtp.max_sdu, AAL5_RX_MULTIPLIER, "RX"); in lanai_setup_rx_vci_aal5() 1509 int max_sdu, multiplier; in lanai_setup_tx_vci() local 1512 max_sdu = ATM_CELL_SIZE - 1; in lanai_setup_tx_vci() 1516 max_sdu = qos->txtp.max_sdu; in lanai_setup_tx_vci() [all …]
|
D | fore200e.c | 976 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.rxtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_push_rpd() 1343 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu, in fore200e_open() 1345 vcc->qos.rxtp.min_pcr, vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_cdv, vcc->qos.rxtp.max_sdu); in fore200e_open() 1371 if (fore200e_activate_vcin(fore200e, 1, vcc, vcc->qos.rxtp.max_sdu) < 0) { in fore200e_open() 1503 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.txtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_send() 1899 qos->txtp.min_pcr, qos->txtp.max_pcr, qos->txtp.max_cdv, qos->txtp.max_sdu, in fore200e_change_qos() 1901 qos->rxtp.min_pcr, qos->rxtp.max_pcr, qos->rxtp.max_cdv, qos->rxtp.max_sdu, in fore200e_change_qos()
|
D | iphase.c | 1770 if (vcc->qos.txtp.max_sdu > 1773 vcc->qos.txtp.max_sdu,iadev->tx_buf_sz); 1801 if (vcc->qos.txtp.max_sdu != 0) { 1803 sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 5; 1805 sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 4; 1807 sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 3;
|
D | eni.c | 786 size = vcc->qos.rxtp.max_sdu*eni_dev->rx_mult/100; in open_rx_first() 787 if (size > MID_MAX_BUF_SIZE && vcc->qos.rxtp.max_sdu <= in open_rx_first() 1304 size = txtp->max_sdu*eni_dev->tx_mult/100; in reserve_or_set_tx() 1305 if (size > MID_MAX_BUF_SIZE && txtp->max_sdu <= in reserve_or_set_tx()
|
D | idt77252.c | 2357 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_2) in idt77252_init_rx() 2359 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_1) in idt77252_init_rx() 2361 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_0) in idt77252_init_rx() 2442 vcc->qos.rxtp.max_sdu); in idt77252_open()
|
D | he.c | 1758 if (skb->len > vcc->qos.rxtp.max_sdu) in he_service_rbrq() 1759 …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-6.1.9/include/uapi/linux/ |
D | atm.h | 142 int max_sdu; /* maximum SDU in bytes */ member
|
/linux-6.1.9/include/net/ |
D | pkt_sched.h | 180 u32 max_sdu[TC_MAX_QUEUE]; member
|
/linux-6.1.9/drivers/usb/atm/ |
D | usbatm.c | 788 if ((vcc->qos.rxtp.max_sdu < 0) || (vcc->qos.rxtp.max_sdu > ATM_MAX_AAL5_PDU)) { in usbatm_atm_open() 789 atm_dbg(instance, "%s: max_sdu %d out of range!\n", __func__, vcc->qos.rxtp.max_sdu); in usbatm_atm_open() 817 new->sarb = alloc_skb(usbatm_pdu_length(vcc->qos.rxtp.max_sdu), GFP_KERNEL); in usbatm_atm_open()
|
/linux-6.1.9/drivers/net/dsa/hirschmann/ |
D | hellcreek.c | 1556 u32 max_sdu = schedule->max_sdu[tc] + VLAN_ETH_HLEN - ETH_FCS_LEN; in hellcreek_setup_maxsdu() local 1559 if (!schedule->max_sdu[tc]) in hellcreek_setup_maxsdu() 1563 max_sdu, tc, port); in hellcreek_setup_maxsdu() 1567 val = (max_sdu & HR_PTPRTCCFG_MAXSDU_MASK) << HR_PTPRTCCFG_MAXSDU_SHIFT; in hellcreek_setup_maxsdu()
|
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.c | 519 void enetc_set_ptcmsdur(struct enetc_hw *hw, u32 *max_sdu) in enetc_set_ptcmsdur() argument 526 if (max_sdu[tc]) in enetc_set_ptcmsdur() 527 val = max_sdu[tc] + VLAN_ETH_HLEN; in enetc_set_ptcmsdur()
|
D | enetc_qos.c | 129 enetc_set_ptcmsdur(hw, admin_conf->max_sdu); in enetc_setup_taprio()
|
/linux-6.1.9/include/net/bluetooth/ |
D | hci.h | 2825 __le16 max_sdu; member
|