Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c493 struct mlxsw_sp_fib *fib4; member
741 return !!vr->fib4 || !!vr->fib6 || in mlxsw_sp_vr_is_used()
828 return vr->fib4; in mlxsw_sp_vr_fib()
840 struct mlxsw_sp_fib *fib4; in mlxsw_sp_vr_create() local
850 fib4 = mlxsw_sp_fib_create(mlxsw_sp, vr, MLXSW_SP_L3_PROTO_IPV4); in mlxsw_sp_vr_create()
851 if (IS_ERR(fib4)) in mlxsw_sp_vr_create()
852 return ERR_CAST(fib4); in mlxsw_sp_vr_create()
871 vr->fib4 = fib4; in mlxsw_sp_vr_create()
883 mlxsw_sp_fib_destroy(mlxsw_sp, fib4); in mlxsw_sp_vr_create()
896 mlxsw_sp_fib_destroy(mlxsw_sp, vr->fib4); in mlxsw_sp_vr_destroy()
[all …]