Searched refs:ratr_pl (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_ipip.c | 132 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()
|
| D | spectrum_router.c | 3096 char ratr_pl[MLXSW_REG_RATR_LEN]; in __mlxsw_sp_nexthop_update() local 3098 mlxsw_reg_ratr_pack(ratr_pl, MLXSW_REG_RATR_OP_WRITE_WRITE_ENTRY, in __mlxsw_sp_nexthop_update() 3101 mlxsw_reg_ratr_eth_entry_pack(ratr_pl, neigh_entry->ha); in __mlxsw_sp_nexthop_update() 3103 mlxsw_reg_ratr_counter_pack(ratr_pl, nh->counter_index, true); in __mlxsw_sp_nexthop_update() 3105 mlxsw_reg_ratr_counter_pack(ratr_pl, 0, false); in __mlxsw_sp_nexthop_update() 3107 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl); in __mlxsw_sp_nexthop_update()
|