Lines Matching defs:rif
143 mlxsw_sp_rif_p_counter_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_p_counter_get()
156 mlxsw_sp_rif_counter_valid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_valid_get()
169 mlxsw_sp_rif_counter_valid_set(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_valid_set()
204 struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_value_get()
239 struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_alloc()
272 struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_free()
290 static void mlxsw_sp_rif_counters_alloc(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_counters_alloc()
302 static void mlxsw_sp_rif_counters_free(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_counters_free()
1096 struct mlxsw_sp_rif *rif; in mlxsw_sp_ipip_ol_ipip_lb_create() local
1590 struct mlxsw_sp_rif *rif = &lb_rif->common; in mlxsw_sp_rif_ipip_lb_op() local
2118 u16 rif; member
2136 mlxsw_sp_rif_neigh_next(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_neigh_next()
2193 u16 rif) in mlxsw_sp_neigh_entry_alloc()
2282 struct mlxsw_sp_rif *rif; in mlxsw_sp_neigh_entry_create() local
2351 u16 rif; in mlxsw_sp_router_neigh_ent_ipv4_process() local
2381 u16 rif; in mlxsw_sp_router_neigh_ent_ipv6_process() local
2901 struct mlxsw_sp_rif *rif) in mlxsw_sp_neigh_rif_gone_sync()
2945 struct mlxsw_sp_rif *rif; member
4112 struct mlxsw_sp_rif *rif) in mlxsw_sp_nexthop_rif_init()
4267 struct mlxsw_sp_rif *rif; in mlxsw_sp_nexthop_type_init() local
4394 struct mlxsw_sp_rif *rif) in mlxsw_sp_nexthop_rif_update()
4430 struct mlxsw_sp_rif *rif) in mlxsw_sp_nexthop_rif_gone_sync()
5903 struct mlxsw_sp_rif *rif = fib_entry->nh_group->nhgi->nh_rif; in mlxsw_sp_fib_entry_op_local() local
7387 struct mlxsw_sp_rif *rif; in mlxsw_sp_router_fibmr_vif_add() local
7949 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_exists() local
7960 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_vid() local
7981 static int mlxsw_sp_router_rif_disable(struct mlxsw_sp *mlxsw_sp, u16 rif) in mlxsw_sp_router_rif_disable()
7996 struct mlxsw_sp_rif *rif) in mlxsw_sp_router_rif_gone_sync()
8004 mlxsw_sp_rif_should_config(struct mlxsw_sp_rif *rif, struct net_device *dev, in mlxsw_sp_rif_should_config()
8085 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_alloc() local
8110 u16 mlxsw_sp_rif_index(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_index()
8137 int mlxsw_sp_rif_dev_ifindex(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_dev_ifindex()
8142 const struct net_device *mlxsw_sp_rif_dev(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_dev()
8156 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_create() local
8229 static void mlxsw_sp_rif_destroy(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_destroy()
8257 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_destroy_by_dev() local
8283 mlxsw_sp_rif_subport_rif(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_subport_rif()
8294 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_subport_get() local
8305 static void mlxsw_sp_rif_subport_put(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_subport_put()
8460 static bool mlxsw_sp_rif_mac_profile_is_shared(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_mac_profile_is_shared()
8473 static int mlxsw_sp_rif_mac_profile_edit(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_mac_profile_edit()
8490 struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_mac_profile_replace()
8522 struct mlxsw_sp_rif *rif; in __mlxsw_sp_port_vlan_router_join() local
8565 struct mlxsw_sp_rif *rif = mlxsw_sp_fid_rif(fid); in __mlxsw_sp_port_vlan_router_leave() local
8585 struct mlxsw_sp_rif *rif; in mlxsw_sp_port_vlan_router_join() local
8689 struct mlxsw_sp_rif *rif; in mlxsw_sp_inetaddr_bridge_event() local
8784 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_macvlan_add() local
8821 struct mlxsw_sp_rif *rif; in __mlxsw_sp_rif_macvlan_del() local
8887 struct mlxsw_sp_rif *rif; in mlxsw_sp_inetaddr_event() local
8912 struct mlxsw_sp_rif *rif; in mlxsw_sp_inetaddr_valid_event() local
8944 struct mlxsw_sp_rif *rif; in mlxsw_sp_inet6addr_event_work() local
8995 struct mlxsw_sp_rif *rif; in mlxsw_sp_inet6addr_valid_event() local
9033 struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_change_event()
9093 static int mlxsw_sp_router_port_pre_changeaddr_event(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_pre_changeaddr_event()
9125 struct mlxsw_sp_rif *rif; in mlxsw_sp_netdevice_router_port_event() local
9156 struct mlxsw_sp_rif *rif; in mlxsw_sp_port_vrf_join() local
9172 struct mlxsw_sp_rif *rif; in mlxsw_sp_port_vrf_leave() local
9215 struct mlxsw_sp_rif *rif = (struct mlxsw_sp_rif *)priv->data; in __mlxsw_sp_rif_macvlan_flush() local
9224 static int mlxsw_sp_rif_macvlan_flush(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_macvlan_flush()
9238 static void mlxsw_sp_rif_subport_setup(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_subport_setup()
9253 static int mlxsw_sp_rif_subport_op(struct mlxsw_sp_rif *rif, bool enable) in mlxsw_sp_rif_subport_op()
9272 static int mlxsw_sp_rif_subport_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_subport_configure()
9303 static void mlxsw_sp_rif_subport_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_subport_deconfigure()
9316 mlxsw_sp_rif_subport_fid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_subport_fid_get()
9331 static int mlxsw_sp_rif_vlan_fid_op(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_vlan_fid_op()
9352 static int mlxsw_sp_rif_fid_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_fid_configure()
9402 static void mlxsw_sp_rif_fid_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_fid_deconfigure()
9421 mlxsw_sp_rif_fid_fid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_fid_fid_get()
9427 static void mlxsw_sp_rif_fid_fdb_del(struct mlxsw_sp_rif *rif, const char *mac) in mlxsw_sp_rif_fid_fdb_del()
9452 mlxsw_sp_rif_vlan_fid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_vlan_fid_get()
9475 static void mlxsw_sp_rif_vlan_fdb_del(struct mlxsw_sp_rif *rif, const char *mac) in mlxsw_sp_rif_vlan_fdb_del()
9503 mlxsw_sp_rif_ipip_lb_rif(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_ipip_lb_rif()
9509 mlxsw_sp_rif_ipip_lb_setup(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_ipip_lb_setup()
9522 mlxsw_sp1_rif_ipip_lb_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp1_rif_ipip_lb_configure()
9549 static void mlxsw_sp1_rif_ipip_lb_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp1_rif_ipip_lb_deconfigure()
9710 mlxsw_sp2_rif_ipip_lb_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp2_rif_ipip_lb_configure()
9737 static void mlxsw_sp2_rif_ipip_lb_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp2_rif_ipip_lb_deconfigure()