Lines Matching full:qos

245   if (vcc->qos.txtp.traffic_class == ATM_ABR) {  in clear_lockup()
475 if (vcc->qos.txtp.max_pcr <= 0) { in ia_cbr_setup()
479 rate = vcc->qos.txtp.max_pcr; in ia_cbr_setup()
1381 if (vcc->qos.rxtp.traffic_class == ATM_NONE) return 0;
1383 if (vcc->qos.rxtp.traffic_class == ATM_ABR) {
1398 if ((vcc->qos.rxtp.traffic_class == ATM_ABR) ||
1399 (vcc->qos.txtp.traffic_class == ATM_ABR))
1725 if (vcc->qos.txtp.pcr >= iadev->rate_limit) {
1754 if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0;
1758 if (vcc->qos.txtp.traffic_class == ATM_ABR) {
1762 if (vcc->qos.txtp.traffic_class == ATM_CBR) {
1769 if (vcc->qos.txtp.max_sdu >
1772 vcc->qos.txtp.max_sdu,iadev->tx_buf_sz);
1781 if (vcc->qos.txtp.max_pcr == ATM_MAX_PCR)
1782 vcc->qos.txtp.pcr = iadev->LineRate;
1783 else if ((vcc->qos.txtp.max_pcr == 0)&&( vcc->qos.txtp.pcr <= 0))
1784 vcc->qos.txtp.pcr = iadev->LineRate;
1785 else if ((vcc->qos.txtp.max_pcr > vcc->qos.txtp.pcr) && (vcc->qos.txtp.max_pcr> 0))
1786 vcc->qos.txtp.pcr = vcc->qos.txtp.max_pcr;
1787 if (vcc->qos.txtp.pcr > iadev->LineRate)
1788 vcc->qos.txtp.pcr = iadev->LineRate;
1789 ia_vcc->pcr = vcc->qos.txtp.pcr;
1800 if (vcc->qos.txtp.max_sdu != 0) {
1802 sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 5;
1804 sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 4;
1806 sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 3;
1828 if (vcc->qos.txtp.traffic_class == ATM_UBR)
1833 if (vcc->qos.txtp.pcr > 0)
1834 vc->acr = cellrate_to_float(vcc->qos.txtp.pcr);
1836 vcc->qos.txtp.max_pcr,vc->acr);)
1838 else if (vcc->qos.txtp.traffic_class == ATM_ABR)
1842 if (vcc->qos.txtp.pcr > 0)
1843 srv_p.pcr = vcc->qos.txtp.pcr;
1844 if (vcc->qos.txtp.min_pcr > 0) {
1845 int tmpsum = iadev->sum_mcr+iadev->sum_cbr+vcc->qos.txtp.min_pcr;
1848 srv_p.mcr = vcc->qos.txtp.min_pcr;
1849 iadev->sum_mcr += vcc->qos.txtp.min_pcr;
1852 if (vcc->qos.txtp.icr)
1853 srv_p.icr = vcc->qos.txtp.icr;
1854 if (vcc->qos.txtp.tbe)
1855 srv_p.tbe = vcc->qos.txtp.tbe;
1856 if (vcc->qos.txtp.frtt)
1857 srv_p.frtt = vcc->qos.txtp.frtt;
1858 if (vcc->qos.txtp.rif)
1859 srv_p.rif = vcc->qos.txtp.rif;
1860 if (vcc->qos.txtp.rdf)
1861 srv_p.rdf = vcc->qos.txtp.rdf;
1862 if (vcc->qos.txtp.nrm_pres)
1863 srv_p.nrm = vcc->qos.txtp.nrm;
1864 if (vcc->qos.txtp.trm_pres)
1865 srv_p.trm = vcc->qos.txtp.trm;
1866 if (vcc->qos.txtp.adtf_pres)
1867 srv_p.adtf = vcc->qos.txtp.adtf;
1868 if (vcc->qos.txtp.cdf_pres)
1869 srv_p.cdf = vcc->qos.txtp.cdf;
1872 IF_ABR(printk("ABR:vcc->qos.txtp.max_pcr = %d mcr = %d\n",
1875 } else if (vcc->qos.txtp.traffic_class == ATM_CBR) {
1880 if (vcc->qos.txtp.max_pcr > iadev->LineRate) {
2625 if (vcc->qos.txtp.traffic_class != ATM_NONE) {
2652 if (vcc->qos.txtp.traffic_class == ATM_ABR) {
2653 if (vcc->qos.txtp.min_pcr > 0)
2654 iadev->sum_mcr -= vcc->qos.txtp.min_pcr;
2656 if (vcc->qos.txtp.traffic_class == ATM_CBR) {
2664 if (vcc->qos.rxtp.traffic_class != ATM_NONE) {
2673 if (vcc->qos.rxtp.traffic_class == ATM_ABR) {
2705 if (vcc->qos.aal != ATM_AAL5)
2745 static int ia_change_qos(struct atm_vcc *vcc, struct atm_qos *qos, int flags) argument
2998 if (vcc->qos.txtp.traffic_class == ATM_ABR)