Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c2702 err = xa_insert(&vport->egress.offloads.bounce_rules, in __esw_set_master_egress_rule()
2765 xa_init_flags(&vport->egress.offloads.bounce_rules, XA_FLAGS_ALLOC); in esw_master_egress_create_resources()
2780 if (!xa_empty(&vport->egress.offloads.bounce_rules)) in esw_master_egress_destroy_resources()
2814 if (xa_load(&vport->egress.offloads.bounce_rules, slave_index)) in esw_set_master_egress_rule()
2838 if (xa_empty(&vport->egress.offloads.bounce_rules)) { in esw_unset_master_egress_rule()
2840 xa_destroy(&vport->egress.offloads.bounce_rules); in esw_unset_master_egress_rule()
H A Deswitch.h145 struct xarray bounce_rules; member