| /dpdk/lib/eal/include/ |
| H A D | rte_bitops.h | 59 RTE_ASSERT(nr < 32); in rte_bit_relaxed_get32() 80 RTE_ASSERT(nr < 32); in rte_bit_relaxed_set32() 101 RTE_ASSERT(nr < 32); in rte_bit_relaxed_clear32() 125 RTE_ASSERT(nr < 32); in rte_bit_relaxed_test_and_set32() 151 RTE_ASSERT(nr < 32); in rte_bit_relaxed_test_and_clear32() 178 RTE_ASSERT(nr < 64); in rte_bit_relaxed_get64() 199 RTE_ASSERT(nr < 64); in rte_bit_relaxed_set64() 220 RTE_ASSERT(nr < 64); in rte_bit_relaxed_clear64() 244 RTE_ASSERT(nr < 64); in rte_bit_relaxed_test_and_set64() 270 RTE_ASSERT(nr < 64); in rte_bit_relaxed_test_and_clear64()
|
| H A D | rte_debug.h | 47 #define RTE_ASSERT(exp) RTE_VERIFY(exp) macro 49 #define RTE_ASSERT(exp) do {} while (0) macro
|
| /dpdk/lib/stack/ |
| H A D | rte_stack.h | 112 RTE_ASSERT(s != NULL); in rte_stack_push() 113 RTE_ASSERT(obj_table != NULL); in rte_stack_push() 136 RTE_ASSERT(s != NULL); in rte_stack_pop() 137 RTE_ASSERT(obj_table != NULL); in rte_stack_pop() 156 RTE_ASSERT(s != NULL); in rte_stack_count() 175 RTE_ASSERT(s != NULL); in rte_stack_free_count()
|
| /dpdk/lib/sched/ |
| H A D | rte_red.h | 206 RTE_ASSERT(red_cfg != NULL); in rte_red_enqueue_empty() 207 RTE_ASSERT(red != NULL); in rte_red_enqueue_empty() 321 RTE_ASSERT(red_cfg != NULL); in rte_red_enqueue_nonempty() 322 RTE_ASSERT(red != NULL); in rte_red_enqueue_nonempty() 384 RTE_ASSERT(red_cfg != NULL); in rte_red_enqueue() 385 RTE_ASSERT(red != NULL); in rte_red_enqueue()
|
| H A D | rte_pie.h | 125 RTE_ASSERT(pkt_len != 0); in rte_pie_enqueue_empty() 343 RTE_ASSERT(pie_cfg != NULL); in rte_pie_enqueue() 344 RTE_ASSERT(pie != NULL); in rte_pie_enqueue()
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | esp.c | 32 RTE_ASSERT(sa != NULL); in esp_inbound() 37 RTE_ASSERT(m != NULL); in esp_inbound() 38 RTE_ASSERT(cop != NULL); in esp_inbound() 154 RTE_ASSERT(m != NULL); in esp_inbound_post() 155 RTE_ASSERT(sa != NULL); in esp_inbound_post() 156 RTE_ASSERT(cop != NULL); in esp_inbound_post() 234 RTE_ASSERT(m != NULL); in esp_outbound() 235 RTE_ASSERT(sa != NULL); in esp_outbound() 367 RTE_ASSERT(cop != NULL); in esp_outbound() 460 RTE_ASSERT(m != NULL); in esp_outbound_post() [all …]
|
| H A D | ipip.h | 25 RTE_ASSERT(inip4->ip_v == IPVERSION || inip4->ip_v == IP6_VERSION); in ipip_outbound() 46 RTE_ASSERT(outip6 != NULL); in ipip_outbound() 65 RTE_ASSERT(outip4 != NULL); in ipip_outbound() 132 RTE_ASSERT(outip4->ip_v == IPVERSION || outip4->ip_v == IP6_VERSION); in ipip_inbound() 145 RTE_ASSERT(inip4->ip_v == IPVERSION || inip4->ip_v == IP6_VERSION); in ipip_inbound() 148 RTE_ASSERT(rte_pktmbuf_pkt_len(m) > ip_len); in ipip_inbound()
|
| H A D | ipsec_process.c | 88 RTE_ASSERT(ss->crypto.ses == NULL); in fill_ipsec_session() 94 RTE_ASSERT(ss->security.ses == NULL); in fill_ipsec_session() 99 RTE_ASSERT(0); in fill_ipsec_session() 367 RTE_ASSERT(cqp->in_flight >= n); in cqp_dequeue()
|
| /dpdk/lib/mbuf/ |
| H A D | rte_mbuf.c | 35 RTE_ASSERT(mp->private_data_size >= in rte_pktmbuf_pool_init() 56 RTE_ASSERT((user_mbp_priv->flags & in rte_pktmbuf_pool_init() 77 RTE_ASSERT(mp->private_data_size >= in rte_pktmbuf_init() 85 RTE_ASSERT(mp->elt_size >= mbuf_size); in rte_pktmbuf_init() 86 RTE_ASSERT(buf_len <= UINT16_MAX); in rte_pktmbuf_init() 120 RTE_ASSERT(RTE_MBUF_HAS_EXTBUF(m)); in rte_pktmbuf_free_pinned_extmem() 121 RTE_ASSERT(RTE_MBUF_HAS_PINNED_EXTBUF(m)); in rte_pktmbuf_free_pinned_extmem() 122 RTE_ASSERT(m->shinfo->fcb_opaque == m); in rte_pktmbuf_free_pinned_extmem() 176 RTE_ASSERT(mp->elt_size >= mbuf_size); in __rte_pktmbuf_init_extmem() 177 RTE_ASSERT(buf_len <= UINT16_MAX); in __rte_pktmbuf_init_extmem() [all …]
|
| H A D | rte_mbuf.h | 531 RTE_ASSERT(rte_mbuf_refcnt_read(m) == 1); in __rte_mbuf_raw_sanity_check() 532 RTE_ASSERT(m->next == NULL); in __rte_mbuf_raw_sanity_check() 533 RTE_ASSERT(m->nb_segs == 1); in __rte_mbuf_raw_sanity_check() 586 RTE_ASSERT(!RTE_MBUF_CLONED(m) && in rte_mbuf_raw_free() 1055 RTE_ASSERT(RTE_MBUF_DIRECT(m) && rte_mbuf_refcnt_read(m) == 1); in rte_pktmbuf_attach_extbuf() 1056 RTE_ASSERT(shinfo->free_cb != NULL); in rte_pktmbuf_attach_extbuf() 1128 RTE_ASSERT(RTE_MBUF_DIRECT(mi) && in rte_pktmbuf_attach() 1168 RTE_ASSERT(RTE_MBUF_HAS_EXTBUF(m)); in __rte_pktmbuf_free_extbuf() 1169 RTE_ASSERT(m->shinfo != NULL); in __rte_pktmbuf_free_extbuf() 1186 RTE_ASSERT(RTE_MBUF_CLONED(m)); in __rte_pktmbuf_free_direct()
|
| /dpdk/lib/rcu/ |
| H A D | rte_rcu_qsbr.h | 303 RTE_ASSERT(v != NULL && thread_id < v->max_threads); in rte_rcu_qsbr_thread_online() 354 RTE_ASSERT(v != NULL && thread_id < v->max_threads); in rte_rcu_qsbr_thread_offline() 392 RTE_ASSERT(v != NULL && thread_id < v->max_threads); in rte_rcu_qsbr_lock() 425 RTE_ASSERT(v != NULL && thread_id < v->max_threads); in rte_rcu_qsbr_unlock() 456 RTE_ASSERT(v != NULL); in rte_rcu_qsbr_start() 485 RTE_ASSERT(v != NULL && thread_id < v->max_threads); in rte_rcu_qsbr_quiescent() 670 RTE_ASSERT(v != NULL); in rte_rcu_qsbr_check()
|
| /dpdk/lib/ring/ |
| H A D | rte_ring_peek_elem_pvt.h | 40 RTE_ASSERT(n >= num); in __rte_ring_st_get_tail() 84 RTE_ASSERT(n >= num); in __rte_ring_hts_get_tail() 132 RTE_ASSERT(0); in __rte_ring_do_enqueue_start() 166 RTE_ASSERT(0); in __rte_ring_do_dequeue_start()
|
| H A D | rte_ring_peek_zc.h | 142 RTE_ASSERT(0); in __rte_ring_do_enqueue_zc_elem_start() 306 RTE_ASSERT(0); in rte_ring_enqueue_zc_elem_finish() 350 RTE_ASSERT(0); in __rte_ring_do_dequeue_zc_elem_start() 512 RTE_ASSERT(0); in rte_ring_dequeue_zc_elem_finish()
|
| H A D | rte_ring_elem.h | 214 RTE_ASSERT(0); in rte_ring_enqueue_bulk_elem() 396 RTE_ASSERT(0); in rte_ring_dequeue_bulk_elem() 582 RTE_ASSERT(0); in rte_ring_enqueue_burst_elem() 692 RTE_ASSERT(0); in rte_ring_dequeue_burst_elem()
|
| H A D | rte_ring_peek.h | 189 RTE_ASSERT(0); in rte_ring_enqueue_elem_finish() 348 RTE_ASSERT(0); in rte_ring_dequeue_elem_finish()
|
| /dpdk/drivers/crypto/ipsec_mb/ |
| H A D | pmd_chacha_poly.c | 114 RTE_ASSERT(m_src != NULL); in chacha20_poly1305_crypto_op() 120 RTE_ASSERT(m_src != NULL); in chacha20_poly1305_crypto_op() 138 RTE_ASSERT(rte_pktmbuf_is_contiguous(sym_op->m_dst)); in chacha20_poly1305_crypto_op() 160 RTE_ASSERT(m_src != NULL); in chacha20_poly1305_crypto_op() 201 RTE_ASSERT(m_src != NULL); in chacha20_poly1305_crypto_op()
|
| H A D | pmd_aesni_gcm.c | 290 RTE_ASSERT(m_src != NULL); in process_gcm_crypto_op() 296 RTE_ASSERT(m_src != NULL); in process_gcm_crypto_op() 305 RTE_ASSERT((sym_op->m_dst == NULL) || in process_gcm_crypto_op() 318 RTE_ASSERT(rte_pktmbuf_is_contiguous(sym_op->m_dst)); in process_gcm_crypto_op() 338 RTE_ASSERT(m_src != NULL); in process_gcm_crypto_op() 373 RTE_ASSERT(m_src != NULL); in process_gcm_crypto_op() 403 RTE_ASSERT(m_src != NULL); in process_gcm_crypto_op() 433 RTE_ASSERT(m_src != NULL); in process_gcm_crypto_op()
|
| /dpdk/drivers/mempool/bucket/ |
| H A D | rte_mempool_bucket.c | 82 RTE_ASSERT(stack->top < stack->limit); in bucket_stack_push() 89 RTE_ASSERT(stack->top > 0); in bucket_stack_pop_unsafe() 126 RTE_ASSERT(rc == 0); in bucket_enqueue_single() 133 RTE_ASSERT(rc == 0); in bucket_enqueue_single() 150 RTE_ASSERT(rc == 0); in bucket_enqueue() 212 RTE_ASSERT(0); in bucket_dequeue_orphans() 272 RTE_ASSERT(rc == 0); in bucket_adopt_orphans()
|
| /dpdk/lib/graph/ |
| H A D | rte_graph_worker.h | 159 RTE_ASSERT(node->fence == RTE_GRAPH_FENCE); in rte_graph_walk() 246 RTE_ASSERT(next < node->nb_edges); in __rte_node_next_node_get() 247 RTE_ASSERT(node->fence == RTE_GRAPH_FENCE); in __rte_node_next_node_get() 249 RTE_ASSERT(node->fence == RTE_GRAPH_FENCE); in __rte_node_next_node_get()
|
| /dpdk/lib/ipsec/ |
| H A D | crypto.h | 254 RTE_ASSERT(NULL); in copy_iv() 275 RTE_ASSERT(icv_len % sizeof(uint32_t) == 0); in insert_sqh() 294 RTE_ASSERT(icv_len % sizeof(uint32_t) == 0); in remove_sqh()
|
| H A D | ipsec_sqn.h | 274 RTE_ASSERT(n == sa->sqn.inb.rdidx); in rsn_update_start() 301 RTE_ASSERT(n != sa->sqn.inb.rdidx); in rsn_update_finish() 302 RTE_ASSERT(rsn == sa->sqn.inb.rsn[n]); in rsn_update_finish()
|
| /dpdk/drivers/vdpa/sfc/ |
| H A D | sfc_vdpa_debug.h | 17 #define SFC_VDPA_ASSERT(exp) RTE_ASSERT(exp)
|
| /dpdk/drivers/common/sfc_efx/ |
| H A D | sfc_efx_debug.h | 26 #define SFC_EFX_ASSERT(exp) RTE_ASSERT(exp)
|
| /dpdk/drivers/net/vmxnet3/ |
| H A D | vmxnet3_rxtx.c | 304 RTE_ASSERT(txq->cmd_ring.base[eop_idx].txd.eop == 1); in vmxnet3_unmap_pkt() 315 RTE_ASSERT(txq->cmd_ring.base[txq->cmd_ring.next2comp].txd.cq == 0); in vmxnet3_unmap_pkt() 533 RTE_ASSERT(mss > 0); in vmxnet3_xmit_pkts() 681 RTE_ASSERT(rcd->tcp); in vmxnet3_guess_mss() 872 RTE_ASSERT(rcd->len <= rxd->len); in vmxnet3_recv_pkts() 873 RTE_ASSERT(rbi->m); in vmxnet3_recv_pkts() 926 RTE_ASSERT(rxd->btype == VMXNET3_RXD_BTYPE_HEAD); in vmxnet3_recv_pkts() 929 RTE_ASSERT(rcd->eop); in vmxnet3_recv_pkts() 942 RTE_ASSERT(VMXNET3_VERSION_GE_3(hw)); in vmxnet3_recv_pkts() 953 RTE_ASSERT(rxd->btype == VMXNET3_RXD_BTYPE_BODY); in vmxnet3_recv_pkts()
|
| /dpdk/drivers/bus/dpaa/base/qbman/ |
| H A D | dpaa_sys.h | 18 #define DPAA_ASSERT(x) RTE_ASSERT(x)
|