Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.c188 struct mlx5e_accel_tx_ipsec_state *ipsec_st, in mlx5e_ipsec_handle_tx_wqe() argument
191 inlseg->byte_count = cpu_to_be32(ipsec_st->tailen | MLX5_INLINE_SEG); in mlx5e_ipsec_handle_tx_wqe()
192 esp_output_fill_trailer((u8 *)inlseg->data, 0, ipsec_st->plen, ipsec_st->xo->proto); in mlx5e_ipsec_handle_tx_wqe()
199 struct mlx5e_accel_tx_ipsec_state *ipsec_st) in mlx5e_ipsec_set_state() argument
205 ipsec_st->x = x; in mlx5e_ipsec_set_state()
206 ipsec_st->xo = xo; in mlx5e_ipsec_set_state()
213 ipsec_st->plen = plen; in mlx5e_ipsec_set_state()
214 ipsec_st->tailen = tailen; in mlx5e_ipsec_set_state()
263 struct mlx5e_accel_tx_ipsec_state *ipsec_st) in mlx5e_ipsec_handle_tx_skb() argument
298 mlx5e_ipsec_set_state(priv, skb, x, xo, ipsec_st); in mlx5e_ipsec_handle_tx_skb()
H A Dipsec_rxtx.h62 struct mlx5e_accel_tx_ipsec_state *ipsec_st);
64 struct mlx5e_accel_tx_ipsec_state *ipsec_st,
70 static inline unsigned int mlx5e_ipsec_tx_ids_len(struct mlx5e_accel_tx_ipsec_state *ipsec_st) in mlx5e_ipsec_tx_ids_len() argument
72 return ipsec_st->tailen; in mlx5e_ipsec_tx_ids_len()