Searched refs:pol_entry (Results 1 – 3 of 3) sorted by relevance
1237 mlx5e_ipsec_build_accel_pol_attrs(struct mlx5e_ipsec_pol_entry *pol_entry, in mlx5e_ipsec_build_accel_pol_attrs() 1240 struct xfrm_policy *x = pol_entry->x; in mlx5e_ipsec_build_accel_pol_attrs() 1266 struct mlx5e_ipsec_pol_entry *pol_entry; in mlx5e_xfrm_add_policy() 1280 pol_entry = kzalloc(sizeof(*pol_entry), GFP_KERNEL); in mlx5e_xfrm_add_policy() 1281 if (!pol_entry) in mlx5e_xfrm_add_policy() 1284 pol_entry->x = x; in mlx5e_xfrm_add_policy() 1285 pol_entry->ipsec = priv->ipsec; in mlx5e_xfrm_add_policy() 1292 mlx5e_ipsec_build_accel_pol_attrs(pol_entry, &pol_entry in mlx5e_xfrm_add_policy() 1236 mlx5e_ipsec_build_accel_pol_attrs(struct mlx5e_ipsec_pol_entry * pol_entry,struct mlx5_accel_pol_xfrm_attrs * attrs) mlx5e_ipsec_build_accel_pol_attrs() argument 1265 struct mlx5e_ipsec_pol_entry *pol_entry; mlx5e_xfrm_add_policy() local 1309 struct mlx5e_ipsec_pol_entry *pol_entry = to_ipsec_pol_entry(x); mlx5e_xfrm_del_policy() local 1317 struct mlx5e_ipsec_pol_entry *pol_entry = to_ipsec_pol_entry(x); mlx5e_xfrm_free_policy() local [all...]
319 int mlx5e_accel_ipsec_fs_add_pol(struct mlx5e_ipsec_pol_entry *pol_entry);320 void mlx5e_accel_ipsec_fs_del_pol(struct mlx5e_ipsec_pol_entry *pol_entry);354 mlx5e_ipsec_pol2dev(struct mlx5e_ipsec_pol_entry *pol_entry) in mlx5e_ipsec_pol2dev() argument356 return pol_entry->ipsec->mdev; in mlx5e_ipsec_pol2dev()
2253 static int tx_add_policy(struct mlx5e_ipsec_pol_entry *pol_entry) in tx_add_policy() argument2255 struct mlx5_accel_pol_xfrm_attrs *attrs = &pol_entry->attrs; in tx_add_policy()2256 struct mlx5_core_dev *mdev = mlx5e_ipsec_pol2dev(pol_entry); in tx_add_policy()2257 struct mlx5e_ipsec *ipsec = pol_entry->ipsec; in tx_add_policy()2323 pol_entry->ipsec_rule.rule = rule; in tx_add_policy()2324 pol_entry->ipsec_rule.modify_hdr = flow_act.modify_hdr; in tx_add_policy()2337 static int rx_add_policy(struct mlx5e_ipsec_pol_entry *pol_entry) in rx_add_policy() argument2339 struct mlx5_accel_pol_xfrm_attrs *attrs = &pol_entry->attrs; in rx_add_policy()2340 struct mlx5_core_dev *mdev = mlx5e_ipsec_pol2dev(pol_entry); in rx_add_policy()2341 struct mlx5e_ipsec *ipsec = pol_entry->ipsec; in rx_add_policy()[all …]