/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_tx.c | 51 struct tls_offload_context_tx *tx_ctx; member 104 priv_tx->tx_ctx = tls_offload_ctx_tx(tls_ctx); in mlx5e_ktls_add_tx() 226 struct tls_offload_context_tx *tx_ctx = priv_tx->tx_ctx; in tx_sync_info_get() local 233 spin_lock_irqsave(&tx_ctx->lock, flags); in tx_sync_info_get() 234 record = tls_get_record(tx_ctx, tcp_seq, &info->rcd_sn); in tx_sync_info_get() 273 spin_unlock_irqrestore(&tx_ctx->lock, flags); in tx_sync_info_get()
|
D | tls.c | 130 struct mlx5e_tls_offload_context_tx *tx_ctx = in mlx5e_tls_add() local 133 tx_ctx->swid = htonl(swid); in mlx5e_tls_add() 134 tx_ctx->expected_seq = start_offload_tcp_sn; in mlx5e_tls_add()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.c | 370 struct chcr_ktls_ofld_ctx_tx *tx_ctx = in chcr_ktls_dev_del() local 372 struct chcr_ktls_info *tx_info = tx_ctx->chcr_info; in chcr_ktls_dev_del() 405 tx_ctx->chcr_info = NULL; in chcr_ktls_dev_del() 426 struct chcr_ktls_ofld_ctx_tx *tx_ctx; in chcr_ktls_dev_add() local 436 tx_ctx = chcr_get_ktls_tx_context(tls_ctx); in chcr_ktls_dev_add() 449 if (tx_ctx->chcr_info) in chcr_ktls_dev_add() 575 tx_ctx->chcr_info = tx_info; in chcr_ktls_dev_add() 656 struct chcr_ktls_ofld_ctx_tx *tx_ctx; in chcr_ktls_cpl_act_open_rpl() local 695 tx_ctx = chcr_get_ktls_tx_context(tls_ctx); in chcr_ktls_cpl_act_open_rpl() 698 ret = xa_insert_bh(&u_ctx->tid_list, tid, tx_ctx, in chcr_ktls_cpl_act_open_rpl() [all …]
|
/kernel/linux/linux-5.10/net/wireless/ |
D | lib80211_crypt_wep.c | 35 struct arc4_ctx tx_ctx; member 138 arc4_setkey(&wep->tx_ctx, key, klen); in lib80211_wep_encrypt() 139 arc4_crypt(&wep->tx_ctx, pos, pos, len + 4); in lib80211_wep_encrypt()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/ |
D | siw_qp.c | 134 qp->tx_ctx.tx_suspend = 1; in siw_qp_llp_close() 229 struct siw_iwarp_tx *c_tx = &qp->tx_ctx; in siw_qp_enable_crc() 583 if (qp->tx_ctx.mpa_crc_hd) { in siw_send_terminate() 584 crypto_shash_init(qp->tx_ctx.mpa_crc_hd); in siw_send_terminate() 585 if (crypto_shash_update(qp->tx_ctx.mpa_crc_hd, in siw_send_terminate() 591 if (crypto_shash_update(qp->tx_ctx.mpa_crc_hd, in siw_send_terminate() 596 crypto_shash_final(qp->tx_ctx.mpa_crc_hd, (u8 *)&crc); in siw_send_terminate() 660 qp->tx_ctx.ddp_msn[RDMAP_UNTAGGED_QN_SEND] = 0; in siw_qp_nextstate_from_idle() 661 qp->tx_ctx.ddp_msn[RDMAP_UNTAGGED_QN_RDMA_READ] = 0; in siw_qp_nextstate_from_idle() 662 qp->tx_ctx.ddp_msn[RDMAP_UNTAGGED_QN_TERMINATE] = 0; in siw_qp_nextstate_from_idle() [all …]
|
D | siw_qp_tx.c | 705 struct siw_iwarp_tx *c_tx = &qp->tx_ctx; in siw_prepare_fpdu() 793 struct siw_iwarp_tx *c_tx = &qp->tx_ctx; in siw_qp_sq_proc_tx() 795 int rv = 0, burst_len = qp->tx_ctx.burst; in siw_qp_sq_proc_tx() 915 qp->tx_ctx.burst = burst_len; in siw_qp_sq_proc_tx() 1035 if (unlikely(qp->tx_ctx.tx_suspend)) { in siw_qp_sq_process() 1093 qp->tx_ctx.ctrl_sent, qp->tx_ctx.ctrl_len, in siw_qp_sq_process() 1094 qp->tx_ctx.bytes_unsent); in siw_qp_sq_process() 1130 if (!qp->tx_ctx.tx_suspend) in siw_qp_sq_process() 1175 !qp->tx_ctx.tx_suspend)) { in siw_sq_resume() 1183 if (!qp->tx_ctx.tx_suspend) in siw_sq_resume()
|
D | siw.h | 433 struct siw_iwarp_tx tx_ctx; /* Transmit context */ member 472 #define tx_qp(tx) container_of(tx, struct siw_qp, tx_ctx) 473 #define tx_wqe(qp) (&(qp)->tx_ctx.wqe_active)
|
D | siw_verbs.c | 429 qp->tx_ctx.gso_seg_limit = 1; in siw_create_qp() 430 qp->tx_ctx.zcopy_tx = zcopy_tx; in siw_create_qp() 571 qp->tx_ctx.tx_suspend = 1; in siw_verbs_modify_qp() 620 kfree(qp->tx_ctx.mpa_crc_hd); in siw_destroy_qp() 962 qp->tx_ctx.in_syscall = 1; in siw_post_send() 964 if (siw_qp_sq_process(qp) != 0 && !(qp->tx_ctx.tx_suspend)) in siw_post_send() 967 qp->tx_ctx.in_syscall = 0; in siw_post_send()
|
D | siw_cm.c | 377 qp->tx_ctx.tx_suspend = 1; in siw_qp_cm_drop() 755 qp->tx_ctx.gso_seg_limit = 0; in siw_proc_mpareply() 1293 cep->qp->tx_ctx.tx_suspend = 1; in siw_cm_llp_state_change() 1573 qp->tx_ctx.gso_seg_limit = 0; in siw_accept()
|
D | siw_qp_rx.c | 1165 if (qp->tx_ctx.orq_fence) { in siw_check_tx_fence() 1186 qp->tx_ctx.orq_fence = 0; in siw_check_tx_fence() 1194 qp->tx_ctx.orq_fence = 0; in siw_check_tx_fence()
|
/kernel/linux/linux-5.10/net/tipc/ |
D | crypto.c | 731 struct tipc_crypto_tx_ctx *tx_ctx; in tipc_aead_encrypt() local 777 ctx = tipc_aead_mem_alloc(tfm, sizeof(*tx_ctx), &iv, &req, &sg, nsg); in tipc_aead_encrypt() 813 tx_ctx = (struct tipc_crypto_tx_ctx *)ctx; in tipc_aead_encrypt() 814 tx_ctx->aead = aead; in tipc_aead_encrypt() 815 tx_ctx->bearer = b; in tipc_aead_encrypt() 816 memcpy(&tx_ctx->dst, dst, sizeof(*dst)); in tipc_aead_encrypt() 840 struct tipc_crypto_tx_ctx *tx_ctx = TIPC_SKB_CB(skb)->crypto_ctx; in tipc_aead_encrypt_done() local 841 struct tipc_bearer *b = tx_ctx->bearer; in tipc_aead_encrypt_done() 842 struct tipc_aead *aead = tx_ctx->aead; in tipc_aead_encrypt_done() 851 b->media->send_msg(net, skb, b, &tx_ctx->dst); in tipc_aead_encrypt_done() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 555 struct i40e_hmc_obj_txq tx_ctx; in i40e_config_vsi_tx_queue() local 573 memset(&tx_ctx, 0, sizeof(struct i40e_hmc_obj_txq)); in i40e_config_vsi_tx_queue() 576 tx_ctx.base = info->dma_ring_addr / 128; in i40e_config_vsi_tx_queue() 577 tx_ctx.qlen = info->ring_len; in i40e_config_vsi_tx_queue() 578 tx_ctx.rdylist = le16_to_cpu(vsi->info.qs_handle[0]); in i40e_config_vsi_tx_queue() 579 tx_ctx.rdylist_act = 0; in i40e_config_vsi_tx_queue() 580 tx_ctx.head_wb_ena = info->headwb_enabled; in i40e_config_vsi_tx_queue() 581 tx_ctx.head_wb_addr = info->dma_headwb_addr; in i40e_config_vsi_tx_queue() 594 ret = i40e_set_lan_tx_queue_context(hw, pf_queue_id, &tx_ctx); in i40e_config_vsi_tx_queue()
|
D | i40e_main.c | 3285 struct i40e_hmc_obj_txq tx_ctx; in i40e_configure_tx_ring() local 3304 memset(&tx_ctx, 0, sizeof(tx_ctx)); in i40e_configure_tx_ring() 3306 tx_ctx.new_context = 1; in i40e_configure_tx_ring() 3307 tx_ctx.base = (ring->dma / 128); in i40e_configure_tx_ring() 3308 tx_ctx.qlen = ring->count; in i40e_configure_tx_ring() 3309 tx_ctx.fd_ena = !!(vsi->back->flags & (I40E_FLAG_FD_SB_ENABLED | in i40e_configure_tx_ring() 3311 tx_ctx.timesync_ena = !!(vsi->back->flags & I40E_FLAG_PTP); in i40e_configure_tx_ring() 3314 tx_ctx.head_wb_ena = 1; in i40e_configure_tx_ring() 3315 tx_ctx.head_wb_addr = ring->dma + in i40e_configure_tx_ring() 3330 tx_ctx.rdylist = in i40e_configure_tx_ring() [all …]
|
/kernel/linux/linux-5.10/net/tls/ |
D | tls_sw.c | 2280 struct tls_sw_context_tx *tx_ctx = tls_sw_ctx_tx(ctx); in tls_sw_write_space() local 2283 if (is_tx_ready(tx_ctx) && in tls_sw_write_space() 2284 !test_and_set_bit(BIT_TX_SCHEDULED, &tx_ctx->tx_bitmask)) in tls_sw_write_space() 2285 schedule_delayed_work(&tx_ctx->tx_work.work, 0); in tls_sw_write_space()
|