Home
last modified time | relevance | path

Searched refs:max_mrrs (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/infiniband/hw/qib/
Dqib_pcie.c454 u16 rc_mrrs, ep_mrrs, max_mrrs; in qib_tune_pcie_caps() local
495 max_mrrs = 5; in qib_tune_pcie_caps()
496 if (max_mrrs > ((qib_pcie_caps >> 4) & 7)) in qib_tune_pcie_caps()
497 max_mrrs = (qib_pcie_caps >> 4) & 7; in qib_tune_pcie_caps()
499 max_mrrs = 128 << max_mrrs; in qib_tune_pcie_caps()
503 if (max_mrrs > rc_mrrs) { in qib_tune_pcie_caps()
504 rc_mrrs = max_mrrs; in qib_tune_pcie_caps()
507 if (max_mrrs > ep_mrrs) { in qib_tune_pcie_caps()
508 ep_mrrs = max_mrrs; in qib_tune_pcie_caps()
/Linux-v6.6/drivers/infiniband/hw/hfi1/
Dpcie.c421 u16 rc_mrrs, ep_mrrs, max_mrrs, ectl; in tune_pcie_caps() local
488 max_mrrs = 5; in tune_pcie_caps()
489 if (max_mrrs > ((hfi1_pcie_caps >> 4) & 7)) in tune_pcie_caps()
490 max_mrrs = (hfi1_pcie_caps >> 4) & 7; in tune_pcie_caps()
492 max_mrrs = 128 << max_mrrs; in tune_pcie_caps()
496 if (max_mrrs > rc_mrrs) { in tune_pcie_caps()
497 rc_mrrs = max_mrrs; in tune_pcie_caps()
500 if (max_mrrs > ep_mrrs) { in tune_pcie_caps()
501 ep_mrrs = max_mrrs; in tune_pcie_caps()
/Linux-v6.6/drivers/pci/
Dpci.c6167 int max_mrrs = pcie_get_readrq(dev); in pcie_set_readrq() local
6169 if (rq > max_mrrs) { in pcie_set_readrq()
6170 pci_info(dev, "can't set Max_Read_Request_Size to %d; max is %d\n", rq, max_mrrs); in pcie_set_readrq()