diff options
author | Paul David <paul.david@ettus.com> | 2017-02-02 14:49:53 -0500 |
---|---|---|
committer | Ashish Chaudhari <ashish.chaudhari@ettus.com> | 2017-02-13 13:18:18 -0800 |
commit | b107b4604cedd1ea91b45392c979d179a15d5738 (patch) | |
tree | 5e5ca964ce973589acec4433f7b79e3a42b0644f /host/lib/usrp/x300/x300_impl.hpp | |
parent | 4987ea710b2b95f1e1a8756b53997690f17e8fda (diff) | |
download | uhd-b107b4604cedd1ea91b45392c979d179a15d5738.tar.gz uhd-b107b4604cedd1ea91b45392c979d179a15d5738.tar.bz2 uhd-b107b4604cedd1ea91b45392c979d179a15d5738.zip |
X3xx: Limit the number of USRPs that can initialize in parallel
Diffstat (limited to 'host/lib/usrp/x300/x300_impl.hpp')
-rw-r--r-- | host/lib/usrp/x300/x300_impl.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/x300/x300_impl.hpp b/host/lib/usrp/x300/x300_impl.hpp index d082ab76a..bfe98e7a3 100644 --- a/host/lib/usrp/x300/x300_impl.hpp +++ b/host/lib/usrp/x300/x300_impl.hpp @@ -73,6 +73,9 @@ static const size_t X300_ETH_MSG_NUM_FRAMES = 64; static const size_t X300_ETH_DATA_NUM_FRAMES = 32; static const double X300_DEFAULT_SYSREF_RATE = 10e6; +// Limit the number of initialization threads +static const size_t X300_MAX_INIT_THREADS = 10; + static const size_t X300_MAX_RATE_PCIE = 800000000; // bytes/s static const size_t X300_MAX_RATE_10GIGE = (size_t)( // bytes/s 10e9 / 8 * // wire speed multiplied by percentage of packets that is sample data |