Home
last modified time | relevance | path

Searched refs:macsec_obj_id (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dmacsec.c61 u32 macsec_obj_id; member
241 u32 *macsec_obj_id) in mlx5e_macsec_create_object() argument
296 *macsec_obj_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5e_macsec_create_object()
301 static void mlx5e_macsec_destroy_object(struct mlx5_core_dev *mdev, u32 macsec_obj_id) in mlx5e_macsec_destroy_object() argument
308 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, macsec_obj_id); in mlx5e_macsec_destroy_object()
333 mlx5e_macsec_destroy_object(macsec->mdev, sa->macsec_obj_id); in mlx5e_macsec_cleanup_sa()
345 rule_attrs.macsec_obj_id = sa->macsec_obj_id; in mlx5e_macsec_init_sa_fs()
385 err = mlx5e_macsec_create_object(mdev, &obj_attrs, is_tx, &sa->macsec_obj_id); in mlx5e_macsec_init_sa()
398 mlx5e_macsec_destroy_object(mdev, sa->macsec_obj_id); in mlx5e_macsec_init_sa()
1445 if (macsec_sa->macsec_obj_id == obj_id) in get_macsec_tx_sa_from_obj_id()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmacsec_fs.h22 u32 macsec_obj_id; member
Dmacsec_fs.c580 u32 macsec_obj_id, in macsec_fs_tx_setup_fte() argument
604 flow_act->crypto.obj_id = macsec_obj_id; in macsec_fs_tx_setup_fte()
606 mlx5_core_dbg(macsec_fs->mdev, "Tx fte: macsec obj_id %u, fs_id %u\n", macsec_obj_id, id); in macsec_fs_tx_setup_fte()
856 err = macsec_fs_tx_setup_fte(macsec_fs, spec, &flow_act, attrs->macsec_obj_id, fs_id); in macsec_fs_tx_add_rule()
1723 crypto_params->obj_id = attrs->macsec_obj_id; in macsec_fs_rx_setup_fte()