]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
NTB: MFV 78958433: Enable Snoop on Primary Side
authorcem <cem@FreeBSD.org>
Wed, 14 Oct 2015 02:14:15 +0000 (02:14 +0000)
committercem <cem@FreeBSD.org>
Wed, 14 Oct 2015 02:14:15 +0000 (02:14 +0000)
commitab645378841d73aef1fd4345eed23d39ae3ecffe
treea803040bd48c195a29897815acf317f963bac306
parent4402204d479cb7e4d3842d36bab68c9bd3d3a4cb
NTB: MFV 78958433: 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.

Authored by: Jon Mason
Obtained from: Linux (Dual BSD/GPL driver)
Sponsored by: EMC / Isilon Storage Division
sys/dev/ntb/ntb_hw/ntb_hw.c
sys/dev/ntb/ntb_hw/ntb_regs.h