]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/cxgb4: Use new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag
authorCasey Leedom <leedom@chelsio.com>
Tue, 15 Aug 2017 03:23:26 +0000 (11:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Aug 2017 05:14:51 +0000 (22:14 -0700)
commitb0ba9d5fded9590cac67a482c5aab8b1bf86ee40
tree08462cc63c846c4e9f8dea0f033d9bf85029774a
parent077fa19c5dfa06a6ae04fb1661680940ff837612
net/cxgb4: Use new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag

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 <leedom@chelsio.com>
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Reviewed-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/sge.c