Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmacsec_fs.c808 union mlx5_macsec_rule *macsec_rule = NULL; in macsec_fs_tx_add_rule() local
828 macsec_rule = kzalloc(sizeof(*macsec_rule), GFP_KERNEL); in macsec_fs_tx_add_rule()
829 if (!macsec_rule) { in macsec_fs_tx_add_rule()
834 tx_rule = &macsec_rule->tx_rule; in macsec_fs_tx_add_rule()
890 macsec_rule = NULL; in macsec_fs_tx_add_rule()
894 return macsec_rule; in macsec_fs_tx_add_rule()
1735 union mlx5_macsec_rule *macsec_rule = NULL; in macsec_fs_rx_add_rule() local
1754 macsec_rule = kzalloc(sizeof(*macsec_rule), GFP_KERNEL); in macsec_fs_rx_add_rule()
1755 if (!macsec_rule) { in macsec_fs_rx_add_rule()
1760 rx_rule = &macsec_rule->rx_rule; in macsec_fs_rx_add_rule()
[all …]
Dmacsec_fs.h55 union mlx5_macsec_rule *macsec_rule,
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dmacsec.c68 union mlx5_macsec_rule *macsec_rule; member
320 if (!sa->macsec_rule) in mlx5e_macsec_cleanup_sa_fs()
323 mlx5_macsec_fs_del_rule(macsec->mdev->macsec_fs, sa->macsec_rule, action, netdev, in mlx5e_macsec_cleanup_sa_fs()
325 sa->macsec_rule = NULL; in mlx5e_macsec_cleanup_sa_fs()
343 union mlx5_macsec_rule *macsec_rule; in mlx5e_macsec_init_sa_fs() local
351 macsec_rule = mlx5_macsec_fs_add_rule(macsec_fs, ctx, &rule_attrs, fs_id); in mlx5e_macsec_init_sa_fs()
352 if (!macsec_rule) in mlx5e_macsec_init_sa_fs()
355 sa->macsec_rule = macsec_rule; in mlx5e_macsec_init_sa_fs()
621 if (!tx_sa->macsec_rule) { in mlx5e_macsec_upd_txsa()
1132 if (!rx_sa || !rx_sa->macsec_rule) in macsec_upd_secy_hw_address()