Home
last modified time | relevance | path

Searched refs:handshake_queue (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/wireguard/
H A Dreceive.c209 struct wg_device *wg = container_of(queue, struct wg_device, handshake_queue); in wg_packet_handshake_receive_worker()
555 if (spin_trylock_bh(&wg->handshake_queue.ring.producer_lock)) { in wg_packet_receive()
556 ret = __ptr_ring_produce(&wg->handshake_queue.ring, skb); in wg_packet_receive()
557 spin_unlock_bh(&wg->handshake_queue.ring.producer_lock); in wg_packet_receive()
560 ret = ptr_ring_produce_bh(&wg->handshake_queue.ring, skb); in wg_packet_receive()
568 cpu = wg_cpumask_next_online(&wg->handshake_queue.last_cpu); in wg_packet_receive()
571 &per_cpu_ptr(wg->handshake_queue.worker, cpu)->work); in wg_packet_receive()
H A Ddevice.h42 struct crypt_queue encrypt_queue, decrypt_queue, handshake_queue; member