Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router_xm.c139 struct mlxsw_sp_router_xm_fib_entry *fib_entry = (void *) priv->priv; in mlxsw_sp_router_ll_xm_fib_entry_pack() local
166 fib_entry->mindex = mlxsw_sp_router_ll_xm_mindex_get4(*((u32 *) addr)); in mlxsw_sp_router_ll_xm_fib_entry_pack()
172 fib_entry->mindex = mlxsw_sp_router_ll_xm_mindex_get6(addr); in mlxsw_sp_router_ll_xm_fib_entry_pack()
183 op_ctx_xm->entries[op_ctx_xm->entries_count] = fib_entry; in mlxsw_sp_router_ll_xm_fib_entry_pack()
185 fib_entry->lvalue = prefix_len > mlxsw_sp_router_xm_m_val[proto] ? in mlxsw_sp_router_ll_xm_fib_entry_pack()
188 flush_info = &fib_entry->flush_info; in mlxsw_sp_router_ll_xm_fib_entry_pack()
514 struct mlxsw_sp_router_xm_fib_entry *fib_entry) in mlxsw_sp_router_xm_ml_entry_add() argument
518 u8 lvalue = fib_entry->lvalue; in mlxsw_sp_router_xm_ml_entry_add()
522 fib_entry->mindex); in mlxsw_sp_router_xm_ml_entry_add()
538 fib_entry->flush_info.prefix_len = MLXSW_SP_ROUTER_XM_M_VAL; in mlxsw_sp_router_xm_ml_entry_add()
[all …]
Dspectrum_router.c364 struct mlxsw_sp_fib_entry *fib_entry; member
1179 struct mlxsw_sp_fib_entry *fib_entry, in mlxsw_sp_fib_entry_decap_init() argument
1190 ipip_entry->decap_fib_entry = fib_entry; in mlxsw_sp_fib_entry_decap_init()
1191 fib_entry->decap.ipip_entry = ipip_entry; in mlxsw_sp_fib_entry_decap_init()
1192 fib_entry->decap.tunnel_index = tunnel_index; in mlxsw_sp_fib_entry_decap_init()
1197 struct mlxsw_sp_fib_entry *fib_entry) in mlxsw_sp_fib_entry_decap_fini() argument
1200 fib_entry->decap.ipip_entry->decap_fib_entry = NULL; in mlxsw_sp_fib_entry_decap_fini()
1201 fib_entry->decap.ipip_entry = NULL; in mlxsw_sp_fib_entry_decap_fini()
1203 1, fib_entry->decap.tunnel_index); in mlxsw_sp_fib_entry_decap_fini()
1210 struct mlxsw_sp_fib_entry *fib_entry);
[all …]