/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_nve_vxlan.c | 100 config->ul_tb_id = RT_TABLE_MAIN; in mlxsw_sp_nve_vxlan_config() 192 err = mlxsw_sp_router_tb_id_vr_id(mlxsw_sp, config->ul_tb_id, in mlxsw_sp1_nve_vxlan_config_set() 241 err = mlxsw_sp_router_nve_promote_decap(mlxsw_sp, config->ul_tb_id, in mlxsw_sp1_nve_vxlan_init() 263 mlxsw_sp_router_nve_demote_decap(mlxsw_sp, config->ul_tb_id, in mlxsw_sp1_nve_vxlan_fini() 315 err = mlxsw_sp_router_ul_rif_get(mlxsw_sp, config->ul_tb_id, in mlxsw_sp2_nve_vxlan_config_set() 382 err = mlxsw_sp_router_nve_promote_decap(mlxsw_sp, config->ul_tb_id, in mlxsw_sp2_nve_vxlan_init() 404 mlxsw_sp_router_nve_demote_decap(mlxsw_sp, config->ul_tb_id, in mlxsw_sp2_nve_vxlan_fini()
|
H A D | spectrum_router.h | 11 u32 ul_tb_id; member 122 u32 ul_tb_id,
|
H A D | spectrum_nve.h | 18 u32 ul_tb_id; member
|
H A D | spectrum_ipip.c | 288 u16 ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(ipip_entry->ol_dev); in mlxsw_sp_ipip_ol_netdev_change_gre4() local 295 new_saddr, ul_tb_id, in mlxsw_sp_ipip_ol_netdev_change_gre4()
|
H A D | spectrum_router.c | 1065 u32 ul_tb_id, in mlxsw_sp_ipip_entry_saddr_matches() 1076 return tun_ul_tb_id == ul_tb_id && in mlxsw_sp_ipip_entry_saddr_matches() 1194 u32 ul_tb_id; in mlxsw_sp_ipip_entry_find_decap() local 1199 ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(ipip_entry->ol_dev); in mlxsw_sp_ipip_entry_find_decap() 1200 ul_vr = mlxsw_sp_vr_find(mlxsw_sp, ul_tb_id); in mlxsw_sp_ipip_entry_find_decap() 1261 u32 ul_tb_id = l3mdev_fib_table(ul_dev) ? : RT_TABLE_MAIN; in mlxsw_sp_ipip_entry_matches_decap() local 1268 ul_tb_id, ipip_entry); in mlxsw_sp_ipip_entry_matches_decap() 1387 u32 ul_tb_id; in mlxsw_sp_netdevice_ipip_ol_reg_event() local 1391 ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(ol_dev); in mlxsw_sp_netdevice_ipip_ol_reg_event() 1395 saddr, ul_tb_id, in mlxsw_sp_netdevice_ipip_ol_reg_event() 1062 mlxsw_sp_ipip_entry_saddr_matches(struct mlxsw_sp *mlxsw_sp, const enum mlxsw_sp_l3proto ul_proto, union mlxsw_sp_l3addr saddr, u32 ul_tb_id, struct mlxsw_sp_ipip_entry *ipip_entry) mlxsw_sp_ipip_entry_saddr_matches() argument 1605 u32 ul_tb_id = l3mdev_fib_table(ul_dev) ? : RT_TABLE_MAIN; mlxsw_sp_netdevice_ipip_ul_vrf_event() local 1693 mlxsw_sp_ipip_demote_tunnel_by_saddr(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_l3proto ul_proto, union mlxsw_sp_l3addr saddr, u32 ul_tb_id, const struct mlxsw_sp_ipip_entry *except) mlxsw_sp_ipip_demote_tunnel_by_saddr() argument 1854 mlxsw_sp_router_nve_promote_decap(struct mlxsw_sp *mlxsw_sp, u32 ul_tb_id, enum mlxsw_sp_l3proto ul_proto, const union mlxsw_sp_l3addr *ul_sip, u32 tunnel_index) mlxsw_sp_router_nve_promote_decap() argument 1903 mlxsw_sp_router_nve_demote_decap(struct mlxsw_sp *mlxsw_sp, u32 ul_tb_id, enum mlxsw_sp_l3proto ul_proto, const union mlxsw_sp_l3addr *ul_sip) mlxsw_sp_router_nve_demote_decap() argument 1930 mlxsw_sp_router_nve_is_decap(struct mlxsw_sp *mlxsw_sp, u32 ul_tb_id, enum mlxsw_sp_l3proto ul_proto, const union mlxsw_sp_l3addr *ul_sip) mlxsw_sp_router_nve_is_decap() argument 6482 u32 ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(lb_rif->common.dev); mlxsw_sp_ipip_lb_ul_vr_id() local 7646 u32 ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(rif->dev); mlxsw_sp1_rif_ipip_lb_configure() local 7797 mlxsw_sp_router_ul_rif_get(struct mlxsw_sp *mlxsw_sp, u32 ul_tb_id, u16 *ul_rif_index) mlxsw_sp_router_ul_rif_get() argument 7833 u32 ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(rif->dev); mlxsw_sp2_rif_ipip_lb_configure() local [all...] |
H A D | spectrum.h | 676 int mlxsw_sp_router_nve_promote_decap(struct mlxsw_sp *mlxsw_sp, u32 ul_tb_id, 680 void mlxsw_sp_router_nve_demote_decap(struct mlxsw_sp *mlxsw_sp, u32 ul_tb_id, 685 int mlxsw_sp_router_ul_rif_get(struct mlxsw_sp *mlxsw_sp, u32 ul_tb_id,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_nve_vxlan.c | 158 config->ul_tb_id = RT_TABLE_MAIN; in mlxsw_sp_nve_vxlan_config() 201 err = mlxsw_sp_router_tb_id_vr_id(mlxsw_sp, config->ul_tb_id, in mlxsw_sp1_nve_vxlan_config_set() 254 err = mlxsw_sp_router_nve_promote_decap(mlxsw_sp, config->ul_tb_id, in mlxsw_sp1_nve_vxlan_init() 278 mlxsw_sp_router_nve_demote_decap(mlxsw_sp, config->ul_tb_id, in mlxsw_sp1_nve_vxlan_fini() 344 err = mlxsw_sp_router_ul_rif_get(mlxsw_sp, config->ul_tb_id, in mlxsw_sp2_nve_vxlan_config_set() 436 err = mlxsw_sp_router_nve_promote_decap(mlxsw_sp, config->ul_tb_id, in mlxsw_sp2_nve_vxlan_init() 460 mlxsw_sp_router_nve_demote_decap(mlxsw_sp, config->ul_tb_id, in mlxsw_sp2_nve_vxlan_fini()
|
H A D | spectrum_router.h | 11 u32 ul_tb_id; member 141 u32 ul_tb_id,
|
H A D | spectrum_nve.h | 18 u32 ul_tb_id; member
|
H A D | spectrum_ipip.c | 283 u16 ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(ipip_entry->ol_dev); in mlxsw_sp_ipip_ol_netdev_change_gre() local 291 ul_tb_id, in mlxsw_sp_ipip_ol_netdev_change_gre()
|
H A D | spectrum_router.c | 1224 u32 ul_tb_id, in mlxsw_sp_ipip_entry_saddr_matches() 1235 return tun_ul_tb_id == ul_tb_id && in mlxsw_sp_ipip_entry_saddr_matches() 1397 u32 ul_tb_id; in mlxsw_sp_ipip_entry_find_decap() local 1402 ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(ipip_entry->ol_dev); in mlxsw_sp_ipip_entry_find_decap() 1403 ul_vr = mlxsw_sp_vr_find(mlxsw_sp, ul_tb_id); in mlxsw_sp_ipip_entry_find_decap() 1469 u32 ul_tb_id = l3mdev_fib_table(ul_dev) ? : RT_TABLE_MAIN; in mlxsw_sp_ipip_entry_matches_decap() local 1476 ul_tb_id, ipip_entry); in mlxsw_sp_ipip_entry_matches_decap() 1597 u32 ul_tb_id; in mlxsw_sp_netdevice_ipip_ol_reg_event() local 1601 ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(ol_dev); in mlxsw_sp_netdevice_ipip_ol_reg_event() 1605 saddr, ul_tb_id, in mlxsw_sp_netdevice_ipip_ol_reg_event() 1221 mlxsw_sp_ipip_entry_saddr_matches(struct mlxsw_sp *mlxsw_sp, const enum mlxsw_sp_l3proto ul_proto, union mlxsw_sp_l3addr saddr, u32 ul_tb_id, struct mlxsw_sp_ipip_entry *ipip_entry) mlxsw_sp_ipip_entry_saddr_matches() argument 1840 u32 ul_tb_id = l3mdev_fib_table(ul_dev) ? : RT_TABLE_MAIN; mlxsw_sp_netdevice_ipip_ul_vrf_event() local 1928 mlxsw_sp_ipip_demote_tunnel_by_saddr(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_l3proto ul_proto, union mlxsw_sp_l3addr saddr, u32 ul_tb_id, const struct mlxsw_sp_ipip_entry *except) mlxsw_sp_ipip_demote_tunnel_by_saddr() argument 2085 mlxsw_sp_router_nve_promote_decap(struct mlxsw_sp *mlxsw_sp, u32 ul_tb_id, enum mlxsw_sp_l3proto ul_proto, const union mlxsw_sp_l3addr *ul_sip, u32 tunnel_index) mlxsw_sp_router_nve_promote_decap() argument 2134 mlxsw_sp_router_nve_demote_decap(struct mlxsw_sp *mlxsw_sp, u32 ul_tb_id, enum mlxsw_sp_l3proto ul_proto, const union mlxsw_sp_l3addr *ul_sip) mlxsw_sp_router_nve_demote_decap() argument 2161 mlxsw_sp_router_nve_is_decap(struct mlxsw_sp *mlxsw_sp, u32 ul_tb_id, enum mlxsw_sp_l3proto ul_proto, const union mlxsw_sp_l3addr *ul_sip) mlxsw_sp_router_nve_is_decap() argument 8173 u32 ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(dev); mlxsw_sp_ipip_lb_ul_vr_id() local 10557 u32 ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(dev); mlxsw_sp1_rif_ipip_lb_configure() local 10722 mlxsw_sp_router_ul_rif_get(struct mlxsw_sp *mlxsw_sp, u32 ul_tb_id, u16 *ul_rif_index) mlxsw_sp_router_ul_rif_get() argument 10760 u32 ul_tb_id = mlxsw_sp_ipip_dev_ul_tb_id(dev); mlxsw_sp2_rif_ipip_lb_configure() local [all...] |
H A D | spectrum.h | 768 int mlxsw_sp_router_nve_promote_decap(struct mlxsw_sp *mlxsw_sp, u32 ul_tb_id, 772 void mlxsw_sp_router_nve_demote_decap(struct mlxsw_sp *mlxsw_sp, u32 ul_tb_id, 777 int mlxsw_sp_router_ul_rif_get(struct mlxsw_sp *mlxsw_sp, u32 ul_tb_id,
|