/linux-6.6.21/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.6.21/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.6.21/net/sched/ |
D | sch_taprio.c | 71 u32 max_sdu[TC_MAX_QUEUE]; /* for dump */ member 102 u32 max_sdu[TC_MAX_QUEUE]; /* save info from the user */ member 272 u32 max_sdu; in taprio_update_queue_max_sdu() local 276 max_sdu_from_user = q->max_sdu[tc] ?: U32_MAX; in taprio_update_queue_max_sdu() 300 max_sdu = min(max_sdu_dynamic, max_sdu_from_user); in taprio_update_queue_max_sdu() 302 if (max_sdu != U32_MAX) { in taprio_update_queue_max_sdu() 303 sched->max_frm_len[tc] = max_sdu + dev->hard_header_len; in taprio_update_queue_max_sdu() 304 sched->max_sdu[tc] = max_sdu; in taprio_update_queue_max_sdu() 307 sched->max_sdu[tc] = 0; in taprio_update_queue_max_sdu() 1530 if (q->max_sdu[tc]) { in taprio_enable_offload() [all …]
|
/linux-6.6.21/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.6.21/include/uapi/linux/ |
D | atm.h | 142 int max_sdu; /* maximum SDU in bytes */ member
|
/linux-6.6.21/include/net/ |
D | pkt_sched.h | 239 u32 max_sdu[TC_MAX_QUEUE]; member
|
/linux-6.6.21/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.6.21/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.6.21/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 | 1079 struct sparx5_psfp_sf sf = { .max_sdu = SPX5_PSFP_SF_MAX_SDU }; in sparx5_tc_flower_replace() 1144 sf.max_sdu = act->police.mtu; in sparx5_tc_flower_replace()
|
D | sparx5_main.h | 516 u32 max_sdu; member
|
/linux-6.6.21/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()
|
D | enetc_qos.c | 124 enetc_set_ptcmsdur(hw, admin_conf->max_sdu); in enetc_setup_taprio()
|
/linux-6.6.21/drivers/net/ethernet/intel/igc/ |
D | igc.h | 116 u32 max_sdu; member
|
D | igc_main.c | 1636 if (tx_ring->max_sdu > 0 && first->bytecount > tx_ring->max_sdu) { in igc_xmit_frame_ring() 6168 ring->max_sdu = 0; in igc_qbv_clear_schedule() 6330 if (qopt->max_sdu[i]) in igc_save_qbv_schedule() 6331 ring->max_sdu = qopt->max_sdu[i] + dev->hard_header_len - ETH_TLEN; in igc_save_qbv_schedule() 6333 ring->max_sdu = 0; in igc_save_qbv_schedule()
|
/linux-6.6.21/include/net/bluetooth/ |
D | hci.h | 2877 __le16 max_sdu; member
|