37 : m_run_marker{ false }
38 , m_card_id(cfg->get_card())
39 , m_logical_unit(cfg->get_slr())
40 , m_dma_id(cfg->get_dma_id())
41 , m_margin_blocks(cfg->get_dma_margin_blocks())
42 , m_block_threshold(cfg->get_dma_block_threshold())
43 , m_interrupt_mode(cfg->get_interrupt_mode())
44 , m_poll_time(cfg->get_poll_time())
45 , m_numa_id(cfg->get_numa_id())
49 , m_handle_block_addr(nullptr)
50 , m_links_enabled(enabled_links)
54 std::ostringstream tnoss;
58 std::ostringstream cardoss;
64 throw flxlibs::CardError(
ERS_HERE,
"Couldn't create FlxCard object.");
191 unsigned ret = CMEM_Open();
193 ret = CMEM_NumaSegmentAllocate(bsize, numa,
const_cast<char*
>(
m_card_id_str.c_str()), &handle);
197 ret = CMEM_SegmentPhysicalAddress(handle, paddr);
200 ret = CMEM_SegmentVirtualAddress(handle, vaddr);
209 "Not enough CMEM memory allocated or the application demands too much CMEM memory.\n"
210 "Fix the CMEM memory reservation in the driver or change the module's configuration."));