Lines Matching defs:rif

64 	struct mlxsw_sp_rif *rif;  member
93 static struct net_device *mlxsw_sp_rif_dev(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_dev()
174 mlxsw_sp_rif_p_counter_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_p_counter_get()
187 mlxsw_sp_rif_counter_valid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_valid_get()
200 mlxsw_sp_rif_counter_valid_set(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_valid_set()
235 struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_value_get()
273 mlxsw_sp_rif_counter_fetch_clear(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_fetch_clear()
327 int mlxsw_sp_rif_counter_alloc(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_alloc()
364 void mlxsw_sp_rif_counter_free(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_counter_free()
383 static void mlxsw_sp_rif_counters_alloc(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_counters_alloc()
395 static void mlxsw_sp_rif_counters_free(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_counters_free()
1154 struct mlxsw_sp_rif *rif; in mlxsw_sp_ipip_ol_ipip_lb_create() local
1648 struct mlxsw_sp_rif *rif = &lb_rif->common; in mlxsw_sp_rif_ipip_lb_op() local
2185 u16 rif; member
2203 mlxsw_sp_rif_neigh_next(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_neigh_next()
2260 u16 rif) in mlxsw_sp_neigh_entry_alloc()
2349 struct mlxsw_sp_rif *rif; in mlxsw_sp_neigh_entry_create() local
2420 u16 rif; in mlxsw_sp_router_neigh_ent_ipv4_process() local
2450 u16 rif; in mlxsw_sp_router_neigh_ent_ipv6_process() local
2978 struct mlxsw_sp_rif *rif) in mlxsw_sp_neigh_rif_gone_sync()
2991 struct mlxsw_sp_rif *rif; member
3010 struct mlxsw_sp_rif *rif) in mlxsw_sp_neigh_rif_made_sync()
3743 struct mlxsw_sp_rif *rif = mlxsw_sp_nexthop_rif(nh); in __mlxsw_sp_nexthop_eth_update() local
4693 struct mlxsw_sp_rif *rif) in mlxsw_sp_nexthop_rif_update()
4718 struct mlxsw_sp_rif *rif) in mlxsw_sp_nexthop_rif_made_sync()
4747 struct mlxsw_sp_rif *rif) in mlxsw_sp_nexthop_rif_gone_sync()
6242 struct mlxsw_sp_rif *rif = mlxsw_sp_nhgi_rif(fib_entry->nh_group->nhgi); in mlxsw_sp_fib_entry_op_local() local
7687 struct mlxsw_sp_rif *rif; in mlxsw_sp_router_fibmr_vif_add() local
8190 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_exists() local
8201 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_vid() local
8222 static int mlxsw_sp_router_rif_disable(struct mlxsw_sp *mlxsw_sp, u16 rif) in mlxsw_sp_router_rif_disable()
8237 struct mlxsw_sp_rif *rif) in mlxsw_sp_router_rif_made_sync()
8257 struct mlxsw_sp_rif *rif) in mlxsw_sp_router_rif_gone_sync()
8295 mlxsw_sp_rif_should_config(struct mlxsw_sp_rif *rif, struct net_device *dev, in mlxsw_sp_rif_should_config()
8374 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_alloc() local
8395 static void mlxsw_sp_rif_free(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_free()
8410 u16 mlxsw_sp_rif_index(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_index()
8439 mlxsw_sp_router_port_l3_stats_enabled(struct mlxsw_sp_rif *rif) in mlxsw_sp_router_port_l3_stats_enabled()
8448 mlxsw_sp_router_port_l3_stats_enable(struct mlxsw_sp_rif *rif) in mlxsw_sp_router_port_l3_stats_enable()
8485 mlxsw_sp_router_port_l3_stats_disable(struct mlxsw_sp_rif *rif) in mlxsw_sp_router_port_l3_stats_disable()
8492 mlxsw_sp_router_port_l3_stats_report_used(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_l3_stats_report_used()
8501 mlxsw_sp_router_port_l3_stats_fetch(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_l3_stats_fetch()
8542 mlxsw_sp_router_port_l3_stats_report_delta(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_l3_stats_report_delta()
8599 int mlxsw_sp_rif_dev_ifindex(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_dev_ifindex()
8604 bool mlxsw_sp_rif_has_dev(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_has_dev()
8609 bool mlxsw_sp_rif_dev_is(const struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_dev_is()
8615 static void mlxsw_sp_rif_push_l3_stats(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_push_l3_stats()
8636 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_create() local
8734 static void mlxsw_sp_rif_destroy(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_destroy()
8778 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_destroy_by_dev() local
8908 mlxsw_sp_rif_subport_rif(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_subport_rif()
8913 int mlxsw_sp_rif_subport_port(const struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_subport_port()
8933 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_subport_get() local
8944 static void mlxsw_sp_rif_subport_put(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_subport_put()
9103 static bool mlxsw_sp_rif_mac_profile_is_shared(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_mac_profile_is_shared()
9116 static int mlxsw_sp_rif_mac_profile_edit(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_mac_profile_edit()
9133 struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_mac_profile_replace()
9163 struct mlxsw_sp_rif *rif; in __mlxsw_sp_port_vlan_router_join() local
9211 struct mlxsw_sp_rif *rif = mlxsw_sp_fid_rif(fid); in __mlxsw_sp_port_vlan_router_leave() local
9330 struct mlxsw_sp_rif *rif; in mlxsw_sp_inetaddr_bridge_event() local
9448 struct mlxsw_sp_rif *rif; in mlxsw_sp_rif_macvlan_add() local
9483 struct mlxsw_sp_rif *rif; in __mlxsw_sp_rif_macvlan_del() local
9551 struct mlxsw_sp_rif *rif; in mlxsw_sp_inetaddr_event() local
9577 struct mlxsw_sp_rif *rif; in mlxsw_sp_inetaddr_valid_event() local
9611 struct mlxsw_sp_rif *rif; in mlxsw_sp_inet6addr_event_work() local
9662 struct mlxsw_sp_rif *rif; in mlxsw_sp_inet6addr_valid_event() local
9701 struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_change_event()
9761 static int mlxsw_sp_router_port_pre_changeaddr_event(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_pre_changeaddr_event()
9900 mlxsw_sp_router_port_offload_xstats_cmd(struct mlxsw_sp_rif *rif, in mlxsw_sp_router_port_offload_xstats_cmd()
9934 struct mlxsw_sp_rif *rif; in mlxsw_sp_netdevice_offload_xstats_cmd() local
9960 struct mlxsw_sp_rif *rif; in mlxsw_sp_netdevice_router_port_event() local
9988 struct mlxsw_sp_rif *rif; in mlxsw_sp_port_vrf_join() local
10005 struct mlxsw_sp_rif *rif; in mlxsw_sp_port_vrf_leave() local
10343 static int mlxsw_sp_macvlan_replay(struct mlxsw_sp_rif *rif, in mlxsw_sp_macvlan_replay()
10362 struct mlxsw_sp_rif *rif = (struct mlxsw_sp_rif *)priv->data; in __mlxsw_sp_rif_macvlan_flush() local
10371 static int mlxsw_sp_rif_macvlan_flush(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_macvlan_flush()
10385 static void mlxsw_sp_rif_subport_setup(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_subport_setup()
10400 static int mlxsw_sp_rif_subport_op(struct mlxsw_sp_rif *rif, bool enable) in mlxsw_sp_rif_subport_op()
10421 static int mlxsw_sp_rif_subport_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_subport_configure()
10465 static void mlxsw_sp_rif_subport_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_subport_deconfigure()
10479 mlxsw_sp_rif_subport_fid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_subport_fid_get()
10495 static int mlxsw_sp_rif_fid_op(struct mlxsw_sp_rif *rif, u16 fid, bool enable) in mlxsw_sp_rif_fid_op()
10516 static int mlxsw_sp_rif_fid_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_fid_configure()
10578 static void mlxsw_sp_rif_fid_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_fid_deconfigure()
10598 mlxsw_sp_rif_fid_fid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_fid_fid_get()
10607 static void mlxsw_sp_rif_fid_fdb_del(struct mlxsw_sp_rif *rif, const char *mac) in mlxsw_sp_rif_fid_fdb_del()
10632 mlxsw_sp_rif_vlan_fid_get(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_vlan_fid_get()
10651 static void mlxsw_sp_rif_vlan_fdb_del(struct mlxsw_sp_rif *rif, const char *mac) in mlxsw_sp_rif_vlan_fdb_del()
10670 static int mlxsw_sp_rif_vlan_op(struct mlxsw_sp_rif *rif, u16 vid, u16 efid, in mlxsw_sp_rif_vlan_op()
10684 static int mlxsw_sp_rif_vlan_configure(struct mlxsw_sp_rif *rif, u16 efid, in mlxsw_sp_rif_vlan_configure()
10746 static void mlxsw_sp_rif_vlan_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_vlan_deconfigure()
10764 static int mlxsw_sp1_rif_vlan_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp1_rif_vlan_configure()
10779 static int mlxsw_sp2_rif_vlan_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp2_rif_vlan_configure()
10797 mlxsw_sp_rif_ipip_lb_rif(struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_ipip_lb_rif()
10803 mlxsw_sp_rif_ipip_lb_setup(struct mlxsw_sp_rif *rif, in mlxsw_sp_rif_ipip_lb_setup()
10816 mlxsw_sp1_rif_ipip_lb_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp1_rif_ipip_lb_configure()
10844 static void mlxsw_sp1_rif_ipip_lb_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp1_rif_ipip_lb_deconfigure()
11019 mlxsw_sp2_rif_ipip_lb_configure(struct mlxsw_sp_rif *rif, in mlxsw_sp2_rif_ipip_lb_configure()
11047 static void mlxsw_sp2_rif_ipip_lb_deconfigure(struct mlxsw_sp_rif *rif) in mlxsw_sp2_rif_ipip_lb_deconfigure()