summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorcem <cem@FreeBSD.org>2015-10-15 23:45:43 +0000
committercem <cem@FreeBSD.org>2015-10-15 23:45:43 +0000
commita2d3d01d7af652bb22508e147d58a7be415b5a8b (patch)
tree2dcafe146a6868182e1d20c9457126a076c32348 /lib/libc
parent8076e3efdfc682559434fcbbc1633099cb891f90 (diff)
downloadFreeBSD-src-a2d3d01d7af652bb22508e147d58a7be415b5a8b.zip
FreeBSD-src-a2d3d01d7af652bb22508e147d58a7be415b5a8b.tar.gz
NTB: Add variable number MW, DB CB support code
This is a follow-up to r289208: "Xeon Errata Workaround." Add logic to support a variable number of memory windows and doorbell callbacks. This was added to the Linux driver in the "Xeon Errata Workaround" commit, but I skipped it because it didn't look neccessary at the time. It is needed for future Haswell split-BAR support, so bring it in now. A new tunable was added for if_ntb, 'hw.ntb.max_num_clients'. By default, it is set to zero -- infer the number of clients from the number of memory windows available from the hardware. Any other positive value can specify a different number of clients, limited by the number of doorbell callbacks available (4 under MSI-X, or 15 (Xeon) or 34 (SoC) under legacy INTx). Obtained from: Linux (Dual BSD/GPL driver) Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud