/linux-6.12.1/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.12.1/net/sched/ |
D | sch_taprio.c | 73 u32 max_sdu[TC_MAX_QUEUE]; /* for dump */ member 104 u32 max_sdu[TC_MAX_QUEUE]; /* save info from the user */ member 274 u32 max_sdu; in taprio_update_queue_max_sdu() local 278 max_sdu_from_user = q->max_sdu[tc] ?: U32_MAX; in taprio_update_queue_max_sdu() 302 max_sdu = min(max_sdu_dynamic, max_sdu_from_user); in taprio_update_queue_max_sdu() 304 if (max_sdu != U32_MAX) { in taprio_update_queue_max_sdu() 305 sched->max_frm_len[tc] = max_sdu + dev->hard_header_len; in taprio_update_queue_max_sdu() 306 sched->max_sdu[tc] = max_sdu; in taprio_update_queue_max_sdu() 309 sched->max_sdu[tc] = 0; in taprio_update_queue_max_sdu() 1518 if (q->max_sdu[tc]) { in taprio_enable_offload() [all …]
|
/linux-6.12.1/drivers/net/dsa/ocelot/ |
D | felix_vsc9959.c | 1145 u32 max_sdu) in vsc9959_port_qmaxsdu_set() argument 1149 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_0, in vsc9959_port_qmaxsdu_set() 1153 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_1, in vsc9959_port_qmaxsdu_set() 1157 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_2, in vsc9959_port_qmaxsdu_set() 1161 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_3, in vsc9959_port_qmaxsdu_set() 1165 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_4, in vsc9959_port_qmaxsdu_set() 1169 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_5, in vsc9959_port_qmaxsdu_set() 1173 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_6, in vsc9959_port_qmaxsdu_set() 1177 ocelot_write_rix(ocelot, max_sdu, QSYS_QMAXSDU_CFG_7, in vsc9959_port_qmaxsdu_set() 1201 if (!taprio || !taprio->max_sdu[tc]) in vsc9959_tas_tc_max_sdu() [all …]
|
/linux-6.12.1/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 | 973 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.rxtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_push_rpd() 1340 vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu, in fore200e_open() 1342 vcc->qos.rxtp.min_pcr, vcc->qos.rxtp.max_pcr, vcc->qos.rxtp.max_cdv, vcc->qos.rxtp.max_sdu); in fore200e_open() 1368 if (fore200e_activate_vcin(fore200e, 1, vcc, vcc->qos.rxtp.max_sdu) < 0) { in fore200e_open() 1500 if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.txtp.max_sdu == ATM_AAL0_SDU)) { in fore200e_send() 1896 qos->txtp.min_pcr, qos->txtp.max_pcr, qos->txtp.max_cdv, qos->txtp.max_sdu, in fore200e_change_qos() 1898 qos->rxtp.min_pcr, qos->rxtp.max_pcr, qos->rxtp.max_cdv, qos->rxtp.max_sdu, in fore200e_change_qos()
|
D | iphase.c | 1771 if (vcc->qos.txtp.max_sdu > 1774 vcc->qos.txtp.max_sdu,iadev->tx_buf_sz); 1802 if (vcc->qos.txtp.max_sdu != 0) { 1804 sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 5; 1806 sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 4; 1808 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 | 2358 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_2) in idt77252_init_rx() 2360 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_1) in idt77252_init_rx() 2362 else if (qos->rxtp.max_sdu > SAR_FB_SIZE_0) in idt77252_init_rx() 2443 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.12.1/include/uapi/linux/ |
D | atm.h | 142 int max_sdu; /* maximum SDU in bytes */ member
|
/linux-6.12.1/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.12.1/include/net/ |
D | pkt_sched.h | 241 u32 max_sdu[TC_MAX_QUEUE]; member
|
/linux-6.12.1/drivers/net/dsa/hirschmann/ |
D | hellcreek.c | 1550 u32 max_sdu = schedule->max_sdu[tc] + VLAN_ETH_HLEN - ETH_FCS_LEN; in hellcreek_setup_maxsdu() local 1553 if (!schedule->max_sdu[tc]) in hellcreek_setup_maxsdu() 1557 max_sdu, tc, port); in hellcreek_setup_maxsdu() 1561 val = (max_sdu & HR_PTPRTCCFG_MAXSDU_MASK) << HR_PTPRTCCFG_MAXSDU_SHIFT; in hellcreek_setup_maxsdu()
|
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_psfp.c | 122 ANA_AC_TSN_SF_CFG_TSN_MAX_SDU_SET(sf->max_sdu) | in sparx5_psfp_sf_set()
|
D | sparx5_tc_flower.c | 1160 struct sparx5_psfp_sf sf = { .max_sdu = SPX5_PSFP_SF_MAX_SDU }; in sparx5_tc_flower_replace() 1225 sf.max_sdu = act->police.mtu; in sparx5_tc_flower_replace()
|
D | sparx5_main.h | 512 u32 max_sdu; member
|
/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_tc.c | 920 if (!qopt->max_sdu[i]) in tc_taprio_map_maxsdu_txq() 927 priv->est->max_sdu[j] = qopt->max_sdu[i] + ETH_HLEN - ETH_TLEN; in tc_taprio_map_maxsdu_txq()
|
D | stmmac.h | 261 u32 max_sdu[MTL_MAX_TX_QUEUES]; member
|
D | stmmac_main.c | 2514 priv->est->max_sdu[queue] && in stmmac_xdp_xmit_zc() 2515 xdp_desc.len > priv->est->max_sdu[queue]) { in stmmac_xdp_xmit_zc() 4530 priv->est->max_sdu[queue] && in stmmac_xmit() 4531 skb->len > priv->est->max_sdu[queue]){ in stmmac_xmit() 4911 priv->est->max_sdu[queue] && in stmmac_xdp_xmit_xdpf() 4912 xdpf->len > priv->est->max_sdu[queue]) { in stmmac_xdp_xmit_xdpf()
|
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.c | 518 void enetc_set_ptcmsdur(struct enetc_hw *hw, u32 *max_sdu) in enetc_set_ptcmsdur() argument 525 if (max_sdu[tc]) in enetc_set_ptcmsdur() 526 val = max_sdu[tc] + VLAN_ETH_HLEN; in enetc_set_ptcmsdur()
|
/linux-6.12.1/drivers/net/ethernet/intel/igc/ |
D | igc.h | 164 u32 max_sdu; member
|
D | igc_main.c | 1638 if (tx_ring->max_sdu > 0 && first->bytecount > tx_ring->max_sdu) { in igc_xmit_frame_ring() 6274 ring->max_sdu = 0; in igc_qbv_clear_schedule() 6425 if (qopt->max_sdu[i]) in igc_save_qbv_schedule() 6426 ring->max_sdu = qopt->max_sdu[i] + dev->hard_header_len - ETH_TLEN; in igc_save_qbv_schedule() 6428 ring->max_sdu = 0; in igc_save_qbv_schedule()
|