MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_smp_mb

Function rte_smp_mb

dpdk/lib/eal/x86/include/rte_atomic.h:66–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 */
65
66static __rte_always_inline void
67rte_smp_mb(void)
68{
69#ifdef RTE_TOOLCHAIN_MSVC
70 _mm_mfence();
71#else
72#ifdef RTE_ARCH_I686
73 asm volatile("lock addl $0, -128(%%esp); " ::: "memory");
74#else
75 asm volatile("lock addl $0, -128(%%rsp); " ::: "memory");
76#endif
77#endif
78}
79
80#define rte_io_mb() rte_mb()
81

Callers 10

__rte_stack_lf_pop_elemsFunction · 0.85
rte_atomic_thread_fenceFunction · 0.85
bpf_eth_cbi_inuseFunction · 0.85
bpf_eth_cbi_waitFunction · 0.85
bpf_eth_cbi_unloadFunction · 0.85
vmbus_txbr_need_signalFunction · 0.85
sw_port_unlinkFunction · 0.85
store_load_barrierFunction · 0.85

Calls

no outgoing calls

Tested by 1

store_load_barrierFunction · 0.68