Lines Matching full:mirror
16 #define SPX5_QFWD_MP_OFFSET 9 /* Mirror port offset in the QFWD register */
18 /* Convert from bool ingress/egress to mirror direction */
24 /* Get ports belonging to this mirror */
31 /* Add port to mirror (only front ports) */
45 /* Delete port from mirror (only front ports) */
59 /* Check if mirror contains port */
65 /* Check if mirror is empty */
71 /* Get direction of mirror */
79 /* Set direction of mirror */
87 /* Set the monitor port for this mirror */
96 /* Get the monitor port of this mirror */
105 /* Check if port is the monitor port of this mirror */
112 /* Get a suitable mirror for this port */
124 /* Check if existing mirror can be reused in sparx5_mirror_get()
135 /* Return free mirror */ in sparx5_mirror_get()
156 mport = entry->mirror.port; in sparx5_mirror_add()
169 /* Add port to mirror */ in sparx5_mirror_add()
172 /* Set direction of mirror */ in sparx5_mirror_add()
175 /* Set monitor port for mirror */ in sparx5_mirror_add()
178 entry->mirror.idx = mirror_idx; in sparx5_mirror_add()
187 u32 mirror_idx = entry->mirror.idx; in sparx5_mirror_del()