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