Home
last modified time | relevance | path

Searched refs:bl (Results 1 – 6 of 6) sorted by relevance

/dpdk/lib/distributor/
H A Drte_distributor_single.c86 add_to_backlog(struct rte_distributor_backlog *bl, int64_t item) in add_to_backlog() argument
88 if (bl->count == RTE_DISTRIB_BACKLOG_SIZE) in add_to_backlog()
91 bl->pkts[(bl->start + bl->count++) & (RTE_DISTRIB_BACKLOG_MASK)] in add_to_backlog()
98 backlog_pop(struct rte_distributor_backlog *bl) in backlog_pop() argument
100 bl->count--; in backlog_pop()
101 return bl->pkts[bl->start++ & RTE_DISTRIB_BACKLOG_MASK]; in backlog_pop()
136 struct rte_distributor_backlog *bl = &d->backlog[wkr]; in handle_worker_shutdown() local
138 for (i = 0; i < bl->count; i++) { in handle_worker_shutdown()
139 unsigned idx = (bl->start + i) & in handle_worker_shutdown()
141 pkts[i] = (void *)((uintptr_t)(bl->pkts[idx] >> in handle_worker_shutdown()
[all …]
H A Drte_distributor.c242 struct rte_distributor_backlog *bl; in find_match_scalar() local
257 bl = &d->backlog[i]; in find_match_scalar()
543 if (unlikely(bl->count == in rte_distributor_process()
555 unsigned int idx = bl->count++; in rte_distributor_process()
557 bl->tags[idx] = new_tag; in rte_distributor_process()
558 bl->pkts[idx] = next_value; in rte_distributor_process()
565 bl = &d->backlog[wkr]; in rte_distributor_process()
567 if (unlikely(bl->count == in rte_distributor_process()
579 unsigned int idx = bl->count++; in rte_distributor_process()
581 bl->tags[idx] = new_tag; in rte_distributor_process()
[all …]
H A Drte_distributor_match_sse.c23 struct rte_distributor_backlog *bl; in find_match_vec() local
41 bl = &d->backlog[i]; in find_match_vec()
46 _mm_load_si128((__m128i *)(bl->tags)); in find_match_vec()
/dpdk/lib/ipsec/
H A Dipsec_sqn.h66 uint32_t th, tl, bl; in reconstruct_esn() local
70 bl = tl - w + 1; in reconstruct_esn()
74 th += (sqn < bl); in reconstruct_esn()
77 th -= (sqn >= bl); in reconstruct_esn()
/dpdk/drivers/crypto/mlx5/
H A Dmlx5_crypto.c298 uint32_t bl = op->sym->cipher.data.length; in mlx5_crypto_get_block_size() local
300 switch (bl) { in mlx5_crypto_get_block_size()
309 DRV_LOG(ERR, "Unknown block size: %u.", bl); in mlx5_crypto_get_block_size()
/dpdk/drivers/crypto/ccp/
H A Dccp_crypto.c586 static void prepare_key(unsigned char *k, unsigned char *l, int bl) in prepare_key() argument
590 for (i = 0; i < bl; i++) { in prepare_key()
592 if (i < bl - 1 && l[i + 1] & 0x80) in prepare_key()
597 k[bl - 1] ^= bl == 16 ? 0x87 : 0x1b; in prepare_key()