Lines Matching defs:rif
144 mlxsw_sp_rif_p_counter_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_p_counter_get()
157 mlxsw_sp_rif_counter_valid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_valid_get()
170 mlxsw_sp_rif_counter_valid_set(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_valid_set()
205 struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_value_get()
243 mlxsw_sp_rif_counter_fetch_clear(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_fetch_clear()
297 int mlxsw_sp_rif_counter_alloc(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_alloc()
334 void mlxsw_sp_rif_counter_free(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_free()
353 static void mlxsw_sp_rif_counters_alloc(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_counters_alloc()
365 static void mlxsw_sp_rif_counters_free(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_counters_free()
1065 struct mlxsw_sp_rif *rif; in mlxsw_sp_ipip_ol_ipip_lb_create() local
1557 struct mlxsw_sp_rif *rif = &lb_rif->common; in mlxsw_sp_rif_ipip_lb_op() local
2081 u16 rif; member
2099 mlxsw_sp_rif_neigh_next(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_neigh_next()
2156 u16 rif) in mlxsw_sp_neigh_entry_alloc()
2245 struct mlxsw_sp_rif *rif; in mlxsw_sp_neigh_entry_create() local
2316 u16 rif; in mlxsw_sp_router_neigh_ent_ipv4_process() local
2346 u16 rif; in mlxsw_sp_router_neigh_ent_ipv6_process() local
2870 struct mlxsw_sp_rif *rif) in mlxsw_sp_neigh_rif_gone_sync()
2914 struct mlxsw_sp_rif *rif; member
4081 struct mlxsw_sp_rif *rif) in mlxsw_sp_nexthop_rif_init()
4236 struct mlxsw_sp_rif *rif; in mlxsw_sp_nexthop_type_init() local
4365 struct mlxsw_sp_rif *rif) in mlxsw_sp_nexthop_rif_update()
4401 struct mlxsw_sp_rif *rif) in mlxsw_sp_nexthop_rif_gone_sync()
5770 struct mlxsw_sp_rif *rif = fib_entry->nh_group->nhgi->nh_rif; in mlxsw_sp_fib_entry_op_local() local
7212 struct mlxsw_sp_rif *rif; in mlxsw_sp_router_fibmr_vif_add() local
7711 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_exists() local
7722 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_vid() local
7743 static int mlxsw_sp_router_rif_disable(struct mlxsw_sp *mlxsw_sp, u16 rif) in mlxsw_sp_router_rif_disable()
7758 struct mlxsw_sp_rif *rif) in mlxsw_sp_router_rif_gone_sync()
7766 mlxsw_sp_rif_should_config(struct mlxsw_sp_rif *rif, struct net_device *dev, in mlxsw_sp_rif_should_config()
7847 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_alloc() local
7872 u16 mlxsw_sp_rif_index(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_index()
7900 mlxsw_sp_router_port_l3_stats_enabled(struct mlxsw_sp_rif *rif) in mlxsw_sp_router_port_l3_stats_enabled()
7909 mlxsw_sp_router_port_l3_stats_enable(struct mlxsw_sp_rif *rif) in mlxsw_sp_router_port_l3_stats_enable()
7946 mlxsw_sp_router_port_l3_stats_disable(struct mlxsw_sp_rif *rif) in mlxsw_sp_router_port_l3_stats_disable()
7953 mlxsw_sp_router_port_l3_stats_report_used(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_l3_stats_report_used()
7962 mlxsw_sp_router_port_l3_stats_fetch(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_l3_stats_fetch()
8003 mlxsw_sp_router_port_l3_stats_report_delta(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_l3_stats_report_delta()
8059 int mlxsw_sp_rif_dev_ifindex(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_dev_ifindex()
8064 const struct net_device *mlxsw_sp_rif_dev(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_dev()
8069 static void mlxsw_sp_rif_push_l3_stats(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_push_l3_stats()
8088 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_create() local
8171 static void mlxsw_sp_rif_destroy(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_destroy()
8208 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_destroy_by_dev() local
8234 mlxsw_sp_rif_subport_rif(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_subport_rif()
8245 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_subport_get() local
8256 static void mlxsw_sp_rif_subport_put(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_subport_put()
8415 static bool mlxsw_sp_rif_mac_profile_is_shared(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_mac_profile_is_shared()
8428 static int mlxsw_sp_rif_mac_profile_edit(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_mac_profile_edit()
8445 struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_mac_profile_replace()
8477 struct mlxsw_sp_rif *rif; in __mlxsw_sp_port_vlan_router_join() local
8520 struct mlxsw_sp_rif *rif = mlxsw_sp_fid_rif(fid); in __mlxsw_sp_port_vlan_router_leave() local
8540 struct mlxsw_sp_rif *rif; in mlxsw_sp_port_vlan_router_join() local
8642 struct mlxsw_sp_rif *rif; in mlxsw_sp_inetaddr_bridge_event() local
8737 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_macvlan_add() local
8774 struct mlxsw_sp_rif *rif; in __mlxsw_sp_rif_macvlan_del() local
8840 struct mlxsw_sp_rif *rif; in mlxsw_sp_inetaddr_event() local
8865 struct mlxsw_sp_rif *rif; in mlxsw_sp_inetaddr_valid_event() local
8897 struct mlxsw_sp_rif *rif; in mlxsw_sp_inet6addr_event_work() local
8948 struct mlxsw_sp_rif *rif; in mlxsw_sp_inet6addr_valid_event() local
8986 struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_change_event()
9046 static int mlxsw_sp_router_port_pre_changeaddr_event(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_pre_changeaddr_event()
9087 mlxsw_sp_router_port_offload_xstats_cmd(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_offload_xstats_cmd()
9121 struct mlxsw_sp_rif *rif; in mlxsw_sp_netdevice_offload_xstats_cmd() local
9147 struct mlxsw_sp_rif *rif; in mlxsw_sp_netdevice_router_port_event() local
9175 struct mlxsw_sp_rif *rif; in mlxsw_sp_port_vrf_join() local
9191 struct mlxsw_sp_rif *rif; in mlxsw_sp_port_vrf_leave() local
9274 struct mlxsw_sp_rif *rif = (struct mlxsw_sp_rif *)priv->data; in __mlxsw_sp_rif_macvlan_flush() local
9283 static int mlxsw_sp_rif_macvlan_flush(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_macvlan_flush()
9297 static void mlxsw_sp_rif_subport_setup(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_subport_setup()
9312 static int mlxsw_sp_rif_subport_op(struct mlxsw_sp_rif *rif, bool enable) in mlxsw_sp_rif_subport_op()
9332 static int mlxsw_sp_rif_subport_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_subport_configure()
9369 static void mlxsw_sp_rif_subport_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_subport_deconfigure()
9382 mlxsw_sp_rif_subport_fid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_subport_fid_get()
9397 static int mlxsw_sp_rif_fid_op(struct mlxsw_sp_rif *rif, u16 fid, bool enable) in mlxsw_sp_rif_fid_op()
9417 static int mlxsw_sp_rif_fid_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_fid_configure()
9472 static void mlxsw_sp_rif_fid_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_fid_deconfigure()
9491 mlxsw_sp_rif_fid_fid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_fid_fid_get()
9497 static void mlxsw_sp_rif_fid_fdb_del(struct mlxsw_sp_rif *rif, const char *mac) in mlxsw_sp_rif_fid_fdb_del()
9522 mlxsw_sp_rif_vlan_fid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_vlan_fid_get()
9545 static void mlxsw_sp_rif_vlan_fdb_del(struct mlxsw_sp_rif *rif, const char *mac) in mlxsw_sp_rif_vlan_fdb_del()
9563 static int mlxsw_sp_rif_vlan_op(struct mlxsw_sp_rif *rif, u16 vid, u16 efid, in mlxsw_sp_rif_vlan_op()
9576 static int mlxsw_sp_rif_vlan_configure(struct mlxsw_sp_rif *rif, u16 efid, in mlxsw_sp_rif_vlan_configure()
9631 static void mlxsw_sp_rif_vlan_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_vlan_deconfigure()
9648 static int mlxsw_sp1_rif_vlan_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp1_rif_vlan_configure()
9663 static int mlxsw_sp2_rif_vlan_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp2_rif_vlan_configure()
9681 mlxsw_sp_rif_ipip_lb_rif(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_ipip_lb_rif()
9687 mlxsw_sp_rif_ipip_lb_setup(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_ipip_lb_setup()
9700 mlxsw_sp1_rif_ipip_lb_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp1_rif_ipip_lb_configure()
9727 static void mlxsw_sp1_rif_ipip_lb_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp1_rif_ipip_lb_deconfigure()
9890 mlxsw_sp2_rif_ipip_lb_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp2_rif_ipip_lb_configure()
9917 static void mlxsw_sp2_rif_ipip_lb_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp2_rif_ipip_lb_deconfigure()