uint64_t service_mask; - uint8_t runstate; /* running or stopped */ - uint8_t thread_active; /* indicates when thread is in service_run() */ + RTE_ATOMIC(uint8_t) runstate; /* running or stopped */ + RTE_ATOMIC(uint8_t) thread_active; /* indicates when thread is in servic...
By use case DevSecOps DevOps CI/CD View all use cases By industry Healthcare Financial services Manufacturing Government View all industries View all solutions Resources Topics AI DevOps Security Software Development View all Explore Learning Pathways White papers, Ebooks, Webinars ...
Solutions By size Enterprise Teams Startups By industry Healthcare Financial services Manufacturing By use case CI/CD & Automation DevOps DevSecOps Resources Topics AI DevOps Security Software Development View all Explore Learning Pathways White papers, Ebooks, Webinars Cust...
rte_rwlock_read_lock(&mcfg->mlock);/* dump all zones */for(i=0; i<RTE_MAX_MEMZONE; i++) {if(mcfg->memzone[i].addr ==NULL)break;fprintf(f,"Zone %u: name:<%s>, phys:0x%"PRIx64", len:0x%zx"", virt:%p, socket_id:%"PRId32", flags:%"PRIx32"\n", i, mcfg->memzone[i...
rte_rwlock_write_lock(&mcfg->mlock); idx = ((uintptr_t)mz - (uintptr_t)mcfg->memzone); idx = idx /sizeof(struct rte_memzone);#ifdefRTE_LIBRTE_IVSHMEM/* * If ioremap_addr is set, it's an IVSHMEM memzone and we cannot
mplock= {cnt =0}, tlock = {locked =0}, memory_hotplug_lock = {cnt =0}, memzones ={ name="memzone",'\000'<repeats56times>, count =143, len =2560, elt_sz =72, data =0x100010000, rwlock= {cnt =0}}, memsegs = {{{base_va =0x120000000, addr_64 =4831838208}, page_sz ...
$1= {name ='\000'<repeats63times>, count =0, len =0, elt_sz =0, data =0x0, rwlock = {cnt =0}} (gdb) n732ma = malloc(sizeof(*ma)); (gdb) n733if(ma ==NULL) { (gdb) n738page_sz =sysconf(_SC_PAGESIZE); (gdb) n739if(page_sz == (size_t)-1) { ...
(&arr->rwlock); + return ret; +} + +int __rte_experimental +rte_fbarray_find_idx(const struct rte_fbarray *arr, const void *elt) +{ + void *end; + int ret = -1; + + /* + * no need to synchronize as it doesn't matter if underlying data + * changes - we're doing ...
[Core] Blind pass at using a rwlock for chat_hash [Core] Fix crash in enterprise originate: memory fence the handles. [Core] Fix false-positive illegal memory access detection in switch_console_complete() [core] Fix wrong reason code for group call ...
ring->vmem = (void**)&txr->tx_buf_ring; cpr =rte_zmalloc_socket("bnxt_tx_ring",sizeof(struct bnxt_cp_ring_info), RTE_CACHE_LINE_SIZE, socket_id);if(cpr ==NULL)return-ENOMEM; txq->cp_ring = cpr; ring =rte_zmalloc_socket("bnxt_tx_ring_struct",sizeof(struct bnxt_ring),...