Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dmacsec.c335 struct mlx5_macsec_rule_attrs rule_attrs; in mlx5e_macsec_init_sa() local
360 rule_attrs.macsec_obj_id = sa->macsec_obj_id; in mlx5e_macsec_init_sa()
361 rule_attrs.sci = sa->sci; in mlx5e_macsec_init_sa()
362 rule_attrs.assoc_num = sa->assoc_num; in mlx5e_macsec_init_sa()
363 rule_attrs.action = (is_tx) ? MLX5_ACCEL_MACSEC_ACTION_ENCRYPT : in mlx5e_macsec_init_sa()
366 macsec_rule = mlx5_macsec_fs_add_rule(mdev->macsec_fs, ctx, &rule_attrs, fs_id); in mlx5e_macsec_init_sa()