diff options
author | Jonathon Pendlum <jonathon.pendlum@ettus.com> | 2017-01-25 13:27:32 -0600 |
---|---|---|
committer | Jonathon Pendlum <jon.pendlum@gmail.com> | 2017-01-26 17:03:26 -0500 |
commit | 92d3054d5917e5256a652c7f16a1bf0ee9859f9a (patch) | |
tree | 442d5c2aa45c509309106cc006e835845918cc12 /host/lib/usrp/x300 | |
parent | be4dda6d4666988fc8624bd336a22ee6d1a82f59 (diff) | |
download | uhd-92d3054d5917e5256a652c7f16a1bf0ee9859f9a.tar.gz uhd-92d3054d5917e5256a652c7f16a1bf0ee9859f9a.tar.bz2 uhd-92d3054d5917e5256a652c7f16a1bf0ee9859f9a.zip |
x300: Increase PCIe TX frame size to 8184
Diffstat (limited to 'host/lib/usrp/x300')
-rw-r--r-- | host/lib/usrp/x300/x300_impl.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
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; |