aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authormichael-west <michael.west@ettus.com>2020-08-17 09:22:53 -0700
committerAaron Rossetto <aaron.rossetto@ni.com>2020-08-17 15:07:34 -0500
commit34729381733f22b36d34d8d451b80de5b0e83203 (patch)
tree16847167897c43e6f1ff66276adbb34c9945f27e /host
parent5333d0d9323325dbb6321188852ccd48d54cb47a (diff)
downloaduhd-34729381733f22b36d34d8d451b80de5b0e83203.tar.gz
uhd-34729381733f22b36d34d8d451b80de5b0e83203.tar.bz2
uhd-34729381733f22b36d34d8d451b80de5b0e83203.zip
X300: Adjusting 10GbE frame sizes for HW limits
Lowering X300 10GbE default frame sizes to max size supported by hardware. Signed-off-by: michael-west <michael.west@ettus.com>
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/x300/x300_eth_mgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/x300/x300_eth_mgr.cpp b/host/lib/usrp/x300/x300_eth_mgr.cpp
index 88e021005..879b553fd 100644
--- a/host/lib/usrp/x300/x300_eth_mgr.cpp
+++ b/host/lib/usrp/x300/x300_eth_mgr.cpp
@@ -45,8 +45,8 @@ namespace asio = boost::asio;
namespace {
constexpr unsigned int X300_UDP_RESERVED_FRAME_SIZE = 64;
-constexpr size_t XGE_DATA_FRAME_SEND_SIZE = 8972;
-constexpr size_t XGE_DATA_FRAME_RECV_SIZE = 8972;
+constexpr size_t XGE_DATA_FRAME_SEND_SIZE = x300::DATA_FRAME_MAX_SIZE;
+constexpr size_t XGE_DATA_FRAME_RECV_SIZE = x300::DATA_FRAME_MAX_SIZE;
constexpr size_t GE_DATA_FRAME_SEND_SIZE = 1472;
constexpr size_t GE_DATA_FRAME_RECV_SIZE = 1472;
constexpr size_t ETH_MSG_NUM_FRAMES = 64;