netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] net: ixgbe: Use new flag to disable Relaxed Ordering
@ 2017-08-16  9:41 Ding Tianhong
  2017-08-16  9:41 ` [PATCH net 1/2] Revert commit 1a8b6d76dc5b ("net:add one common config...") Ding Tianhong
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ding Tianhong @ 2017-08-16  9:41 UTC (permalink / raw)
  To: davem, jeffrey.t.kirsher, keescook, linux-kernel, sparclinux,
	intel-wired-lan, alexander.duyck, netdev
  Cc: Ding Tianhong

The new flag PCI_DEV_FLAGS_NO_RELAXED_ORDERING has been added
to indicate that Relaxed Ordering Attributes (RO) should not
be used for Transaction Layer Packets (TLP) targeted toward
these affected Root Port, it will clear the bit4 in the PCIe
Device Control register, so the PCIe device drivers could
query PCIe configuration space to determine if it can send
TLPs to Root Port with the Relaxed Ordering Attributes set.

The ixgbe driver could use this flag to determine if it can
send TLPs to Root Port with the Relaxed Ordering Attributes set.

Ding Tianhong (2):
  Revert commit 1a8b6d76dc5b ("net:add one common config...")
  net: ixgbe: Use new IXGBE_FLAG2_ROOT_NO_RELAXED_ORDERING flag

 arch/Kconfig                                    |  3 --
 arch/sparc/Kconfig                              |  1 -
 drivers/net/ethernet/intel/ixgbe/ixgbe.h        |  1 +
 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c  | 37 ++++++++++++-------------
 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 32 +++++++++++----------
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c   | 17 ++++++++++++
 6 files changed, 53 insertions(+), 38 deletions(-)

-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-17  1:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-16  9:41 [PATCH net 0/2] net: ixgbe: Use new flag to disable Relaxed Ordering Ding Tianhong
2017-08-16  9:41 ` [PATCH net 1/2] Revert commit 1a8b6d76dc5b ("net:add one common config...") Ding Tianhong
2017-08-16  9:41 ` [PATCH net 2/2] net: ixgbe: Use new IXGBE_FLAG2_ROOT_NO_RELAXED_ORDERING flag Ding Tianhong
2017-08-16 18:17   ` Alexander Duyck
2017-08-16 17:56 ` [PATCH net 0/2] net: ixgbe: Use new flag to disable Relaxed Ordering David Miller
2017-08-17  1:22   ` Ding Tianhong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).