From 34729381733f22b36d34d8d451b80de5b0e83203 Mon Sep 17 00:00:00 2001 From: michael-west Date: Mon, 17 Aug 2020 09:22:53 -0700 Subject: 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 --- host/lib/usrp/x300/x300_eth_mgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib') 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; -- cgit v1.2.3