aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/transport/nirio_link.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/host/lib/transport/nirio_link.cpp b/host/lib/transport/nirio_link.cpp
index d35d512a3..c6183001f 100644
--- a/host/lib/transport/nirio_link.cpp
+++ b/host/lib/transport/nirio_link.cpp
@@ -87,12 +87,15 @@ nirio_link::nirio_link(uhd::niusrprio::niusrprio_session::sptr fpga_session,
PROXY->poke(PCIE_RX_DMA_REG(DMA_FRAME_SIZE_REG, _fifo_instance),
static_cast<uint32_t>(_link_params.recv_frame_size / sizeof(fifo_data_t))),
status);
- // Config 32-bit word flipping and enable DMA streams
- nirio_status_chain(PROXY->poke(PCIE_TX_DMA_REG(DMA_CTRL_STATUS_REG, _fifo_instance),
- DMA_CTRL_SW_BUF_U32 | DMA_CTRL_ENABLED),
+
+ // Config 64-bit word flipping and enable DMA streams
+ nirio_status_chain(
+ PROXY->poke(PCIE_TX_DMA_REG(DMA_CTRL_STATUS_REG, _fifo_instance),
+ DMA_CTRL_SW_BUF_U64 | DMA_CTRL_ENABLED),
status);
- nirio_status_chain(PROXY->poke(PCIE_RX_DMA_REG(DMA_CTRL_STATUS_REG, _fifo_instance),
- DMA_CTRL_SW_BUF_U32 | DMA_CTRL_ENABLED),
+ nirio_status_chain(
+ PROXY->poke(PCIE_RX_DMA_REG(DMA_CTRL_STATUS_REG, _fifo_instance),
+ DMA_CTRL_SW_BUF_U64 | DMA_CTRL_ENABLED),
status);
// Create FIFOs