Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c3791 struct mlxsw_sp_fib4_entry *fib4_entry; in mlxsw_sp_fib4_entry_should_offload() local
3793 fib4_entry = container_of(fib_entry, struct mlxsw_sp_fib4_entry, in mlxsw_sp_fib4_entry_should_offload()
3795 return !fib4_entry->tos; in mlxsw_sp_fib4_entry_should_offload()
4167 struct mlxsw_sp_fib4_entry *fib4_entry; in mlxsw_sp_fib4_entry_create() local
4171 fib4_entry = kzalloc(sizeof(*fib4_entry), GFP_KERNEL); in mlxsw_sp_fib4_entry_create()
4172 if (!fib4_entry) in mlxsw_sp_fib4_entry_create()
4174 fib_entry = &fib4_entry->common; in mlxsw_sp_fib4_entry_create()
4184 fib4_entry->prio = fen_info->fi->fib_priority; in mlxsw_sp_fib4_entry_create()
4185 fib4_entry->tb_id = fen_info->tb_id; in mlxsw_sp_fib4_entry_create()
4186 fib4_entry->type = fen_info->type; in mlxsw_sp_fib4_entry_create()
[all …]