diff options
author | Casey Leedom <leedom@chelsio.com> | 2017-08-15 05:23:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-15 07:14:51 +0200 |
commit | b629276df7f669b1daaad2131ca418ab55186565 (patch) | |
tree | ffbc389806c2543db994625f380fca85d9fe4cad /drivers/net/ethernet/chelsio/cxgb4vf/adapter.h | |
parent | net/cxgb4: Use new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag (diff) | |
download | linux-b629276df7f669b1daaad2131ca418ab55186565.tar.xz linux-b629276df7f669b1daaad2131ca418ab55186565.zip |
net/cxgb4vf: Use new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag
cxgb4vf Ethernet driver now queries PCIe configuration space to
determine if it can send TLPs to it with the Relaxed Ordering
Attribute set, just like the pf did.
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>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4vf/adapter.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4vf/adapter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/adapter.h b/drivers/net/ethernet/chelsio/cxgb4vf/adapter.h index 109bc630408b..08c6ddb84a04 100644 --- a/drivers/net/ethernet/chelsio/cxgb4vf/adapter.h +++ b/drivers/net/ethernet/chelsio/cxgb4vf/adapter.h @@ -408,6 +408,7 @@ enum { /* adapter flags */ USING_MSI = (1UL << 1), USING_MSIX = (1UL << 2), QUEUES_BOUND = (1UL << 3), + ROOT_NO_RELAXED_ORDERING = (1UL << 4), }; /* |