Home
last modified time | relevance | path

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

12

/linux-6.12.1/net/atm/
Dcommon.c104 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 …]
Dmpoa_proc.c271 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()
Dpppoatm.c414 pvcc->chan.mtu = atmvcc->qos.txtp.max_sdu - PPP_HDRLEN - in pppoatm_assign_vcc()
Dmpc.c260 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/
Dsch_taprio.c73 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/
Dfelix_vsc9959.c1145 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/
Dlanai.c1478 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 …]
Dfore200e.c973 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()
Diphase.c1771 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;
Deni.c786 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()
Didt77252.c2358 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()
Dhe.c1758 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/
Datm.h142 int max_sdu; /* maximum SDU in bytes */ member
/linux-6.12.1/drivers/usb/atm/
Dusbatm.c788 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/
Dpkt_sched.h241 u32 max_sdu[TC_MAX_QUEUE]; member
/linux-6.12.1/drivers/net/dsa/hirschmann/
Dhellcreek.c1550 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/
Dsparx5_psfp.c122 ANA_AC_TSN_SF_CFG_TSN_MAX_SDU_SET(sf->max_sdu) | in sparx5_psfp_sf_set()
Dsparx5_tc_flower.c1160 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()
Dsparx5_main.h512 u32 max_sdu; member
/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c920 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()
Dstmmac.h261 u32 max_sdu[MTL_MAX_TX_QUEUES]; member
Dstmmac_main.c2514 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/
Denetc_pf.c518 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/
Digc.h164 u32 max_sdu; member
Digc_main.c1638 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()

12