Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/atm/
A Dcommon.c104 return (vcc->qos.txtp.max_sdu + in vcc_writable()
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()
444 vcc->qos.rxtp.max_sdu); in __vcc_connect()
[all …]
A 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()
A Dpppoatm.c414 pvcc->chan.mtu = atmvcc->qos.txtp.max_sdu - PPP_HDRLEN - in pppoatm_assign_vcc()
A 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.3-rc2/net/sched/
A Dsch_taprio.c267 u32 max_sdu; in taprio_update_queue_max_sdu() local
297 if (max_sdu != U32_MAX) { in taprio_update_queue_max_sdu()
299 sched->max_sdu[tc] = max_sdu; in taprio_update_queue_max_sdu()
302 sched->max_sdu[tc] = 0; in taprio_update_queue_max_sdu()
1508 if (q->max_sdu[tc]) { in taprio_enable_offload()
1527 offload->max_sdu[tc] = q->max_sdu[tc]; in taprio_enable_offload()
1705 max_sdu[tc] = val; in taprio_parse_tc_entry()
1715 u32 max_sdu[TC_QOPT_MAX_QUEUE]; in taprio_parse_tc_entries() local
1722 max_sdu[tc] = q->max_sdu[tc]; in taprio_parse_tc_entries()
1735 q->max_sdu[tc] = max_sdu[tc]; in taprio_parse_tc_entries()
[all …]
/linux-6.3-rc2/drivers/net/dsa/ocelot/
A Dfelix_vsc9959.c1153 u32 max_sdu) in vsc9959_port_qmaxsdu_set() argument
1209 if (!taprio || !taprio->max_sdu[tc]) in vsc9959_tas_tc_max_sdu()
1279 u32 max_sdu; in vsc9959_tas_guard_bands_update() local
1288 max_sdu = requested_max_sdu; in vsc9959_tas_guard_bands_update()
1310 if (!max_sdu) in vsc9959_tas_guard_bands_update()
1311 max_sdu = 1; in vsc9959_tas_guard_bands_update()
1317 if (max_sdu > 20) in vsc9959_tas_guard_bands_update()
1318 max_sdu -= 20; in vsc9959_tas_guard_bands_update()
1321 max_sdu = requested_max_sdu; in vsc9959_tas_guard_bands_update()
1329 max_sdu); in vsc9959_tas_guard_bands_update()
[all …]
/linux-6.3-rc2/drivers/atm/
A 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 …]
A Dfore200e.c976 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()
A Diphase.c1770 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;
A 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()
A Didt77252.c2357 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()
A 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.3-rc2/include/uapi/linux/
A Datm.h142 int max_sdu; /* maximum SDU in bytes */ member
/linux-6.3-rc2/include/net/
A Dpkt_sched.h201 u32 max_sdu[TC_MAX_QUEUE]; member
/linux-6.3-rc2/drivers/usb/atm/
A 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.3-rc2/drivers/net/dsa/hirschmann/
A Dhellcreek.c1551 u32 max_sdu = schedule->max_sdu[tc] + VLAN_ETH_HLEN - ETH_FCS_LEN; in hellcreek_setup_maxsdu() local
1554 if (!schedule->max_sdu[tc]) in hellcreek_setup_maxsdu()
1558 max_sdu, tc, port); in hellcreek_setup_maxsdu()
1562 val = (max_sdu & HR_PTPRTCCFG_MAXSDU_MASK) << HR_PTPRTCCFG_MAXSDU_SHIFT; in hellcreek_setup_maxsdu()
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_psfp.c122 ANA_AC_TSN_SF_CFG_TSN_MAX_SDU_SET(sf->max_sdu) | in sparx5_psfp_sf_set()
A Dsparx5_tc_flower.c1004 struct sparx5_psfp_sf sf = { .max_sdu = SPX5_PSFP_SF_MAX_SDU }; in sparx5_tc_flower_replace()
1069 sf.max_sdu = act->police.mtu; in sparx5_tc_flower_replace()
A Dsparx5_main.h512 u32 max_sdu; member
/linux-6.3-rc2/drivers/net/ethernet/freescale/enetc/
A 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()
A Denetc_qos.c129 enetc_set_ptcmsdur(hw, admin_conf->max_sdu); in enetc_setup_taprio()
/linux-6.3-rc2/include/net/bluetooth/
A Dhci.h2826 __le16 max_sdu; member

Completed in 89 milliseconds