| /dpdk/lib/cmdline/ |
| H A D | cmdline_rdline.c | 86 cirbuf_init(&rdl->left, rdl->left_buf, 0, RDLINE_BUF_SIZE); in rdline_newline() 131 cirbuf_init(&rdl->left, rdl->left_buf, 0, RDLINE_BUF_SIZE); in rdline_reset() 145 cirbuf_align_left(&rdl->left); in rdline_get_buffer() 148 len_l = CIRBUF_GET_LEN(&rdl->left); in rdline_get_buffer() 187 CIRBUF_FOREACH(&rdl->left, i, tmp) { in rdline_redisplay() 218 if (CIRBUF_IS_EMPTY(&rdl->left)) in rdline_char_in() 220 tmp = cirbuf_get_tail(&rdl->left); in rdline_char_in() 221 cirbuf_del_tail(&rdl->left); in rdline_char_in() 233 cirbuf_add_tail(&rdl->left, tmp); in rdline_char_in() 240 while (! CIRBUF_IS_EMPTY(&rdl->left) && in rdline_char_in() [all …]
|
| H A D | cmdline_private.h | 36 struct cirbuf left; member
|
| /dpdk/lib/rib/ |
| H A D | rte_rib.c | 36 struct rte_rib_node *left; member 81 return (ip & (1 << (31 - node->depth))) ? node->right : node->left; in get_nxt_node() 206 tmp = (tmp->left) ? tmp->left : tmp->right; in rte_rib_get_nxt() 223 if ((cur->left != NULL) && (cur->right != NULL)) in rte_rib_remove() 225 child = (cur->left == NULL) ? cur->right : cur->left; in rte_rib_remove() 233 if (cur->parent->left == cur) in rte_rib_remove() 234 cur->parent->left = child; in rte_rib_remove() 272 new_node->left = NULL; in rte_rib_insert() 304 tmp = (ip & (1 << (31 - d))) ? &(*tmp)->right : &(*tmp)->left; in rte_rib_insert() 318 new_node->left = *tmp; in rte_rib_insert() [all …]
|
| H A D | rte_rib6.c | 33 struct rte_rib6_node *left; 94 return (get_dir(ip, node->depth)) ? node->right : node->left; in get_dir() 230 tmp = (tmp->left != NULL) ? tmp->left : tmp->right; in rte_rib6_get_nxt() 248 if ((cur->left != NULL) && (cur->right != NULL)) in rte_rib6_get_nxt() 250 child = (cur->left == NULL) ? cur->right : cur->left; in rte_rib6_get_nxt() 258 if (cur->parent->left == cur) in rte_rib6_remove() 259 cur->parent->left = child; in rte_rib6_remove() 302 new_node->left in rte_rib6_insert() 34 struct rte_rib6_node *left; global() member [all...] |
| /dpdk/lib/cryptodev/ |
| H A D | rte_crypto_sym.h | 957 uint32_t left; in rte_crypto_mbuf_to_vec() 979 left = len - seglen; in rte_crypto_mbuf_to_vec() 987 if (left <= seglen) { in rte_crypto_mbuf_to_vec() 989 vec[i].len = left; in rte_crypto_mbuf_to_vec() 990 left = 0; in rte_crypto_mbuf_to_vec() 997 left -= seglen; in rte_crypto_mbuf_to_vec() 1000 RTE_ASSERT(left == 0); in rte_crypto_mbuf_to_vec() 955 uint32_t left; rte_crypto_mbuf_to_vec() local
|
| /dpdk/drivers/common/sfc_efx/base/ |
| H A D | ef10_filter.c | 441 __in const efx_filter_spec_t *left, in ef10_filter_equal() argument 445 if (left->efs_match_flags != right->efs_match_flags) in ef10_filter_equal() 447 if (!EFX_OWORD_IS_EQUAL(left->efs_rem_host, right->efs_rem_host)) in ef10_filter_equal() 449 if (!EFX_OWORD_IS_EQUAL(left->efs_loc_host, right->efs_loc_host)) in ef10_filter_equal() 451 if (memcmp(left->efs_rem_mac, right->efs_rem_mac, EFX_MAC_ADDR_LEN)) in ef10_filter_equal() 453 if (memcmp(left->efs_loc_mac, right->efs_loc_mac, EFX_MAC_ADDR_LEN)) in ef10_filter_equal() 455 if (left->efs_rem_port != right->efs_rem_port) in ef10_filter_equal() 457 if (left->efs_loc_port != right->efs_loc_port) in ef10_filter_equal() 459 if (left->efs_inner_vid != right->efs_inner_vid) in ef10_filter_equal() 461 if (left->efs_outer_vid != right->efs_outer_vid) in ef10_filter_equal() [all …]
|
| H A D | efx_filter.c | 1211 __in const siena_filter_spec_t *left, in siena_filter_equal() argument 1216 tbl_id = siena_filter_tbl_id(left->sfs_type); in siena_filter_equal() 1219 if (left->sfs_type != right->sfs_type) in siena_filter_equal() 1222 if (memcmp(left->sfs_dword, right->sfs_dword, in siena_filter_equal() 1223 sizeof (left->sfs_dword))) in siena_filter_equal() 1228 left->sfs_dmaq_id != right->sfs_dmaq_id) in siena_filter_equal()
|
| H A D | efx_mae.c | 1370 __in const efx_mae_match_spec_t *left, in efx_mae_match_specs_equal() argument 1373 return ((memcmp(left, right, sizeof (*left)) == 0) ? B_TRUE : B_FALSE); in efx_mae_match_specs_equal() 2187 __in const efx_mae_actions_t *left, in efx_mae_action_set_specs_equal() argument 2205 return ((memcmp(left, right, cmp_size) == 0) ? B_TRUE : B_FALSE); in efx_mae_action_set_specs_equal() 2211 __in const efx_mae_match_spec_t *left, in efx_mae_match_specs_class_cmp() argument 2228 switch (left->emms_type) { in efx_mae_match_specs_class_cmp() 2237 mvpl = left->emms_mask_value_pairs.outer; in efx_mae_match_specs_class_cmp() 2248 mvpl = left->emms_mask_value_pairs.action; in efx_mae_match_specs_class_cmp() 2261 if (left->emms_type != right->emms_type || in efx_mae_match_specs_class_cmp() 2262 left->emms_prio != right->emms_prio) { in efx_mae_match_specs_class_cmp()
|
| /dpdk/lib/eal/common/ |
| H A D | eal_common_fbarray.c | 142 unsigned int run_start, clz, left; in find_next_n() local 168 left = n; in find_next_n() 214 left -= clz; in find_next_n() 228 need = RTE_MIN(left, MASK_ALIGN); in find_next_n() 251 left -= need; in find_next_n() 254 if (left == 0) { in find_next_n() 413 unsigned int run_start, run_end, ctz, left; in find_prev_n() local 439 left = n; in find_prev_n() 489 left -= ctz; in find_prev_n() 509 need = RTE_MIN(left, MASK_ALIGN); in find_prev_n() [all …]
|
| /dpdk/lib/eal/linux/ |
| H A D | eal_vfio.c | 188 struct user_mem_map *left = &user_mem_maps->maps[i]; in delete_maps() local 191 if (user_mem_map_cmp(left, right) == 0) { in delete_maps() 192 memset(left, 0, sizeof(*left)); in delete_maps() 207 struct user_mem_map *left = &user_mem_maps->maps[i]; in copy_maps() local 211 if (is_null_map(left)) { in copy_maps() 212 memcpy(left, right, sizeof(*left)); in copy_maps() 221 merge_map(struct user_mem_map *left, struct user_mem_map *right) in merge_map() argument 224 if (memcmp(left, righ in merge_map() [all...] |
| /dpdk/lib/vhost/ |
| H A D | vhost_crypto.c | 517 int left = size - desc->len; in move_desc() local 519 while (desc->flags & VRING_DESC_F_NEXT && left > 0 && in move_desc() 523 left -= desc->len; in move_desc() 526 if (unlikely(left > 0)) in move_desc() 592 uint32_t left = size; in copy_data() local 597 copied = copy_data_from_desc(data, vc_req, desc, left); in copy_data() 600 left -= copied; in copy_data() 602 } while (left != 0 && ++desc < head + max_n_descs); in copy_data() 604 if (unlikely(left != 0)) in copy_data() 1667 uint16_t count = 0, left = nb_ops; in rte_vhost_crypto_finalize_requests() local [all …]
|
| /dpdk/drivers/net/ionic/ |
| H A D | ionic_rxtx_sg.c | 263 uint32_t left, i; in ionic_rx_clean_one_sg() local 290 left = cq_desc_len - rxm->data_len; in ionic_rx_clean_one_sg() 295 for (i = 1; i < rxm->nb_segs && left; i++) { in ionic_rx_clean_one_sg() 301 rxm_seg->data_len = RTE_MIN(rxq->seg_size, left); in ionic_rx_clean_one_sg() 302 left -= rxm_seg->data_len; in ionic_rx_clean_one_sg()
|
| H A D | ionic_rxtx.c | 372 uint32_t left; in ionic_tx_tso() local 411 left = txm_seg->data_len; in ionic_tx_tso() 414 while (left > 0) { in ionic_tx_tso() 418 len = RTE_MIN(frag_left, left); in ionic_tx_tso() 426 len = RTE_MIN(seglen, left); in ionic_tx_tso() 432 left -= len; in ionic_tx_tso() 439 done = (txm_seg->next == NULL && left == 0); in ionic_tx_tso()
|
| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | dpool.c | 189 adj_list->entry[adj_list->size].left = count; in dpool_defrag() 221 adj_list->entry[i].left + in dpool_defrag() 224 adj_list->entry[i].left + in dpool_defrag()
|
| H A D | dpool.h | 88 uint32_t left; member
|
| /dpdk/lib/net/ |
| H A D | rte_ip.h | 175 uint16_t left = 0; __rte_raw_cksum() local
|
| /dpdk/lib/timer/ |
| H A D | rte_timer.c | 1013 int64_t left = -ENOENT; in rte_timer_next_ticks() local 1023 left = tm->expire - cur_time; in rte_timer_next_ticks() 1024 if (left < 0) in rte_timer_next_ticks() 1025 left = 0; in rte_timer_next_ticks() 1029 return left; in rte_timer_next_ticks()
|
| /dpdk/app/test/ |
| H A D | test_dispatcher.c | 809 int left; in test_basic() local 815 left = NUM_EVENTS - i; in test_basic() 817 batch_size = RTE_MIN(left, batch_size); in test_basic()
|
| /dpdk/doc/guides/eventdevs/ |
| H A D | dsw.rst | 54 Ports left unmaintained for long periods of time will prevent load
|
| H A D | opdl.rst | 12 Events are left on the ring until they are transmitted. As a result packets\
|
| /dpdk/doc/guides/nics/ |
| H A D | vdev_netvsc.rst | 31 handling of physical devices is left to their original PMDs; this virtual
|
| /dpdk/drivers/net/cxgbe/ |
| H A D | sge.c | 1290 int left = RTE_PTR_DIFF(q->stat, *to); in inline_tx_mbuf() local 1296 rte_memcpy(*to, from, left); in inline_tx_mbuf() 1297 from = RTE_PTR_ADD(from, left); in inline_tx_mbuf() 1298 left = len - left; in inline_tx_mbuf() 1299 rte_memcpy((void *)q->desc, from, left); in inline_tx_mbuf() 1300 *to = RTE_PTR_ADD((void *)q->desc, left); in inline_tx_mbuf()
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc.h | 433 bool sfc_hw_switch_ids_equal(const struct sfc_hw_switch_id *left,
|
| H A D | sfc.c | 1454 sfc_hw_switch_ids_equal(const struct sfc_hw_switch_id *left, in sfc_hw_switch_ids_equal() argument 1457 return strncmp(left->board_sn, right->board_sn, in sfc_hw_switch_ids_equal() 1458 sizeof(left->board_sn)) == 0; in sfc_hw_switch_ids_equal()
|
| /dpdk/doc/guides/rawdevs/ |
| H A D | ifpga.rst | 46 handling of AFU devices is left to different PMDs; all the design as
|