NTB: Enable Snoop on Primary Side
authorJon Mason <jon.mason@intel.com>
Fri, 4 Oct 2013 00:24:03 +0000 (17:24 -0700)
committerJon Mason <jon.mason@intel.com>
Wed, 20 Nov 2013 16:57:33 +0000 (09:57 -0700)
commit78958433db077b339f3a039890148561086574e4
treee35bac402cba779d8d838752b7feb6454489289f
parent58b889206ea4ba75a57986e223da647f91ba1a19
NTB: Enable Snoop on Primary Side

Enable Snoop from Primary to Secondary side on BAR23 and BAR45 on all
TLPs.  Previously, Snoop was only enabled from Secondary to Primary
side.  This can have a performance improvement on some workloads.

Also, make the code more obvious about how the link is being enabled.

Signed-off-by: Jon Mason <jon.mason@intel.com>
drivers/ntb/ntb_hw.c
drivers/ntb/ntb_regs.h