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()
946 static int mlxsw_sp_ageing_set(struct mlxsw_sp *mlxsw_sp, u32 ageing_time) in mlxsw_sp_ageing_set()
962 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_ageing_set() local
977 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_vlan_set() local
995 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_vlan_proto_set() local
1049 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_mc_disabled_set() local
1112 mlxsw_sp_mdb_entry_port_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mdb_entry_port_get()
1154 mlxsw_sp_mdb_entry_port_put(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mdb_entry_port_put()
1179 mlxsw_sp_mdb_entry_mrouter_port_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mdb_entry_mrouter_port_get()
1218 mlxsw_sp_mdb_entry_mrouter_port_put(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mdb_entry_mrouter_port_put()
1242 mlxsw_sp_bridge_mrouter_update_mdb(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_bridge_mrouter_update_mdb()
1264 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_mrouter_set() local
1567 mlxsw_sp_br_rif_pvid_change(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_br_rif_pvid_change()
1584 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_vlans_add() local
1618 mlxsw_sp_bridge_port_fdb_flush(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_bridge_port_fdb_flush()
1647 mlxsw_sp_port_fdb_tun_uc_op4(struct mlxsw_sp *mlxsw_sp, bool dynamic, in mlxsw_sp_port_fdb_tun_uc_op4()
1677 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()
1705 static int mlxsw_sp_port_fdb_tun_uc_op6_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_port_fdb_tun_uc_op6_add()
1738 static void mlxsw_sp_port_fdb_tun_uc_op6_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_port_fdb_tun_uc_op6_del()
1748 mlxsw_sp_port_fdb_tun_uc_op6(struct mlxsw_sp *mlxsw_sp, const char *mac, in mlxsw_sp_port_fdb_tun_uc_op6()
1759 static int mlxsw_sp_port_fdb_tunnel_uc_op(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_port_fdb_tunnel_uc_op()
1778 static int __mlxsw_sp_port_fdb_uc_op(struct mlxsw_sp *mlxsw_sp, u16 local_port, in __mlxsw_sp_port_fdb_uc_op()
1808 static int mlxsw_sp_port_fdb_uc_op(struct mlxsw_sp *mlxsw_sp, u16 local_port, in mlxsw_sp_port_fdb_uc_op()
1817 int mlxsw_sp_rif_fdb_op(struct mlxsw_sp *mlxsw_sp, const char *mac, u16 fid, in mlxsw_sp_rif_fdb_op()
1825 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()
1858 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_fdb_set() local
1891 static int mlxsw_sp_mdb_entry_write(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mdb_entry_write()
1921 mlxsw_sp_bridge_port_get_ports_bitmap(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_bridge_port_get_ports_bitmap()
1948 struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_mc_get_mrouters_bitmap()
1961 static int mlxsw_sp_mc_mdb_mrouters_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mc_mdb_mrouters_add()
1987 static void mlxsw_sp_mc_mdb_mrouters_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mc_mdb_mrouters_del()
1998 mlxsw_sp_mc_mdb_mrouters_set(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mc_mdb_mrouters_set()
2022 mlxsw_sp_mc_mdb_entry_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mc_mdb_entry_init()
2085 mlxsw_sp_mc_mdb_entry_fini(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mc_mdb_entry_fini()
2103 mlxsw_sp_mc_mdb_entry_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mc_mdb_entry_get()
2153 mlxsw_sp_mc_mdb_entry_put(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_mc_mdb_entry_put()
2181 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_mdb_add() local
2212 mlxsw_sp_bridge_mdb_mc_enable_sync(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_bridge_mdb_mc_enable_sync()
2238 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_mrouter_update_mdb() local
2310 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_vlans_del() local
2332 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_mdb_del() local
2374 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_bridge_port_mdb_flush() local
2421 static struct mlxsw_sp_port *mlxsw_sp_lag_rep_port(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_lag_rep_port()
2514 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_lower_get(bridge_device->dev); in mlxsw_sp_bridge_vlan_aware_vxlan_join() local
2595 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_lower_get(bridge_device->dev); in mlxsw_sp_bridge_8021q_fid_get() local
2604 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_lower_get(bridge_device->dev); in mlxsw_sp_bridge_8021q_fid_lookup() local
2705 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_lower_get(bridge_device->dev); in mlxsw_sp_bridge_8021d_vxlan_join() local
2744 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_lower_get(bridge_device->dev); in mlxsw_sp_bridge_8021d_fid_get() local
2753 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_lower_get(bridge_device->dev); in mlxsw_sp_bridge_8021d_fid_lookup() local
2881 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_bridge_join() local
2915 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_bridge_leave() local
2932 int mlxsw_sp_bridge_vxlan_join(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_bridge_vxlan_join()
2947 void mlxsw_sp_bridge_vxlan_leave(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_bridge_vxlan_leave()
3045 static void mlxsw_sp_fdb_notify_mac_process(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_fdb_notify_mac_process()
3113 static void mlxsw_sp_fdb_notify_mac_lag_process(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_fdb_notify_mac_lag_process()
3181 __mlxsw_sp_fdb_notify_mac_uc_tunnel_process(struct mlxsw_sp *mlxsw_sp, in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
3231 static void mlxsw_sp_fdb_notify_mac_uc_tunnel_process(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
3296 static void mlxsw_sp_fdb_notify_rec_process(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_fdb_notify_rec_process()
3332 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_fdb_notify_work() local
3387 mlxsw_sp_switchdev_bridge_vxlan_fdb_event(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
3442 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_switchdev_bridge_nve_fdb_event() local
3539 mlxsw_sp_switchdev_vxlan_fdb_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_switchdev_vxlan_fdb_add()
3611 mlxsw_sp_switchdev_vxlan_fdb_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_switchdev_vxlan_fdb_del()
3661 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_switchdev_vxlan_fdb_event_work() local
3821 mlxsw_sp_switchdev_vxlan_vlan_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_switchdev_vxlan_vlan_add()
3907 mlxsw_sp_switchdev_vxlan_vlan_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_switchdev_vxlan_vlan_del()
3943 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_switchdev_vxlan_vlans_add() local
3978 struct mlxsw_sp *mlxsw_sp; in mlxsw_sp_switchdev_vxlan_vlans_del() local
4078 static int mlxsw_sp_fdb_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_fdb_init()
4112 static void mlxsw_sp_fdb_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_fdb_fini()
4124 static void mlxsw_sp1_switchdev_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp1_switchdev_init()
4133 static void mlxsw_sp2_switchdev_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp2_switchdev_init()
4142 int mlxsw_sp_switchdev_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_switchdev_init()
4162 void mlxsw_sp_switchdev_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_switchdev_fini()