Home
last modified time | relevance | path

Searched refs:old (Results 1 – 25 of 49) sorted by relevance

12

/dpdk/lib/eal/arm/include/
H A Drte_atomic_64.h59 register uint64_t x0 __asm("x0") = (uint64_t)old->val[0]; \
82 : [old] "+r"(old->int128) \
118 rte_int128_t old; in rte_atomic128_cmp_exchange() local
129 old = *exp; in rte_atomic128_cmp_exchange()
157 __LOAD_128("ldxp", dst, old) in rte_atomic128_cmp_exchange()
159 __LOAD_128("ldaxp", dst, old) in rte_atomic128_cmp_exchange()
172 if (likely(old.int128 == expected.int128)) { in rte_atomic128_cmp_exchange()
185 __STORE_128("stxp", dst, old, ret) in rte_atomic128_cmp_exchange()
187 __STORE_128("stlxp", dst, old, ret) in rte_atomic128_cmp_exchange()
197 *exp = old; in rte_atomic128_cmp_exchange()
[all …]
/dpdk/lib/ip_frag/
H A Dip_frag_internal.c289 struct ip_frag_pkt *empty, *old; in ip_frag_lookup() local
294 old = NULL; in ip_frag_lookup()
336 old = (old == NULL) ? (p1 + i) : old; in ip_frag_lookup()
362 old = (old == NULL) ? (p2 + i) : old; in ip_frag_lookup()
366 *stale = old; in ip_frag_lookup()
/dpdk/lib/eal/x86/include/
H A Drte_atomic_32.h74 uint64_t old; in rte_atomic64_exchange() local
77 old = *dest; in rte_atomic64_exchange()
78 } while (rte_atomic64_cmpset(dest, old, val) == 0); in rte_atomic64_exchange()
80 return old; in rte_atomic64_exchange()
/dpdk/drivers/net/pfe/base/
H A Dpfe.h44 int old = *m; in test_and_clear_bit() local
46 *m = old & ~mask; in test_and_clear_bit()
47 return (old & mask) != 0; in test_and_clear_bit()
58 int old = *m; in test_and_set_bit() local
60 *m = old | mask; in test_and_set_bit()
61 return (old & mask) != 0; in test_and_set_bit()
/dpdk/lib/vhost/
H A Dvhost.h830 vhost_need_event(uint16_t event_idx, uint16_t new_idx, uint16_t old) in vhost_need_event() argument
832 return (uint16_t)(new_idx - event_idx - 1) < (uint16_t)(new_idx - old); in vhost_need_event()
843 uint16_t old = vq->signalled_used; in vhost_vring_call_split() local
853 old, new); in vhost_vring_call_split()
855 if ((vhost_need_event(vhost_used_event(vq), new, old) && in vhost_vring_call_split()
876 uint16_t old, new, off, off_wrap; in vhost_vring_call_packed() local
889 old = vq->signalled_used; in vhost_vring_call_packed()
911 if (new <= old) in vhost_vring_call_packed()
912 old -= vq->size; in vhost_vring_call_packed()
917 if (vhost_need_event(off, new, old)) in vhost_vring_call_packed()
/dpdk/drivers/crypto/virtio/
H A Dvirtio_ring.h132 vring_need_event(uint16_t event_idx, uint16_t new_idx, uint16_t old) in vring_need_event() argument
134 return (uint16_t)(new_idx - event_idx - 1) < (uint16_t)(new_idx - old); in vring_need_event()
/dpdk/examples/ipsec-secgw/
H A Dipip.h104 uint8_t old; in ip4_ecn_setup() local
106 old = ip4->ip_tos; in ip4_ecn_setup()
108 sum = old + (~(*(uint8_t *)&ip4->ip_tos) & 0xff); in ip4_ecn_setup()
/dpdk/drivers/net/virtio/
H A Dvirtio_ring.h183 vring_need_event(uint16_t event_idx, uint16_t new_idx, uint16_t old) in vring_need_event() argument
185 return (uint16_t)(new_idx - event_idx - 1) < (uint16_t)(new_idx - old); in vring_need_event()
/dpdk/drivers/net/liquidio/
H A Dlio_rxtx.c970 uint32_t old = iq->flush_index; in lio_process_iq_request_list() local
976 while (old != iq->lio_read_index) { in lio_process_iq_request_list()
977 reqtype = iq->request_list[old].reqtype; in lio_process_iq_request_list()
978 buf = iq->request_list[old].buf; in lio_process_iq_request_list()
1019 reqtype, buf, old); in lio_process_iq_request_list()
1022 iq->request_list[old].buf = NULL; in lio_process_iq_request_list()
1023 iq->request_list[old].reqtype = 0; in lio_process_iq_request_list()
1027 old = lio_incr_index(old, 1, iq->nb_desc); in lio_process_iq_request_list()
1030 iq->flush_index = old; in lio_process_iq_request_list()
/dpdk/drivers/net/pfe/
H A Dpfe_ethdev.c554 struct rte_eth_link link, old; in pfe_eth_link_update() local
557 memset(&old, 0, sizeof(old)); in pfe_eth_link_update()
560 pfe_eth_atomic_read_link_status(dev, &old); in pfe_eth_link_update()
580 if (old.link_status == lstatus) { in pfe_eth_link_update()
/dpdk/doc/guides/contributing/
H A Dabi_versioning.rst96 However when a new ABI version is declared, for example DPDK ``22``, old
97 depreciated functions may be safely removed at this point and the entire old
331 This code serves as our new API call. Its the same as our old call, but adds the
362 rte_acl_create, an old DPDK_21 version, used by previously built applications,
580 major ABI version you decide you would like to retire the old version of the
666 Then any uses of BIND_DEFAULT_SYMBOL that pointed to the old node should be
675 Lastly, any VERSION_SYMBOL macros that point to the old version nodes
/dpdk/drivers/net/sfc/
H A Dmeson.build43 # for gcc and old Clang compiles we need -latomic for 128-bit atomic ops
/dpdk/doc/guides/prog_guide/
H A Dpcapng_lib.rst9 but that format is rather old and is lacking in functionality
/dpdk/drivers/net/atlantic/
H A Datl_ethdev.c1170 struct rte_eth_link link, old; in atl_dev_link_update() local
1178 memset(&old, 0, sizeof(old)); in atl_dev_link_update()
1181 rte_eth_linkstatus_get(dev, &old); in atl_dev_link_update()
1192 if (link.link_status == old.link_status) in atl_dev_link_update()
1203 if (link.link_status == old.link_status) in atl_dev_link_update()
/dpdk/app/test-flow-perf/
H A Dmain.c1749 struct lcore_info *old; in packet_per_second_stats() local
1754 old = rte_zmalloc("old", in packet_per_second_stats()
1756 if (old == NULL) in packet_per_second_stats()
1759 memcpy(old, lcore_infos, in packet_per_second_stats()
1785 oli = &old[i]; in packet_per_second_stats()
1813 memcpy(old, lcore_infos, in packet_per_second_stats()
/dpdk/drivers/common/cnxk/
H A Droc_nix_tm_ops.c782 struct nix_tm_shaper_profile *old; in roc_nix_tm_node_shaper_update() local
785 old = nix_tm_shaper_profile_search(nix, in roc_nix_tm_node_shaper_update()
787 if (old) in roc_nix_tm_node_shaper_update()
788 old->ref_cnt--; in roc_nix_tm_node_shaper_update()
/dpdk/doc/guides/rel_notes/
H A Drelease_20_11.rst329 Note: The old API is still provided but marked as deprecated in the code.
415 ``rte_get_main_lcore()``. The old function is deprecated.
424 the old values but applications and scripts are strongly encouraged
438 The field ``iova`` remains from the old unions.
442 The field ``iova`` remains from the old unions.
452 The field ``buf_iova`` remains from the old union.
456 The field ``refcnt`` remains from the old unions.
/dpdk/drivers/net/bnx2x/
H A Dbnx2x_stats.h462 DIFF_64(diff.hi, new->s##_hi, old->s##_hi, \
463 diff.lo, new->s##_lo, old->s##_lo); \
/dpdk/doc/guides/cryptodevs/
H A Dchacha20_poly1305.rst40 NASM is packaged for different OS. However, on some OS the version is too old,
H A Dzuc.rst52 NASM is packaged for different OS. However, on some OS the version is too old,
H A Dsnow3g.rst52 NASM is packaged for different OS. However, on some OS the version is too old,
H A Daesni_gcm.rst54 NASM is packaged for different OS. However, on some OS the version is too old,
/dpdk/drivers/net/bonding/
H A Drte_eth_bond_8023ad.c177 uint16_t old; in set_warning_flags() local
181 old = port->warnings_to_show; in set_warning_flags()
182 new_flag = old | flags; in set_warning_flags()
183 retval = rte_atomic16_cmpset(&port->warnings_to_show, old, new_flag); in set_warning_flags()
/dpdk/drivers/net/ionic/
H A Dionic_rxtx.c922 struct ionic_rxq_desc *old = &desc_base[q_desc_index]; in ionic_rx_recycle() local
925 new->addr = old->addr; in ionic_rx_recycle()
926 new->len = old->len; in ionic_rx_recycle()
/dpdk/drivers/net/netvsc/
H A Dhn_ethdev.c229 struct rte_eth_link link, old; in hn_dev_link_update() local
232 old = dev->data->dev_link; in hn_dev_link_update()
251 if (old.link_status == link.link_status) in hn_dev_link_update()

12