diff options
author | Michael West <michael.west@ettus.com> | 2017-03-27 19:22:13 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-04-05 17:26:28 -0700 |
commit | fe1088f9ce5bc6b2b2054a70aed60f62eb6c4c12 (patch) | |
tree | dd3dcfcce3040f88f6e18f7511977d3209665587 /host/lib/usrp/x300/x300_impl.cpp | |
parent | 171f85e4c7c0c1dbe796c5ba42215184ef2d6065 (diff) | |
download | uhd-fe1088f9ce5bc6b2b2054a70aed60f62eb6c4c12.tar.gz uhd-fe1088f9ce5bc6b2b2054a70aed60f62eb6c4c12.tar.bz2 uhd-fe1088f9ce5bc6b2b2054a70aed60f62eb6c4c12.zip |
X300: Change default frame sizes for PCIe to be page aligned for better
performance
Diffstat (limited to 'host/lib/usrp/x300/x300_impl.cpp')
-rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index fe422db46..4f3870357 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -1107,14 +1107,14 @@ uhd::both_xports_t x300_impl::make_transport( ? X300_PCIE_RX_DATA_FRAME_SIZE : X300_PCIE_MSG_FRAME_SIZE; - default_buff_args.num_send_frames = - (xport_type == TX_DATA) - ? X300_PCIE_DATA_NUM_FRAMES + default_buff_args.num_send_frames = + (xport_type == TX_DATA) + ? X300_PCIE_TX_DATA_NUM_FRAMES : X300_PCIE_MSG_NUM_FRAMES; default_buff_args.num_recv_frames = (xport_type == RX_DATA) - ? X300_PCIE_DATA_NUM_FRAMES + ? X300_PCIE_RX_DATA_NUM_FRAMES : X300_PCIE_MSG_NUM_FRAMES; xports.recv = nirio_zero_copy::make( |