Searched refs:psp_st (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | psp_rxtx.c | 24 struct mlx5e_accel_tx_psp_state *psp_st, in mlx5e_psp_set_swp() argument 95 psp_st->inner_ipproto = inner_ipproto; in mlx5e_psp_set_swp() 101 struct mlx5e_accel_tx_psp_state *psp_st) in mlx5e_psp_set_state() argument 112 psp_st->tailen = PSP_TRL_SIZE; in mlx5e_psp_set_state() 113 psp_st->spi = pas->tx.spi; in mlx5e_psp_set_state() 114 psp_st->ver = pas->version; in mlx5e_psp_set_state() 115 psp_st->keyid = *(u32 *)pas->drv_data; in mlx5e_psp_set_state() 147 struct mlx5e_accel_tx_psp_state *psp_st, in mlx5e_psp_tx_build_eseg() argument 157 mlx5e_psp_set_swp(skb, psp_st, eseg); in mlx5e_psp_tx_build_eseg() 162 eseg->flow_table_metadata |= cpu_to_be32(psp_st->keyid); in mlx5e_psp_tx_build_eseg() [all …]
|
| H A D | psp_rxtx.h | 44 struct mlx5e_accel_tx_psp_state *psp_st); 47 struct mlx5e_accel_tx_psp_state *psp_st, 51 struct mlx5e_accel_tx_psp_state *psp_st, 55 struct mlx5e_accel_tx_psp_state *psp_st, in mlx5e_psp_txwqe_build_eseg_csum() argument 60 if (!mlx5e_psp_is_offload_state(psp_st)) in mlx5e_psp_txwqe_build_eseg_csum() 63 inner_ipproto = psp_st->inner_ipproto; in mlx5e_psp_txwqe_build_eseg_csum() 79 static inline unsigned int mlx5e_psp_tx_ids_len(struct mlx5e_accel_tx_psp_state *psp_st) in mlx5e_psp_tx_ids_len() argument 81 return psp_st->tailen; in mlx5e_psp_tx_ids_len() 103 struct mlx5e_accel_tx_psp_state *psp_st, in mlx5e_psp_txwqe_build_eseg_csum() argument
|
| H A D | en_accel.h | 111 struct mlx5e_accel_tx_psp_state psp_st; member 130 if (unlikely(!mlx5e_psp_handle_tx_skb(dev, skb, &state->psp_st))) in mlx5e_accel_tx_begin() 159 if (mlx5e_psp_is_offload_state(&state->psp_st)) in mlx5e_accel_tx_ids_len() 160 return mlx5e_psp_tx_ids_len(&state->psp_st); in mlx5e_accel_tx_ids_len() 180 if (mlx5e_psp_is_offload_state(&accel->psp_st)) in mlx5e_accel_tx_eseg() 181 mlx5e_psp_tx_build_eseg(priv, skb, &accel->psp_st, eseg); in mlx5e_accel_tx_eseg() 210 if (mlx5e_psp_is_offload_state(&state->psp_st)) in mlx5e_accel_tx_finish() 211 mlx5e_psp_handle_tx_wqe(wqe, &state->psp_st, inlseg); in mlx5e_accel_tx_finish()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_tx.c | 125 if (unlikely(mlx5e_psp_txwqe_build_eseg_csum(sq, skb, &accel->psp_st, eseg))) in mlx5e_txwqe_build_eseg_csum()
|