Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Degress_ofld.c21 xa_load(&vport->egress.offloads.bounce_rules, rule_index); in esw_acl_egress_ofld_bounce_rule_destroy()
27 xa_erase(&vport->egress.offloads.bounce_rules, rule_index); in esw_acl_egress_ofld_bounce_rule_destroy()
35 xa_for_each(&vport->egress.offloads.bounce_rules, i, bounce_rule) { in esw_acl_egress_ofld_bounce_rules_destroy()
37 xa_erase(&vport->egress.offloads.bounce_rules, i); in esw_acl_egress_ofld_bounce_rules_destroy()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c2685 err = xa_insert(&vport->egress.offloads.bounce_rules, in __esw_set_master_egress_rule()
2748 xa_init_flags(&vport->egress.offloads.bounce_rules, XA_FLAGS_ALLOC); in esw_master_egress_create_resources()
2763 if (!xa_empty(&vport->egress.offloads.bounce_rules)) in esw_master_egress_destroy_resources()
2797 if (xa_load(&vport->egress.offloads.bounce_rules, slave_index)) in esw_set_master_egress_rule()
2821 if (xa_empty(&vport->egress.offloads.bounce_rules)) { in esw_unset_master_egress_rule()
2823 xa_destroy(&vport->egress.offloads.bounce_rules); in esw_unset_master_egress_rule()
Deswitch.h145 struct xarray bounce_rules; member