Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c132 char ratr_pl[MLXSW_REG_RATR_LEN]; in mlxsw_sp_ipip_nexthop_update_gre4() local
134 mlxsw_reg_ratr_pack(ratr_pl, MLXSW_REG_RATR_OP_WRITE_WRITE_ENTRY, in mlxsw_sp_ipip_nexthop_update_gre4()
137 mlxsw_reg_ratr_ipip4_entry_pack(ratr_pl, be32_to_cpu(daddr4)); in mlxsw_sp_ipip_nexthop_update_gre4()
139 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl); in mlxsw_sp_ipip_nexthop_update_gre4()
Dspectrum_router.c2982 char ratr_pl[MLXSW_REG_RATR_LEN]; in __mlxsw_sp_nexthop_update() local
2984 mlxsw_reg_ratr_pack(ratr_pl, MLXSW_REG_RATR_OP_WRITE_WRITE_ENTRY, in __mlxsw_sp_nexthop_update()
2987 mlxsw_reg_ratr_eth_entry_pack(ratr_pl, neigh_entry->ha); in __mlxsw_sp_nexthop_update()
2989 mlxsw_reg_ratr_counter_pack(ratr_pl, nh->counter_index, true); in __mlxsw_sp_nexthop_update()
2991 mlxsw_reg_ratr_counter_pack(ratr_pl, 0, false); in __mlxsw_sp_nexthop_update()
2993 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl); in __mlxsw_sp_nexthop_update()