Thread (26 messages) flat view 26 messages, 7 authors, 2017-08-07

Re: [PATCH v7 3/3] net/cxgb4: Use new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag

From: Alexander Duyck <hidden>
Date: 2017-07-13 18:17:32
Also in: linux-arm-kernel, linux-pci, lkml

On Thu, Jul 13, 2017 at 11:14 AM, Alexander Duyck
[off-list ref] wrote:
On Thu, Jul 13, 2017 at 7:21 AM, Ding Tianhong [off-list ref] wrote:
quoted
From: Casey Leedom <redacted>

cxgb4 Ethernet driver now queries PCIe configuration space to determine
if it can send TLPs to it with the Relaxed Ordering Attribute set.

Remove the enable_pcie_relaxed_ordering() to avoid enable PCIe Capability
Device Control[Relaxed Ordering Enable] at probe routine, to make sure
the driver will not send the Relaxed Ordering TLPs to the Root Complex which
could not deal the Relaxed Ordering TLPs.

Signed-off-by: Casey Leedom <redacted>
Signed-off-by: Ding Tianhong <redacted>
Ding,

You can probably just drop this patch. If I am understanding Casey
correctly just the fact that the relaxed ordering enable bit is
cleared in the configuration should be enough to do this for the
device automatically.

- Alex
Actually I take that back. I hadn't caught the most recent parts of
the thread. If this is good for Casey then this works for me.

- Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help