1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-O 1 2 /* Copyright (c) 2022, NVIDIA CORPORATION & AF 3 4 #ifndef MLX5_MACSEC_H 5 #define MLX5_MACSEC_H 6 7 #ifdef CONFIG_MLX5_MACSEC 8 struct mlx5_macsec_event_data { 9 struct mlx5_macsec_fs *macsec_fs; 10 void *macdev; 11 u32 fs_id; 12 bool is_tx; 13 }; 14 15 int mlx5_macsec_add_roce_rule(void *macdev, co 16 struct list_head 17 struct mlx5_macs 18 19 void mlx5_macsec_del_roce_rule(u16 gid_idx, st 20 struct list_hea 21 22 void mlx5_macsec_add_roce_sa_rules(u32 fs_id, 23 struct list 24 struct list 25 struct mlx5 26 27 void mlx5_macsec_del_roce_sa_rules(u32 fs_id, 28 struct list 29 struct list 30 31 #endif 32 #endif /* MLX5_MACSEC_H */ 33
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.