Home
last modified time | relevance | path

Searched refs:tl (Results 1 – 11 of 11) sorted by relevance

/dpdk/lib/eal/include/generic/
H A Drte_ticketlock.h52 rte_ticketlock_init(rte_ticketlock_t *tl) in rte_ticketlock_init() argument
54 __atomic_store_n(&tl->tickets, 0, __ATOMIC_RELAXED); in rte_ticketlock_init()
64 rte_ticketlock_lock(rte_ticketlock_t *tl) in rte_ticketlock_lock() argument
77 rte_ticketlock_unlock(rte_ticketlock_t *tl) in rte_ticketlock_unlock() argument
92 rte_ticketlock_trylock(rte_ticketlock_t *tl) in rte_ticketlock_trylock() argument
116 rte_ticketlock_is_locked(rte_ticketlock_t *tl) in rte_ticketlock_is_locked() argument
129 rte_ticketlock_t tl; /**< the actual ticketlock */ member
149 rte_ticketlock_init(&tlr->tl); in rte_ticketlock_recursive_init()
166 rte_ticketlock_lock(&tlr->tl); in rte_ticketlock_recursive_lock()
184 rte_ticketlock_unlock(&tlr->tl); in rte_ticketlock_recursive_unlock()
[all …]
/dpdk/app/test/
H A Dtest_ticketlock.c46 static rte_ticketlock_t tl, tl_try; variable
56 rte_ticketlock_lock(&tl); in test_ticketlock_per_core()
58 rte_ticketlock_unlock(&tl); in test_ticketlock_per_core()
190 rte_ticketlock_lock(&tl); in test_ticketlock_try()
192 rte_ticketlock_unlock(&tl); in test_ticketlock_try()
215 rte_ticketlock_init(&tl); in test_ticketlock()
222 rte_ticketlock_lock(&tl); in test_ticketlock()
234 rte_ticketlock_unlock(&tl); in test_ticketlock()
282 if (rte_ticketlock_is_locked(&tl)) { in test_ticketlock()
286 rte_ticketlock_lock(&tl); in test_ticketlock()
[all …]
/dpdk/drivers/net/qede/base/
H A Decore_vfpf_if.h56 struct channel_tlv tl; member
63 struct channel_tlv tl; member
75 struct channel_tlv tl; member
130 struct channel_tlv tl; member
249 struct channel_tlv tl; member
381 struct channel_tlv tl; member
389 struct channel_tlv tl; member
395 struct channel_tlv tl; member
401 struct channel_tlv tl; member
414 struct channel_tlv tl; member
[all …]
H A Decore_sriov.c1390 tl->type = type; in ecore_add_tlv()
1391 tl->length = length; in ecore_add_tlv()
4236 p_vf->abs_vf_id, mbx->first_tlv.tl.type); in ecore_iov_process_mbx_req()
4240 mbx->first_tlv.tl.type); in ecore_iov_process_mbx_req()
4246 p_vf, mbx->first_tlv.tl.type); in ecore_iov_process_mbx_req()
4252 switch (mbx->first_tlv.tl.type) { in ecore_iov_process_mbx_req()
4323 mbx->first_tlv.tl.type, in ecore_iov_process_mbx_req()
4337 mbx->first_tlv.tl.type, in ecore_iov_process_mbx_req()
4338 mbx->first_tlv.tl.length, in ecore_iov_process_mbx_req()
4349 mbx->first_tlv.tl.type, in ecore_iov_process_mbx_req()
[all …]
H A Decore_vf.c130 p_req->first_tlv.tl.type); in ecore_send_msg2pf()
137 *done, p_req->first_tlv.tl.type); in ecore_send_msg2pf()
141 *done, p_req->first_tlv.tl.type); in ecore_send_msg2pf()
/dpdk/drivers/net/bnx2x/
H A Dbnx2x_vfpf.c69 struct channel_tlv *tl = (struct channel_tlv *) in bnx2x_add_tlv() local
72 tl->type = type; in bnx2x_add_tlv()
73 tl->length = length; in bnx2x_add_tlv()
89 bnx2x_add_tlv(sc, &first_tlv->tl, 0, type, length); in bnx2x_vf_prep()
101 first_tlv->tl.type); in bnx2x_vf_finalize()
271 bnx2x_add_tlv(sc, acq, acq->first_tlv.tl.length, in bnx2x_vf_get_resources()
340 bnx2x_add_tlv(sc, query, query->first_tlv.tl.length, in bnx2x_vf_close()
374 bnx2x_add_tlv(sc, query, query->first_tlv.tl.length, in bnx2x_vf_init()
419 bnx2x_add_tlv(sc, query, query->first_tlv.tl.length, in bnx2x_vf_unload()
505 bnx2x_add_tlv(sc, query, query->first_tlv.tl.length, in bnx2x_vf_setup_queue()
[all …]
H A Dbnx2x_vfpf.h52 struct channel_tlv tl; member
62 struct channel_tlv tl; member
69 struct channel_tlv tl; member
/dpdk/drivers/crypto/bcmfs/
H A Dbcmfs_device.c49 .tl = RTE_SPINLOCK_INITIALIZER,
58 rte_spinlock_lock(&bcmfs_hw_queue_pair_ops_table.tl); in bcmfs_hw_queue_pair_register_ops()
62 rte_spinlock_unlock(&bcmfs_hw_queue_pair_ops_table.tl); in bcmfs_hw_queue_pair_register_ops()
69 rte_spinlock_unlock(&bcmfs_hw_queue_pair_ops_table.tl); in bcmfs_hw_queue_pair_register_ops()
84 rte_spinlock_unlock(&bcmfs_hw_queue_pair_ops_table.tl); in bcmfs_hw_queue_pair_register_ops()
H A Dbcmfs_device.h37 rte_spinlock_t tl; member
/dpdk/lib/ipsec/
H A Dipsec_sqn.h66 uint32_t th, tl, bl; in reconstruct_esn() local
68 tl = t; in reconstruct_esn()
70 bl = tl - w + 1; in reconstruct_esn()
73 if (tl >= (w - 1)) in reconstruct_esn()
H A Desp_inb.c578 uint32_t adj, i, k, tl, bytes; in tun_process() local
604 tl = tlen + espt[i].pad_len; in tun_process()
607 if (tun_process_check(mb[i], &ml[i], &to[i], espt[i], adj, tl, in tun_process()
615 to[i], tl, sqn + k); in tun_process()
642 uint32_t i, k, l2, tl, bytes; in trs_process() local
665 tl = tlen + espt[i].pad_len; in trs_process()
670 hl[i] + cofs, tl) == 0) { in trs_process()
674 to[i], tl, sqn + k); in trs_process()