Lines Matching refs:ipsec_rule

192 	sa_entry->ipsec_rule.auth.fc = flow_counter;
215 sa_entry->ipsec_rule.auth.rule = rule;
224 sa_entry->ipsec_rule.trailer.fc = flow_counter;
235 sa_entry->ipsec_rule.trailer.rule = rule;
241 mlx5_fc_destroy(mdev, sa_entry->ipsec_rule.trailer.fc);
243 mlx5_del_flow_rules(sa_entry->ipsec_rule.auth.rule);
245 mlx5_fc_destroy(mdev, sa_entry->ipsec_rule.auth.fc);
296 sa_entry->ipsec_rule.replay.rule = rule;
297 sa_entry->ipsec_rule.replay.fc = flow_counter;
1670 sa_entry->ipsec_rule.rule = rule;
1671 sa_entry->ipsec_rule.modify_hdr = flow_act.modify_hdr;
1672 sa_entry->ipsec_rule.fc = counter;
1673 sa_entry->ipsec_rule.pkt_reformat = flow_act.pkt_reformat;
1677 if (sa_entry->ipsec_rule.replay.rule) {
1678 mlx5_del_flow_rules(sa_entry->ipsec_rule.replay.rule);
1679 mlx5_fc_destroy(mdev, sa_entry->ipsec_rule.replay.fc);
1774 sa_entry->ipsec_rule.rule = rule;
1775 sa_entry->ipsec_rule.fc = counter;
1776 sa_entry->ipsec_rule.pkt_reformat = flow_act.pkt_reformat;
1861 pol_entry->ipsec_rule.rule = rule;
1862 pol_entry->ipsec_rule.modify_hdr = flow_act.modify_hdr;
1939 pol_entry->ipsec_rule.rule = rule;
2175 struct mlx5e_ipsec_rule *ipsec_rule = &sa_entry->ipsec_rule;
2178 mlx5_del_flow_rules(ipsec_rule->rule);
2179 mlx5_fc_destroy(mdev, ipsec_rule->fc);
2180 if (ipsec_rule->pkt_reformat)
2181 mlx5_packet_reformat_dealloc(mdev, ipsec_rule->pkt_reformat);
2191 if (ipsec_rule->modify_hdr)
2192 mlx5_modify_header_dealloc(mdev, ipsec_rule->modify_hdr);
2194 mlx5_del_flow_rules(ipsec_rule->trailer.rule);
2195 mlx5_fc_destroy(mdev, ipsec_rule->trailer.fc);
2197 mlx5_del_flow_rules(ipsec_rule->auth.rule);
2198 mlx5_fc_destroy(mdev, ipsec_rule->auth.fc);
2200 if (ipsec_rule->replay.rule) {
2201 mlx5_del_flow_rules(ipsec_rule->replay.rule);
2202 mlx5_fc_destroy(mdev, ipsec_rule->replay.fc);
2233 struct mlx5e_ipsec_rule *ipsec_rule = &pol_entry->ipsec_rule;
2236 mlx5_del_flow_rules(ipsec_rule->rule);
2246 if (ipsec_rule->modify_hdr)
2247 mlx5_modify_header_dealloc(mdev, ipsec_rule->modify_hdr);
2365 memset(&sa_entry_shadow.ipsec_rule, 0x00, sizeof(sa_entry->ipsec_rule));