From 92d3054d5917e5256a652c7f16a1bf0ee9859f9a Mon Sep 17 00:00:00 2001 From: Jonathon Pendlum Date: Wed, 25 Jan 2017 13:27:32 -0600 Subject: x300: Increase PCIe TX frame size to 8184 --- host/lib/usrp/x300/x300_impl.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'host') diff --git a/host/lib/usrp/x300/x300_impl.hpp b/host/lib/usrp/x300/x300_impl.hpp index 81d8cd3ba..133938daf 100644 --- a/host/lib/usrp/x300/x300_impl.hpp +++ b/host/lib/usrp/x300/x300_impl.hpp @@ -54,10 +54,7 @@ static const size_t X300_RX_SW_BUFF_SIZE_ETH_MACOS = 0x100000; //1Mib //where an element is 8 bytes. For best throughput ensure that the data frame fits in these buffers. //Also ensure that the kernel has enough frames to hold buffered TX and RX data static const size_t X300_PCIE_RX_DATA_FRAME_SIZE = 8184; //bytes -//static const size_t X300_PCIE_TX_DATA_FRAME_SIZE = 8192; //bytes -// This is a temporary solution: We're throttling PCIe MTU to avoid -// underruns on Tx. Once we solve it on the FPGA side, need revert this commit. -static const size_t X300_PCIE_TX_DATA_FRAME_SIZE = 3000; //bytes +static const size_t X300_PCIE_TX_DATA_FRAME_SIZE = 8184; //bytes static const size_t X300_PCIE_DATA_NUM_FRAMES = 2048; static const size_t X300_PCIE_MSG_FRAME_SIZE = 256; //bytes static const size_t X300_PCIE_MSG_NUM_FRAMES = 64; -- cgit v1.2.3