Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dipsec_fs.c50 u32 mapped_id; in mlx5_esw_ipsec_rx_setup_modify_header() local
53 err = xa_alloc_bh(&ipsec->rx_esw->ipsec_obj_id_map, &mapped_id, in mlx5_esw_ipsec_rx_setup_modify_header()
68 MLX5_SET(set_action_in, action, data, mapped_id); in mlx5_esw_ipsec_rx_setup_modify_header()
77 sa_entry->rx_mapped_id = mapped_id; in mlx5_esw_ipsec_rx_setup_modify_header()
84 xa_erase_bh(&ipsec->rx_esw->ipsec_obj_id_map, mapped_id); in mlx5_esw_ipsec_rx_setup_modify_header()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dtc.c720 u32 mapped_id; in mlx5e_rep_tc_receive() local
723 mapped_id = tunnel_id & ESW_IPSEC_RX_MAPPED_ID_MASK; in mlx5e_rep_tc_receive()
724 if (mapped_id && in mlx5e_rep_tc_receive()
725 !mlx5_esw_ipsec_rx_make_metadata(priv, mapped_id, &metadata)) in mlx5e_rep_tc_receive()