Lines Matching defs:rif
63 struct mlxsw_sp_rif *rif; member
92 static struct net_device *mlxsw_sp_rif_dev(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_dev()
173 mlxsw_sp_rif_p_counter_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_p_counter_get()
186 mlxsw_sp_rif_counter_valid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_valid_get()
199 mlxsw_sp_rif_counter_valid_set(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_valid_set()
234 struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_value_get()
272 mlxsw_sp_rif_counter_fetch_clear(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_fetch_clear()
326 int mlxsw_sp_rif_counter_alloc(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_alloc()
363 void mlxsw_sp_rif_counter_free(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_free()
382 static void mlxsw_sp_rif_counters_alloc(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_counters_alloc()
394 static void mlxsw_sp_rif_counters_free(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_counters_free()
1153 struct mlxsw_sp_rif *rif; in mlxsw_sp_ipip_ol_ipip_lb_create() local
1647 struct mlxsw_sp_rif *rif = &lb_rif->common; in mlxsw_sp_rif_ipip_lb_op() local
2184 u16 rif; member
2202 mlxsw_sp_rif_neigh_next(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_neigh_next()
2259 u16 rif) in mlxsw_sp_neigh_entry_alloc()
2348 struct mlxsw_sp_rif *rif; in mlxsw_sp_neigh_entry_create() local
2419 u16 rif; in mlxsw_sp_router_neigh_ent_ipv4_process() local
2449 u16 rif; in mlxsw_sp_router_neigh_ent_ipv6_process() local
2977 struct mlxsw_sp_rif *rif) in mlxsw_sp_neigh_rif_gone_sync()
2990 struct mlxsw_sp_rif *rif; member
3009 struct mlxsw_sp_rif *rif) in mlxsw_sp_neigh_rif_made_sync()
3635 struct mlxsw_sp_rif *rif = mlxsw_sp_nexthop_rif(nh); in __mlxsw_sp_nexthop_eth_update() local
4575 struct mlxsw_sp_rif *rif) in mlxsw_sp_nexthop_rif_update()
4600 struct mlxsw_sp_rif *rif) in mlxsw_sp_nexthop_rif_made_sync()
4629 struct mlxsw_sp_rif *rif) in mlxsw_sp_nexthop_rif_gone_sync()
5999 struct mlxsw_sp_rif *rif = mlxsw_sp_nhgi_rif(fib_entry->nh_group->nhgi); in mlxsw_sp_fib_entry_op_local() local
7441 struct mlxsw_sp_rif *rif; in mlxsw_sp_router_fibmr_vif_add() local
7944 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_exists() local
7955 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_vid() local
7976 static int mlxsw_sp_router_rif_disable(struct mlxsw_sp *mlxsw_sp, u16 rif) in mlxsw_sp_router_rif_disable()
7991 struct mlxsw_sp_rif *rif) in mlxsw_sp_router_rif_made_sync()
8011 struct mlxsw_sp_rif *rif) in mlxsw_sp_router_rif_gone_sync()
8049 mlxsw_sp_rif_should_config(struct mlxsw_sp_rif *rif, struct net_device *dev, in mlxsw_sp_rif_should_config()
8128 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_alloc() local
8149 static void mlxsw_sp_rif_free(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_free()
8164 u16 mlxsw_sp_rif_index(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_index()
8193 mlxsw_sp_router_port_l3_stats_enabled(struct mlxsw_sp_rif *rif) in mlxsw_sp_router_port_l3_stats_enabled()
8202 mlxsw_sp_router_port_l3_stats_enable(struct mlxsw_sp_rif *rif) in mlxsw_sp_router_port_l3_stats_enable()
8239 mlxsw_sp_router_port_l3_stats_disable(struct mlxsw_sp_rif *rif) in mlxsw_sp_router_port_l3_stats_disable()
8246 mlxsw_sp_router_port_l3_stats_report_used(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_l3_stats_report_used()
8255 mlxsw_sp_router_port_l3_stats_fetch(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_l3_stats_fetch()
8296 mlxsw_sp_router_port_l3_stats_report_delta(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_l3_stats_report_delta()
8353 int mlxsw_sp_rif_dev_ifindex(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_dev_ifindex()
8358 bool mlxsw_sp_rif_has_dev(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_has_dev()
8363 bool mlxsw_sp_rif_dev_is(const struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_dev_is()
8369 static void mlxsw_sp_rif_push_l3_stats(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_push_l3_stats()
8390 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_create() local
8488 static void mlxsw_sp_rif_destroy(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_destroy()
8532 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_destroy_by_dev() local
8662 mlxsw_sp_rif_subport_rif(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_subport_rif()
8673 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_subport_get() local
8684 static void mlxsw_sp_rif_subport_put(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_subport_put()
8843 static bool mlxsw_sp_rif_mac_profile_is_shared(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_mac_profile_is_shared()
8856 static int mlxsw_sp_rif_mac_profile_edit(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_mac_profile_edit()
8873 struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_mac_profile_replace()
8903 struct mlxsw_sp_rif *rif; in __mlxsw_sp_port_vlan_router_join() local
8951 struct mlxsw_sp_rif *rif = mlxsw_sp_fid_rif(fid); in __mlxsw_sp_port_vlan_router_leave() local
9070 struct mlxsw_sp_rif *rif; in mlxsw_sp_inetaddr_bridge_event() local
9188 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_macvlan_add() local
9223 struct mlxsw_sp_rif *rif; in __mlxsw_sp_rif_macvlan_del() local
9291 struct mlxsw_sp_rif *rif; in mlxsw_sp_inetaddr_event() local
9317 struct mlxsw_sp_rif *rif; in mlxsw_sp_inetaddr_valid_event() local
9351 struct mlxsw_sp_rif *rif; in mlxsw_sp_inet6addr_event_work() local
9402 struct mlxsw_sp_rif *rif; in mlxsw_sp_inet6addr_valid_event() local
9441 struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_change_event()
9501 static int mlxsw_sp_router_port_pre_changeaddr_event(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_pre_changeaddr_event()
9640 mlxsw_sp_router_port_offload_xstats_cmd(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_offload_xstats_cmd()
9674 struct mlxsw_sp_rif *rif; in mlxsw_sp_netdevice_offload_xstats_cmd() local
9700 struct mlxsw_sp_rif *rif; in mlxsw_sp_netdevice_router_port_event() local
9728 struct mlxsw_sp_rif *rif; in mlxsw_sp_port_vrf_join() local
9745 struct mlxsw_sp_rif *rif; in mlxsw_sp_port_vrf_leave() local
10083 static int mlxsw_sp_macvlan_replay(struct mlxsw_sp_rif *rif, in mlxsw_sp_macvlan_replay()
10102 struct mlxsw_sp_rif *rif = (struct mlxsw_sp_rif *)priv->data; in __mlxsw_sp_rif_macvlan_flush() local
10111 static int mlxsw_sp_rif_macvlan_flush(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_macvlan_flush()
10125 static void mlxsw_sp_rif_subport_setup(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_subport_setup()
10140 static int mlxsw_sp_rif_subport_op(struct mlxsw_sp_rif *rif, bool enable) in mlxsw_sp_rif_subport_op()
10161 static int mlxsw_sp_rif_subport_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_subport_configure()
10205 static void mlxsw_sp_rif_subport_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_subport_deconfigure()
10219 mlxsw_sp_rif_subport_fid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_subport_fid_get()
10235 static int mlxsw_sp_rif_fid_op(struct mlxsw_sp_rif *rif, u16 fid, bool enable) in mlxsw_sp_rif_fid_op()
10256 static int mlxsw_sp_rif_fid_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_fid_configure()
10318 static void mlxsw_sp_rif_fid_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_fid_deconfigure()
10338 mlxsw_sp_rif_fid_fid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_fid_fid_get()
10347 static void mlxsw_sp_rif_fid_fdb_del(struct mlxsw_sp_rif *rif, const char *mac) in mlxsw_sp_rif_fid_fdb_del()
10372 mlxsw_sp_rif_vlan_fid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_vlan_fid_get()
10391 static void mlxsw_sp_rif_vlan_fdb_del(struct mlxsw_sp_rif *rif, const char *mac) in mlxsw_sp_rif_vlan_fdb_del()
10410 static int mlxsw_sp_rif_vlan_op(struct mlxsw_sp_rif *rif, u16 vid, u16 efid, in mlxsw_sp_rif_vlan_op()
10424 static int mlxsw_sp_rif_vlan_configure(struct mlxsw_sp_rif *rif, u16 efid, in mlxsw_sp_rif_vlan_configure()
10486 static void mlxsw_sp_rif_vlan_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_vlan_deconfigure()
10504 static int mlxsw_sp1_rif_vlan_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp1_rif_vlan_configure()
10519 static int mlxsw_sp2_rif_vlan_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp2_rif_vlan_configure()
10537 mlxsw_sp_rif_ipip_lb_rif(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_ipip_lb_rif()
10543 mlxsw_sp_rif_ipip_lb_setup(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_ipip_lb_setup()
10556 mlxsw_sp1_rif_ipip_lb_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp1_rif_ipip_lb_configure()
10584 static void mlxsw_sp1_rif_ipip_lb_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp1_rif_ipip_lb_deconfigure()
10759 mlxsw_sp2_rif_ipip_lb_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp2_rif_ipip_lb_configure()
10787 static void mlxsw_sp2_rif_ipip_lb_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp2_rif_ipip_lb_deconfigure()