Lines Matching defs:mlxsw_sp
29 struct mlxsw_sp *mlxsw_sp; member
166 bool mlxsw_sp_bridge_device_is_offloaded(const struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_bridge_device_is_offloaded()
175 struct mlxsw_sp *mlxsw_sp = priv->data; in mlxsw_sp_bridge_device_upper_rif_destroy() local
181 static void mlxsw_sp_bridge_device_rifs_destroy(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_bridge_device_rifs_destroy()
239 static void mlxsw_sp_fdb_notify_work_schedule(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_fdb_notify_work_schedule()
839 static int mlxsw_sp_ageing_set(struct mlxsw_sp *mlxsw_sp, u32 ageing_time) in mlxsw_sp_ageing_set()
855 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_ageing_set() local
870 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_vlan_set() local
888 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_vlan_proto_set() local
942 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_mc_disabled_set() local
1005 mlxsw_sp_mdb_entry_port_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mdb_entry_port_get()
1047 mlxsw_sp_mdb_entry_port_put(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mdb_entry_port_put()
1072 mlxsw_sp_mdb_entry_mrouter_port_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mdb_entry_mrouter_port_get()
1111 mlxsw_sp_mdb_entry_mrouter_port_put(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mdb_entry_mrouter_port_put()
1135 mlxsw_sp_bridge_mrouter_update_mdb(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_bridge_mrouter_update_mdb()
1157 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_mrouter_set() local
1458 mlxsw_sp_br_ban_rif_pvid_change(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_br_ban_rif_pvid_change()
1489 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_vlans_add() local
1523 mlxsw_sp_bridge_port_fdb_flush(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_bridge_port_fdb_flush()
1552 mlxsw_sp_port_fdb_tun_uc_op4(struct mlxsw_sp *mlxsw_sp, bool dynamic, in mlxsw_sp_port_fdb_tun_uc_op4()
1582 static int mlxsw_sp_port_fdb_tun_uc_op6_sfd_write(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_port_fdb_tun_uc_op6_sfd_write()
1610 static int mlxsw_sp_port_fdb_tun_uc_op6_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_port_fdb_tun_uc_op6_add()
1643 static void mlxsw_sp_port_fdb_tun_uc_op6_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_port_fdb_tun_uc_op6_del()
1653 mlxsw_sp_port_fdb_tun_uc_op6(struct mlxsw_sp *mlxsw_sp, const char *mac, in mlxsw_sp_port_fdb_tun_uc_op6()
1664 static int mlxsw_sp_port_fdb_tunnel_uc_op(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_port_fdb_tunnel_uc_op()
1683 static int __mlxsw_sp_port_fdb_uc_op(struct mlxsw_sp *mlxsw_sp, u16 local_port, in __mlxsw_sp_port_fdb_uc_op()
1713 static int mlxsw_sp_port_fdb_uc_op(struct mlxsw_sp *mlxsw_sp, u16 local_port, in mlxsw_sp_port_fdb_uc_op()
1722 int mlxsw_sp_rif_fdb_op(struct mlxsw_sp *mlxsw_sp, const char *mac, u16 fid, in mlxsw_sp_rif_fdb_op()
1730 static int mlxsw_sp_port_fdb_uc_lag_op(struct mlxsw_sp *mlxsw_sp, u16 lag_id, in mlxsw_sp_port_fdb_uc_lag_op()
1763 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_fdb_set() local
1796 static int mlxsw_sp_mdb_entry_write(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mdb_entry_write()
1826 mlxsw_sp_bridge_port_get_ports_bitmap(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_bridge_port_get_ports_bitmap()
1853 struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_mc_get_mrouters_bitmap()
1866 static int mlxsw_sp_mc_mdb_mrouters_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mc_mdb_mrouters_add()
1892 static void mlxsw_sp_mc_mdb_mrouters_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mc_mdb_mrouters_del()
1903 mlxsw_sp_mc_mdb_mrouters_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mc_mdb_mrouters_set()
1927 mlxsw_sp_mc_mdb_entry_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mc_mdb_entry_init()
1990 mlxsw_sp_mc_mdb_entry_fini(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mc_mdb_entry_fini()
2008 mlxsw_sp_mc_mdb_entry_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mc_mdb_entry_get()
2058 mlxsw_sp_mc_mdb_entry_put(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mc_mdb_entry_put()
2086 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_mdb_add() local
2117 mlxsw_sp_bridge_mdb_mc_enable_sync(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_bridge_mdb_mc_enable_sync()
2143 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_mrouter_update_mdb() local
2215 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_vlans_del() local
2237 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_mdb_del() local
2279 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_bridge_port_mdb_flush() local
2326 static struct mlxsw_sp_port *mlxsw_sp_lag_rep_port(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_lag_rep_port()
2392 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_lower_get(bridge_device->dev); in mlxsw_sp_bridge_vlan_aware_vxlan_join() local
2473 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_lower_get(bridge_device->dev); in mlxsw_sp_bridge_8021q_fid_get() local
2482 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_lower_get(bridge_device->dev); in mlxsw_sp_bridge_8021q_fid_lookup() local
2570 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_lower_get(bridge_device->dev); in mlxsw_sp_bridge_8021d_vxlan_join() local
2609 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_lower_get(bridge_device->dev); in mlxsw_sp_bridge_8021d_fid_get() local
2618 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_lower_get(bridge_device->dev); in mlxsw_sp_bridge_8021d_fid_lookup() local
2746 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_bridge_join() local
2773 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_bridge_leave() local
2789 int mlxsw_sp_bridge_vxlan_join(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_bridge_vxlan_join()
2804 void mlxsw_sp_bridge_vxlan_leave(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_bridge_vxlan_leave()
2901 static void mlxsw_sp_fdb_notify_mac_process(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_fdb_notify_mac_process()
2965 static void mlxsw_sp_fdb_notify_mac_lag_process(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_fdb_notify_mac_lag_process()
3029 __mlxsw_sp_fdb_notify_mac_uc_tunnel_process(struct mlxsw_sp *mlxsw_sp, in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
3079 static void mlxsw_sp_fdb_notify_mac_uc_tunnel_process(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
3144 static void mlxsw_sp_fdb_notify_rec_process(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_fdb_notify_rec_process()
3180 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_fdb_notify_work() local
3234 mlxsw_sp_switchdev_bridge_vxlan_fdb_event(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
3289 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_switchdev_bridge_nve_fdb_event() local
3386 mlxsw_sp_switchdev_vxlan_fdb_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_switchdev_vxlan_fdb_add()
3458 mlxsw_sp_switchdev_vxlan_fdb_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_switchdev_vxlan_fdb_del()
3508 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_switchdev_vxlan_fdb_event_work() local
3668 mlxsw_sp_switchdev_vxlan_vlan_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_switchdev_vxlan_vlan_add()
3754 mlxsw_sp_switchdev_vxlan_vlan_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_switchdev_vxlan_vlan_del()
3790 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_switchdev_vxlan_vlans_add() local
3825 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_switchdev_vxlan_vlans_del() local
3925 static int mlxsw_sp_fdb_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_fdb_init()
3959 static void mlxsw_sp_fdb_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_fdb_fini()
3971 static void mlxsw_sp1_switchdev_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp1_switchdev_init()
3980 static void mlxsw_sp2_switchdev_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp2_switchdev_init()
3989 int mlxsw_sp_switchdev_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_switchdev_init()
4009 void mlxsw_sp_switchdev_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_switchdev_fini()