Home
last modified time | relevance | path

Searched refs:l3mdev_fib_table (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/net/l3mdev/
H A Dl3mdev.c170 if (dev->l3mdev_ops->l3mdev_fib_table) in l3mdev_fib_table_rcu()
171 tb_id = dev->l3mdev_ops->l3mdev_fib_table(dev); in l3mdev_fib_table_rcu()
181 master->l3mdev_ops->l3mdev_fib_table) in l3mdev_fib_table_rcu()
182 tb_id = master->l3mdev_ops->l3mdev_fib_table(master); in l3mdev_fib_table_rcu()
261 dev->l3mdev_ops->l3mdev_fib_table) { in l3mdev_fib_rule_match()
262 arg->table = dev->l3mdev_ops->l3mdev_fib_table(dev); in l3mdev_fib_rule_match()
/openbmc/linux/include/net/
H A Dl3mdev.h36 u32 (*l3mdev_fib_table)(const struct net_device *dev); member
132 static inline u32 l3mdev_fib_table(const struct net_device *dev) in l3mdev_fib_table() function
258 static inline u32 l3mdev_fib_table(const struct net_device *dev) in l3mdev_fib_table() function
/openbmc/linux/net/ipv4/
H A Dfib_frontend.c252 u32 rt_table = l3mdev_fib_table(dev) ? : RT_TABLE_LOCAL; in inet_dev_addr_type()
265 u32 rt_table = l3mdev_fib_table(dev) ? : RT_TABLE_LOCAL; in inet_addr_type_dev_table()
543 cfg->fc_table = l3mdev_fib_table(dev); in rtentry_to_fib_config()
1073 u32 tb_id = l3mdev_fib_table(ifa->ifa_dev->dev); in fib_magic()
H A Dnexthop.c2544 u32 tb_id = (cfg->dev ? l3mdev_fib_table(cfg->dev) : RT_TABLE_MAIN); in nh_create_ipv4()
2575 .fc_table = l3mdev_fib_table(cfg->dev), in nh_create_ipv6()
H A Dfib_semantics.c1877 int tb_id = l3mdev_fib_table(dev) ? : RT_TABLE_MAIN; in fib_sync_down_addr()
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router.c744 fc_key.kern_tb_id = l3mdev_fib_table(n_cache->key.dev); in __prestera_k_arb_n_lpm_set()
777 if (prestera_util_kern_n_is_reachable(l3mdev_fib_table(nc->key.dev), in __prestera_k_arb_nc_kern_fib_fetch()
1283 kern_tb_id = l3mdev_fib_table(port_dev); in __prestera_inetaddr_port_event()
/openbmc/linux/net/ipv6/
H A Droute.c4258 u32 tb_id = l3mdev_fib_table(dev) ? : RT6_TABLE_INFO; in rt6_get_route_info()
4312 cfg.fc_table = l3mdev_fib_table(dev) ? : RT6_TABLE_INFO; in rt6_add_route_info()
4330 u32 tb_id = l3mdev_fib_table(dev) ? : RT6_TABLE_DFLT; in rt6_get_dflt_router()
4365 .fc_table = l3mdev_fib_table(dev) ? : RT6_TABLE_DFLT, in rt6_add_dflt_router()
4560 .fc_table = l3mdev_fib_table(idev->dev) ? : RT6_TABLE_LOCAL, in addrconf_f6i_alloc()
H A Daddrconf.c2429 .fc_table = l3mdev_fib_table(dev) ? : RT6_TABLE_PREFIX, in addrconf_prefix_route()
2464 u32 tb_id = l3mdev_fib_table(dev) ? : RT6_TABLE_PREFIX; in addrconf_get_prefix_route()
2503 .fc_table = l3mdev_fib_table(dev) ? : RT6_TABLE_LOCAL, in addrconf_add_mroute()
/openbmc/linux/drivers/net/
H A Dvrf.c1513 .l3mdev_fib_table = vrf_fib_table,
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c1077 tb_id = l3mdev_fib_table(d) ? : RT_TABLE_MAIN; in mlxsw_sp_ipip_dev_ul_tb_id()
1470 u32 ul_tb_id = l3mdev_fib_table(ul_dev) ? : RT_TABLE_MAIN; in mlxsw_sp_ipip_entry_matches_decap()
1841 u32 ul_tb_id = l3mdev_fib_table(ul_dev) ? : RT_TABLE_MAIN; in mlxsw_sp_netdevice_ipip_ul_vrf_event()
8382 u32 tb_id = l3mdev_fib_table(params->dev); in mlxsw_sp_rif_create()