aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/x300/x300_impl.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-12-13 10:43:45 -0800
committerMartin Braun <martin.braun@ettus.com>2016-12-13 10:43:53 -0800
commit582553984cfd70ae11f5c12da568e4a0a74888d2 (patch)
tree2712e0e6c8c4a5c9f25fb69b8a7831cf88d995af /host/lib/usrp/x300/x300_impl.cpp
parent289dd9446285ab3a04e8e26370159a050f6c5e09 (diff)
downloaduhd-582553984cfd70ae11f5c12da568e4a0a74888d2.tar.gz
uhd-582553984cfd70ae11f5c12da568e4a0a74888d2.tar.bz2
uhd-582553984cfd70ae11f5c12da568e4a0a74888d2.zip
x300: Made MTU throttling more explicit in x300 header files
Diffstat (limited to 'host/lib/usrp/x300/x300_impl.cpp')
-rw-r--r--host/lib/usrp/x300/x300_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp
index fffd6ecac..50a7f3ded 100644
--- a/host/lib/usrp/x300/x300_impl.cpp
+++ b/host/lib/usrp/x300/x300_impl.cpp
@@ -652,7 +652,7 @@ void x300_impl::setup_mb(const size_t mb_i, const uhd::device_addr_t &dev_addr)
}
_tree->create<size_t>(mb_path / "mtu/recv").set(_max_frame_sizes.recv_frame_size);
- _tree->create<size_t>(mb_path / "mtu/send").set(std::min(_max_frame_sizes.send_frame_size, X300_1GE_DATA_FRAME_MAX_SIZE));
+ _tree->create<size_t>(mb_path / "mtu/send").set(std::min(_max_frame_sizes.send_frame_size, X300_ETH_DATA_FRAME_MAX_TX_SIZE));
_tree->create<double>(mb_path / "link_max_rate").set(X300_MAX_RATE_10GIGE);
}