Home
last modified time | relevance | path

Searched refs:mirror_port (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/freescale/dpaa2/ !
Ddpaa2-switch-flower.c406 mirror_port_enabled = (ethsw->mirror_port != ethsw->sw_attr.num_ifs); in dpaa2_switch_block_add_mirror()
412 ethsw->mirror_port = to; in dpaa2_switch_block_add_mirror()
452 ethsw->mirror_port = ethsw->sw_attr.num_ifs; in dpaa2_switch_block_add_mirror()
479 ethsw->mirror_port = ethsw->sw_attr.num_ifs; in dpaa2_switch_block_remove_mirror()
585 mirror_port_enabled = (ethsw->mirror_port != ethsw->sw_attr.num_ifs); in dpaa2_switch_cls_flower_replace_mirror()
600 if (mirror_port_enabled && ethsw->mirror_port != if_id) { in dpaa2_switch_cls_flower_replace_mirror()
738 mirror_port_enabled = (ethsw->mirror_port != ethsw->sw_attr.num_ifs); in dpaa2_switch_cls_matchall_replace_mirror()
753 if (mirror_port_enabled && ethsw->mirror_port != if_id) { in dpaa2_switch_cls_matchall_replace_mirror()
Ddpaa2-switch.h190 u16 mirror_port; member
Ddpaa2-switch.c3388 ethsw->mirror_port = ethsw->sw_attr.num_ifs; in dpaa2_switch_probe()
/linux-5.19.10/drivers/net/dsa/mv88e6xxx/ !
Dport.c1209 bool *mirror_port; in mv88e6xxx_port_set_mirror() local
1221 mirror_port = &chip->ports[port].mirror_ingress; in mv88e6xxx_port_set_mirror()
1225 mirror_port = &chip->ports[port].mirror_egress; in mv88e6xxx_port_set_mirror()
1237 *mirror_port = mirror; in mv88e6xxx_port_set_mirror()