Home
last modified time | relevance | path

Searched refs:tls (Results 1 – 14 of 14) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dtls.c72 struct mlx5_fpga_conn *conn = fdev->tls->conn; in mlx5_fpga_tls_cmd_complete()
74 struct mlx5_fpga_tls *tls = fdev->tls; in mlx5_fpga_tls_cmd_complete() local
77 spin_lock_irqsave(&tls->pending_cmds_lock, flags); in mlx5_fpga_tls_cmd_complete()
78 ctx = list_first_entry(&tls->pending_cmds, in mlx5_fpga_tls_cmd_complete()
81 spin_unlock_irqrestore(&tls->pending_cmds_lock, flags); in mlx5_fpga_tls_cmd_complete()
103 struct mlx5_fpga_tls *tls = fdev->tls; in mlx5_fpga_tls_cmd_send() local
111 spin_lock_irqsave(&tls->pending_cmds_lock, flags); in mlx5_fpga_tls_cmd_send()
116 ret = mlx5_fpga_sbu_conn_sendmsg(tls->conn, &cmd->buf); in mlx5_fpga_tls_cmd_send()
118 list_add_tail(&cmd->list, &tls->pending_cmds); in mlx5_fpga_tls_cmd_send()
120 complete(tls->conn, fdev, cmd, NULL); in mlx5_fpga_tls_cmd_send()
[all …]
Dtls.h68 return mdev->fpga->tls->caps; in mlx5_fpga_tls_device_caps()
Dcore.h62 struct mlx5_fpga_tls *tls; member
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls.c179 atomic64_inc(&priv->tls->sw_stats.rx_tls_resync_reply); in mlx5e_tls_resync()
224 struct mlx5e_tls *tls = kzalloc(sizeof(*tls), GFP_KERNEL); in mlx5e_tls_init() local
226 if (!tls) in mlx5e_tls_init()
229 priv->tls = tls; in mlx5e_tls_init()
235 struct mlx5e_tls *tls = priv->tls; in mlx5e_tls_cleanup() local
237 if (!tls) in mlx5e_tls_cleanup()
240 kfree(tls); in mlx5e_tls_cleanup()
241 priv->tls = NULL; in mlx5e_tls_cleanup()
Dtls_rxtx.c192 struct mlx5e_tls *tls) in mlx5e_tls_handle_ooo() argument
208 atomic64_inc(&tls->sw_stats.tx_tls_drop_no_sync_data); in mlx5e_tls_handle_ooo()
222 atomic64_inc(&tls->sw_stats.tx_tls_drop_bypass_required); in mlx5e_tls_handle_ooo()
227 atomic64_inc(&tls->sw_stats.tx_tls_drop_metadata); in mlx5e_tls_handle_ooo()
235 atomic64_inc(&tls->sw_stats.tx_tls_drop_resync_alloc); in mlx5e_tls_handle_ooo()
272 if (MLX5_CAP_GEN(sq->channel->mdev, tls)) { in mlx5e_tls_handle_tx_skb()
293 skb = mlx5e_tls_handle_ooo(context, sq, skb, wqe, pi, priv->tls); in mlx5e_tls_handle_tx_skb()
298 atomic64_inc(&priv->tls->sw_stats.tx_tls_drop_metadata); in mlx5e_tls_handle_tx_skb()
342 atomic64_inc(&priv->tls->sw_stats.rx_tls_drop_resync_request); in tls_update_resync_sn()
373 atomic64_inc(&priv->tls->sw_stats.rx_tls_resync_request); in mlx5e_tls_handle_rx_skb()
[all …]
Dtls_stats.c56 if (!priv->tls) in mlx5e_tls_get_count()
66 if (!priv->tls) in mlx5e_tls_get_strings()
80 if (!priv->tls) in mlx5e_tls_get_stats()
85 MLX5E_READ_CTR_ATOMIC64(&priv->tls->sw_stats, in mlx5e_tls_get_stats()
/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile60 mlx5_core-$(CONFIG_MLX5_FPGA_TLS) += fpga/tls.o
61 mlx5_core-$(CONFIG_MLX5_ACCEL) += lib/crypto.o accel/tls.o accel/ipsec.o
68 mlx5_core-$(CONFIG_MLX5_EN_TLS) += en_accel/tls.o en_accel/tls_rxtx.o en_accel/tls_stats.o \
Dfw.c242 if (MLX5_CAP_GEN(dev, tls)) { in mlx5_query_hca_caps()
Den.h871 struct mlx5e_tls *tls; member
/drivers/crypto/chelsio/chtls/
Dchtls_cm.h103 #define skb_ulp_tls_inline(skb) (ULP_SKB_CB(skb)->ulp.tls.ofld)
104 #define skb_ulp_tls_iv_imm(skb) (ULP_SKB_CB(skb)->ulp.tls.iv)
Dchtls_io.c57 ULP_SKB_CB(skb)->ulp.tls.iv = 1; in set_ivs_imm()
60 ULP_SKB_CB(skb)->ulp.tls.iv = 0; in set_ivs_imm()
420 data_type = tls_content_type(ULP_SKB_CB(skb)->ulp.tls.type); in tls_tx_data_wr()
862 ULP_SKB_CB(skb)->ulp.tls.ofld = 1; in get_record_skb()
863 ULP_SKB_CB(skb)->ulp.tls.type = csk->tlshws.type; in get_record_skb()
1033 ULP_SKB_CB(skb)->ulp.tls.type = hdr.type; in chtls_sendmsg()
Dchtls.h339 } tls; member
/drivers/net/ethernet/mellanox/mlx5/core/accel/
Dtls.h48 if (!MLX5_CAP_GEN(mdev, tls)) in mlx5_accel_is_ktls_device()
/drivers/net/ethernet/netronome/nfp/
DMakefile41 crypto/tls.o