Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A Drtnetlink.h421 #define RTNH_F_OFFLOAD 8 /* Nexthop is offloaded */ macro
427 RTNH_F_OFFLOAD | RTNH_F_TRAP)
/openbmc/linux/net/ipv4/
H A Dipmr_base.c233 rtm->rtm_flags |= RTNH_F_OFFLOAD; in mr_fill_mroute()
H A Dnexthop.c1563 bucket->nh_flags &= ~(RTNH_F_OFFLOAD | RTNH_F_TRAP); in nh_res_bucket_migrate()
2146 new->nh_flags |= old->nh_flags & (RTNH_F_OFFLOAD | RTNH_F_TRAP); in replace_nexthop_single()
3661 nexthop->nh_flags &= ~(RTNH_F_OFFLOAD | RTNH_F_TRAP); in nexthop_set_hw_flags()
3663 nexthop->nh_flags |= RTNH_F_OFFLOAD; in nexthop_set_hw_flags()
3695 bucket->nh_flags &= ~(RTNH_F_OFFLOAD | RTNH_F_TRAP); in nexthop_bucket_set_hw_flags()
3697 bucket->nh_flags |= RTNH_F_OFFLOAD; in nexthop_bucket_set_hw_flags()
H A Dfib_semantics.c1687 (RTNH_F_ONLINK | RTNH_F_OFFLOAD | RTNH_F_TRAP)); in fib_nexthop_info()
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router.c307 nhc->nhc_flags |= RTNH_F_OFFLOAD; in prestera_util_kern_set_nh_offload()
309 nhc->nhc_flags &= ~RTNH_F_OFFLOAD; in prestera_util_kern_set_nh_offload()
/openbmc/linux/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c2740 nh->fib_nh_flags |= RTNH_F_OFFLOAD; in ofdpa_fib4_add()
2757 nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in ofdpa_fib4_del()
2786 nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in ofdpa_fib4_abort()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c3933 nh->key.fib_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in mlxsw_sp_nexthop4_group_offload_refresh()
3935 nh->key.fib_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_nexthop4_group_offload_refresh()
3951 fib6_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in __mlxsw_sp_nexthop6_group_offload_refresh()
3953 fib6_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in __mlxsw_sp_nexthop6_group_offload_refresh()
6689 fib6_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_rt6_destroy()