Home
last modified time | relevance | path

Searched refs:rx_ctx (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/net/mac80211/
H A Dtkip.c250 struct tkip_ctx_rx *rx_ctx = &key->u.tkip.rx[queue]; in ieee80211_tkip_decrypt_data() local
275 if (iv32 < rx_ctx->iv32 || in ieee80211_tkip_decrypt_data()
276 (iv32 == rx_ctx->iv32 && in ieee80211_tkip_decrypt_data()
277 (iv16 < rx_ctx->iv16 || in ieee80211_tkip_decrypt_data()
278 (iv16 == rx_ctx->iv16 && in ieee80211_tkip_decrypt_data()
279 (rx_ctx->iv32 || rx_ctx->iv16 || in ieee80211_tkip_decrypt_data()
280 rx_ctx->ctx.state != TKIP_STATE_NOT_INIT))))) in ieee80211_tkip_decrypt_data()
285 rx_ctx->ctx.state = TKIP_STATE_PHASE1_HW_UPLOADED; in ieee80211_tkip_decrypt_data()
289 if (rx_ctx->ctx.state == TKIP_STATE_NOT_INIT || in ieee80211_tkip_decrypt_data()
290 rx_ctx->iv32 != iv32) { in ieee80211_tkip_decrypt_data()
[all …]
/openbmc/linux/include/net/
H A Dtls.h449 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_offload_rx_resync_request() local
451 atomic64_set(&rx_ctx->resync_req, ((u64)ntohl(seq) << 32) | RESYNC_REQ); in tls_offload_rx_resync_request()
459 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_offload_rx_resync_async_request_start() local
461 atomic64_set(&rx_ctx->resync_async->req, ((u64)ntohl(seq) << 32) | in tls_offload_rx_resync_async_request_start()
463 rx_ctx->resync_async->loglen = 0; in tls_offload_rx_resync_async_request_start()
464 rx_ctx->resync_async->rcd_delta = 0; in tls_offload_rx_resync_async_request_start()
471 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_offload_rx_resync_async_request_end() local
473 atomic64_set(&rx_ctx->resync_async->req, in tls_offload_rx_resync_async_request_end()
/openbmc/linux/drivers/mailbox/
H A Dbcm-pdc-mailbox.c389 struct pdc_rx_ctx rx_ctx[PDC_RING_ENTRIES]; member
591 struct pdc_rx_ctx *rx_ctx; in pdc_receive_one() local
604 (frags_rdy < pdcs->rx_ctx[pdcs->rxin].rxin_numd)) in pdc_receive_one()
620 rx_ctx = &pdcs->rx_ctx[rx_idx]; in pdc_receive_one()
621 num_frags = rx_ctx->rxin_numd; in pdc_receive_one()
623 mssg.ctx = rx_ctx->rxp_ctx; in pdc_receive_one()
624 rx_ctx->rxp_ctx = NULL; in pdc_receive_one()
625 resp_hdr = rx_ctx->resp_hdr; in pdc_receive_one()
626 resp_hdr_daddr = rx_ctx->resp_hdr_daddr; in pdc_receive_one()
627 dma_unmap_sg(dev, rx_ctx->dst_sg, sg_nents(rx_ctx->dst_sg), in pdc_receive_one()
[all …]
/openbmc/linux/net/wireless/
H A Dlib80211_crypt_wep.c36 struct arc4_ctx rx_ctx; member
177 arc4_setkey(&wep->rx_ctx, key, klen); in lib80211_wep_decrypt()
178 arc4_crypt(&wep->rx_ctx, pos, pos, plen + 4); in lib80211_wep_decrypt()
/openbmc/linux/net/tls/
H A Dtls_device.c702 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_device_resync_rx() local
705 trace_tls_device_rx_resync_send(sk, seq, rcd_sn, rx_ctx->resync_type); in tls_device_resync_rx()
774 struct tls_offload_context_rx *rx_ctx; in tls_device_rx_resync_new_rec() local
788 rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_device_rx_resync_new_rec()
791 switch (rx_ctx->resync_type) { in tls_device_rx_resync_new_rec()
793 resync_req = atomic64_read(&rx_ctx->resync_req); in tls_device_rx_resync_new_rec()
799 !atomic64_try_cmpxchg(&rx_ctx->resync_req, &resync_req, 0)) in tls_device_rx_resync_new_rec()
803 if (likely(!rx_ctx->resync_nh_do_now)) in tls_device_rx_resync_new_rec()
816 rx_ctx->resync_nh_do_now = 0; in tls_device_rx_resync_new_rec()
821 resync_req = atomic64_read(&rx_ctx->resync_async->req); in tls_device_rx_resync_new_rec()
[all …]
H A Dtls_main.c704 struct tls_sw_context_rx *rx_ctx = tls_sw_ctx_rx(ctx); in do_tls_setsockopt_conf() local
706 tls_strp_check_rcv(&rx_ctx->strp); in do_tls_setsockopt_conf()
H A Dtls_sw.c2602 struct tls_sw_context_rx *rx_ctx = tls_sw_ctx_rx(tls_ctx); in tls_sw_strparser_arm() local
2605 rx_ctx->saved_data_ready = sk->sk_data_ready; in tls_sw_strparser_arm()
2612 struct tls_sw_context_rx *rx_ctx = tls_sw_ctx_rx(tls_ctx); in tls_update_rx_zc_capable() local
2614 rx_ctx->zc_capable = tls_ctx->rx_no_pad || in tls_update_rx_zc_capable()
/openbmc/linux/net/tipc/
H A Dcrypto.c880 struct tipc_crypto_rx_ctx *rx_ctx; in tipc_aead_decrypt() local
902 ctx = tipc_aead_mem_alloc(tfm, sizeof(*rx_ctx), &iv, &req, &sg, nsg); in tipc_aead_decrypt()
934 rx_ctx = (struct tipc_crypto_rx_ctx *)ctx; in tipc_aead_decrypt()
935 rx_ctx->aead = aead; in tipc_aead_decrypt()
936 rx_ctx->bearer = b; in tipc_aead_decrypt()
960 struct tipc_crypto_rx_ctx *rx_ctx = TIPC_SKB_CB(skb)->crypto_ctx; in tipc_aead_decrypt_done() local
961 struct tipc_bearer *b = rx_ctx->bearer; in tipc_aead_decrypt_done()
962 struct tipc_aead *aead = rx_ctx->aead; in tipc_aead_decrypt_done()
977 kfree(rx_ctx); in tipc_aead_decrypt_done()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c717 struct i40e_hmc_obj_rxq rx_ctx; in i40e_config_vsi_rx_queue() local
721 memset(&rx_ctx, 0, sizeof(struct i40e_hmc_obj_rxq)); in i40e_config_vsi_rx_queue()
724 rx_ctx.base = info->dma_ring_addr / 128; in i40e_config_vsi_rx_queue()
725 rx_ctx.qlen = info->ring_len; in i40e_config_vsi_rx_queue()
728 rx_ctx.hsplit_0 = I40E_RX_SPLIT_L2 | in i40e_config_vsi_rx_queue()
737 rx_ctx.hbuff = info->hdr_size >> I40E_RXQ_CTX_HBUFF_SHIFT; in i40e_config_vsi_rx_queue()
740 rx_ctx.dtype = I40E_RX_DTYPE_HEADER_SPLIT; in i40e_config_vsi_rx_queue()
748 rx_ctx.dbuff = info->databuffer_size >> I40E_RXQ_CTX_DBUFF_SHIFT; in i40e_config_vsi_rx_queue()
755 rx_ctx.rxmax = info->max_pkt_size; in i40e_config_vsi_rx_queue()
759 rx_ctx.rxmax += VLAN_HLEN; in i40e_config_vsi_rx_queue()
[all …]
H A Di40e_main.c3604 struct i40e_hmc_obj_rxq rx_ctx; in i40e_configure_rx_ring() local
3611 memset(&rx_ctx, 0, sizeof(rx_ctx)); in i40e_configure_rx_ring()
3658 rx_ctx.dbuff = DIV_ROUND_UP(ring->rx_buf_len, in i40e_configure_rx_ring()
3661 rx_ctx.base = (ring->dma / 128); in i40e_configure_rx_ring()
3662 rx_ctx.qlen = ring->count; in i40e_configure_rx_ring()
3665 rx_ctx.dsize = 0; in i40e_configure_rx_ring()
3670 rx_ctx.hsplit_0 = 0; in i40e_configure_rx_ring()
3672 rx_ctx.rxmax = min_t(u16, vsi->max_frame, chain_len * ring->rx_buf_len); in i40e_configure_rx_ring()
3674 rx_ctx.lrxqthresh = 0; in i40e_configure_rx_ring()
3676 rx_ctx.lrxqthresh = 1; in i40e_configure_rx_ring()
[all …]
/openbmc/linux/drivers/net/vmxnet3/
H A Dvmxnet3_int.h317 struct vmxnet3_rx_ctx rx_ctx; member
H A Dvmxnet3_drv.c1513 struct vmxnet3_rx_ctx *ctx = &rq->rx_ctx; in vmxnet3_rq_rx_complete()
2100 rq->rx_ctx.skb = NULL; in vmxnet3_rq_init()