Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1686932
| From | Sinan Kaya <okaya@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v7 2/3] PCI: Enable PCIe Relaxed Ordering if supported |
| Date | 2017-07-13 23:20 +0200 |
| Message-ID | <u2TGG-2pl-35@gated-at.bofh.it> (permalink) |
| References | <u2NhU-6IB-11@gated-at.bofh.it> <u2NhT-6IB-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 7/13/2017 10:21 AM, Ding Tianhong wrote:
> static void pci_configure_relaxed_ordering(struct pci_dev *dev)
> +{
> + /* We should not alter the relaxed ordering bit for the VF */
> + if (dev->is_virtfn)
> + return;
> +
> + /* If the releaxed ordering enable bit is not set, do nothing. */
> + if (!pcie_relaxed_ordering_supported(dev))
> + return;
> +
> + if (pci_dev_should_disable_relaxed_ordering(dev)) {
> + pcie_clear_relaxed_ordering(dev);
> + dev_info(&dev->dev, "Disable Relaxed Ordering\n");
> + }
> +}
I couldn't find anywhere where you actually enable the relaxed ordering
like the subject suggests.
--
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v7 2/3] PCI: Enable PCIe Relaxed Ordering if supported Ding Tianhong <dingtianhong@huawei.com> - 2017-07-13 16:30 +0200
Re: [PATCH v7 2/3] PCI: Enable PCIe Relaxed Ordering if supported Sinan Kaya <okaya@codeaurora.org> - 2017-07-13 23:20 +0200
Re: [PATCH v7 2/3] PCI: Enable PCIe Relaxed Ordering if supported Ding Tianhong <dingtianhong@huawei.com> - 2017-07-14 03:30 +0200
Re: [PATCH v7 2/3] PCI: Enable PCIe Relaxed Ordering if supported Sinan Kaya <okaya@codeaurora.org> - 2017-07-14 16:00 +0200
csiph-web