Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
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()
Dspectrum_router.c3172 char ratr_pl[MLXSW_REG_RATR_LEN]; in __mlxsw_sp_nexthop_update() local
3174 mlxsw_reg_ratr_pack(ratr_pl, MLXSW_REG_RATR_OP_WRITE_WRITE_ENTRY, in __mlxsw_sp_nexthop_update()
3177 mlxsw_reg_ratr_eth_entry_pack(ratr_pl, neigh_entry->ha); in __mlxsw_sp_nexthop_update()
3179 mlxsw_reg_ratr_counter_pack(ratr_pl, nh->counter_index, true); in __mlxsw_sp_nexthop_update()
3181 mlxsw_reg_ratr_counter_pack(ratr_pl, 0, false); in __mlxsw_sp_nexthop_update()
3183 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl); in __mlxsw_sp_nexthop_update()
4310 char ratr_pl[MLXSW_REG_RATR_LEN]; in mlxsw_sp_adj_discard_write() local
4322 mlxsw_reg_ratr_pack(ratr_pl, MLXSW_REG_RATR_OP_WRITE_WRITE_ENTRY, true, in mlxsw_sp_adj_discard_write()
4325 mlxsw_reg_ratr_trap_action_set(ratr_pl, trap_action); in mlxsw_sp_adj_discard_write()
4326 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl); in mlxsw_sp_adj_discard_write()