Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c4987 struct nh_notifier_single_info *nh_obj, int weight) in mlxsw_sp_nexthop_obj_init() argument
4989 struct net_device *dev = nh_obj->dev; in mlxsw_sp_nexthop_obj_init()
4995 switch (nh_obj->gw_family) { in mlxsw_sp_nexthop_obj_init()
4997 memcpy(&nh->gw_addr, &nh_obj->ipv4, sizeof(nh_obj->ipv4)); in mlxsw_sp_nexthop_obj_init()
5001 memcpy(&nh->gw_addr, &nh_obj->ipv6, sizeof(nh_obj->ipv6)); in mlxsw_sp_nexthop_obj_init()
5016 if (nh_obj->is_reject) in mlxsw_sp_nexthop_obj_init()
5082 struct nh_notifier_single_info *nh_obj; in mlxsw_sp_nexthop_obj_group_info_init() local
5088 nh_obj = info->nh; in mlxsw_sp_nexthop_obj_group_info_init()
5092 nh_obj = &info->nh_grp->nh_entries[i].nh; in mlxsw_sp_nexthop_obj_group_info_init()
5096 nh_obj = &info->nh_res_table->nhs[i]; in mlxsw_sp_nexthop_obj_group_info_init()
[all …]