Home
last modified time | relevance | path

Searched refs:ingress_port_mask (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_vcap.c376 ~filter->ingress_port_mask); in is2_entry_set()
694 ~filter->ingress_port_mask); in is1_entry_set()
1154 if (tmp->ingress_port_mask & filter->ingress_port_mask && in ocelot_exclusive_mac_etype_filter_rules()
1160 for_each_set_bit(port, &filter->ingress_port_mask, in ocelot_exclusive_mac_etype_filter_rules()
1168 if (tmp->ingress_port_mask & filter->ingress_port_mask && in ocelot_exclusive_mac_etype_filter_rules()
1174 for_each_set_bit(port, &filter->ingress_port_mask, in ocelot_exclusive_mac_etype_filter_rules()
Docelot_flower.c804 filter->ingress_port_mask = BIT(port); in ocelot_vcap_filter_create()
886 filter->ingress_port_mask |= BIT(port); in ocelot_cls_flower_replace()
955 filter->ingress_port_mask &= ~BIT(port); in ocelot_cls_flower_destroy()
956 if (filter->ingress_port_mask) in ocelot_cls_flower_destroy()
Docelot_mrp.c67 filter->ingress_port_mask = BIT(src_port); in ocelot_mrp_redirect_add_vcap()
Docelot.c564 if (filter->ingress_port_mask & BIT(port) && in ocelot_port_vlan_filtering()
1334 trap->ingress_port_mask |= BIT(port); in ocelot_trap_add()
1341 trap->ingress_port_mask &= ~BIT(port); in ocelot_trap_add()
1342 if (!trap->ingress_port_mask) in ocelot_trap_add()
1362 trap->ingress_port_mask &= ~BIT(port); in ocelot_trap_del()
1363 if (!trap->ingress_port_mask) in ocelot_trap_del()
/linux-6.1.9/drivers/net/dsa/ocelot/
Dfelix.c151 untagging_rule->ingress_port_mask = cpu_ports; in felix_tag_8021q_vlan_add_tx()
175 redirect_rule->ingress_port_mask = cpu_ports; in felix_tag_8021q_vlan_add_tx()
292 if (WARN_ON(!trap->ingress_port_mask)) in felix_trap_get_cpu_port()
295 first_port = __ffs(trap->ingress_port_mask); in felix_trap_get_cpu_port()
/linux-6.1.9/include/soc/mscc/
Docelot_vcap.h698 unsigned long ingress_port_mask; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h12643 MLXSW_ITEM_BIT_ARRAY(reg, sbsr, ingress_port_mask, 0x10, 0x20, 1);