Home
last modified time | relevance | path

Searched refs:ratr_pl (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c168 bool force, char *ratr_pl) in mlxsw_sp_ipip_nexthop_update_gre4()
176 mlxsw_reg_ratr_pack(ratr_pl, op, true, MLXSW_REG_RATR_TYPE_IPIP, in mlxsw_sp_ipip_nexthop_update_gre4()
178 mlxsw_reg_ratr_ipip4_entry_pack(ratr_pl, be32_to_cpu(daddr4)); in mlxsw_sp_ipip_nexthop_update_gre4()
180 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl); in mlxsw_sp_ipip_nexthop_update_gre4()
383 bool force, char *ratr_pl) in mlxsw_sp_ipip_nexthop_update_gre6()
390 mlxsw_reg_ratr_pack(ratr_pl, op, true, MLXSW_REG_RATR_TYPE_IPIP, in mlxsw_sp_ipip_nexthop_update_gre6()
392 mlxsw_reg_ratr_ipip6_entry_pack(ratr_pl, in mlxsw_sp_ipip_nexthop_update_gre6()
395 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl); in mlxsw_sp_ipip_nexthop_update_gre6()
166 mlxsw_sp_ipip_nexthop_update_gre4(struct mlxsw_sp *mlxsw_sp, u32 adj_index, struct mlxsw_sp_ipip_entry *ipip_entry, bool force, char *ratr_pl) mlxsw_sp_ipip_nexthop_update_gre4() argument
381 mlxsw_sp_ipip_nexthop_update_gre6(struct mlxsw_sp *mlxsw_sp, u32 adj_index, struct mlxsw_sp_ipip_entry *ipip_entry, bool force, char *ratr_pl) mlxsw_sp_ipip_nexthop_update_gre6() argument
H A Dspectrum_ipip.h59 bool force, char *ratr_pl);
H A Dspectrum_router.c3628 bool force, char *ratr_pl) in __mlxsw_sp_nexthop_eth_update()
3639 mlxsw_reg_ratr_pack(ratr_pl, op, true, MLXSW_REG_RATR_TYPE_ETHERNET, in __mlxsw_sp_nexthop_eth_update()
3643 mlxsw_reg_ratr_eth_entry_pack(ratr_pl, neigh_entry->ha); in __mlxsw_sp_nexthop_eth_update()
3646 mlxsw_reg_ratr_trap_action_set(ratr_pl, in __mlxsw_sp_nexthop_eth_update()
3650 mlxsw_reg_ratr_trap_action_set(ratr_pl, in __mlxsw_sp_nexthop_eth_update()
3652 mlxsw_reg_ratr_trap_id_set(ratr_pl, MLXSW_TRAP_ID_RTR_EGRESS0); in __mlxsw_sp_nexthop_eth_update()
3659 mlxsw_reg_ratr_counter_pack(ratr_pl, nh->counter_index, true); in __mlxsw_sp_nexthop_eth_update()
3661 mlxsw_reg_ratr_counter_pack(ratr_pl, 0, false); in __mlxsw_sp_nexthop_eth_update()
3663 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl); in __mlxsw_sp_nexthop_eth_update()
3668 char *ratr_pl) in mlxsw_sp_nexthop_eth_update()
3625 __mlxsw_sp_nexthop_eth_update(struct mlxsw_sp *mlxsw_sp, u32 adj_index, struct mlxsw_sp_nexthop *nh, bool force, char *ratr_pl) __mlxsw_sp_nexthop_eth_update() argument
3666 mlxsw_sp_nexthop_eth_update(struct mlxsw_sp *mlxsw_sp, u32 adj_index, struct mlxsw_sp_nexthop *nh, bool force, char *ratr_pl) mlxsw_sp_nexthop_eth_update() argument
3684 __mlxsw_sp_nexthop_ipip_update(struct mlxsw_sp *mlxsw_sp, u32 adj_index, struct mlxsw_sp_nexthop *nh, bool force, char *ratr_pl) __mlxsw_sp_nexthop_ipip_update() argument
3696 mlxsw_sp_nexthop_ipip_update(struct mlxsw_sp *mlxsw_sp, u32 adj_index, struct mlxsw_sp_nexthop *nh, bool force, char *ratr_pl) mlxsw_sp_nexthop_ipip_update() argument
3715 mlxsw_sp_nexthop_update(struct mlxsw_sp *mlxsw_sp, u32 adj_index, struct mlxsw_sp_nexthop *nh, bool force, char *ratr_pl) mlxsw_sp_nexthop_update() argument
3737 char ratr_pl[MLXSW_REG_RATR_LEN]; mlxsw_sp_nexthop_group_update() local
4639 char ratr_pl[MLXSW_REG_RATR_LEN]; mlxsw_sp_adj_trap_entry_init() local
5348 mlxsw_sp_nexthop_obj_bucket_query(struct mlxsw_sp *mlxsw_sp, u32 adj_index, char *ratr_pl) mlxsw_sp_nexthop_obj_bucket_query() argument
5359 mlxsw_sp_nexthop_obj_bucket_compare(char *ratr_pl, char *ratr_pl_new) mlxsw_sp_nexthop_obj_bucket_compare() argument
5387 char ratr_pl[MLXSW_REG_RATR_LEN]; mlxsw_sp_nexthop_obj_bucket_adj_update() local
[all...]
H A Dspectrum_router.h158 char *ratr_pl);
H A Dspectrum_dpipe.c1181 char ratr_pl[MLXSW_REG_RATR_LEN]; in mlxsw_sp_dpipe_table_adj_counters_update() local
1201 true, ratr_pl); in mlxsw_sp_dpipe_table_adj_counters_update()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c134 char ratr_pl[MLXSW_REG_RATR_LEN]; in mlxsw_sp_ipip_nexthop_update_gre4() local
136 mlxsw_reg_ratr_pack(ratr_pl, MLXSW_REG_RATR_OP_WRITE_WRITE_ENTRY, in mlxsw_sp_ipip_nexthop_update_gre4()
139 mlxsw_reg_ratr_ipip4_entry_pack(ratr_pl, be32_to_cpu(daddr4)); in mlxsw_sp_ipip_nexthop_update_gre4()
141 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl); in mlxsw_sp_ipip_nexthop_update_gre4()
H A Dspectrum_router.c3175 char ratr_pl[MLXSW_REG_RATR_LEN]; in __mlxsw_sp_nexthop_update() local
3177 mlxsw_reg_ratr_pack(ratr_pl, MLXSW_REG_RATR_OP_WRITE_WRITE_ENTRY, in __mlxsw_sp_nexthop_update()
3180 mlxsw_reg_ratr_eth_entry_pack(ratr_pl, neigh_entry->ha); in __mlxsw_sp_nexthop_update()
3182 mlxsw_reg_ratr_counter_pack(ratr_pl, nh->counter_index, true); in __mlxsw_sp_nexthop_update()
3184 mlxsw_reg_ratr_counter_pack(ratr_pl, 0, false); in __mlxsw_sp_nexthop_update()
3186 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl); in __mlxsw_sp_nexthop_update()
4313 char ratr_pl[MLXSW_REG_RATR_LEN]; in mlxsw_sp_adj_discard_write() local
4325 mlxsw_reg_ratr_pack(ratr_pl, MLXSW_REG_RATR_OP_WRITE_WRITE_ENTRY, true, in mlxsw_sp_adj_discard_write()
4328 mlxsw_reg_ratr_trap_action_set(ratr_pl, trap_action); in mlxsw_sp_adj_discard_write()
4329 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl); in mlxsw_sp_adj_discard_write()
[all...]

Completed in 41 milliseconds