Home
last modified time | relevance | path

Searched refs:ipip_entry (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c171 struct mlxsw_sp_ipip_entry *ipip_entry, in mlxsw_sp_ipip_nexthop_update_gre4() argument
174 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_nexthop_update_gre4()
175 __be32 daddr4 = mlxsw_sp_ipip_netdev_daddr4(ipip_entry->ol_dev); in mlxsw_sp_ipip_nexthop_update_gre4()
189 struct mlxsw_sp_ipip_entry *ipip_entry, in mlxsw_sp_ipip_decap_config_gre4() argument
192 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_decap_config_gre4()
193 u16 ul_rif_id = mlxsw_sp_ipip_lb_ul_rif_id(ipip_entry->ol_lb); in mlxsw_sp_ipip_decap_config_gre4()
201 parms = mlxsw_sp_ipip_netdev_parms4(ipip_entry->ol_dev); in mlxsw_sp_ipip_decap_config_gre4()
218 daddr4 = be32_to_cpu(mlxsw_sp_ipip_netdev_daddr4(ipip_entry->ol_dev)); in mlxsw_sp_ipip_decap_config_gre4()
279 struct mlxsw_sp_ipip_entry *ipip_entry, in mlxsw_sp_ipip_ol_netdev_change_gre() argument
283 const struct mlxsw_sp_ipip_parms *old_parms = &ipip_entry->parms; in mlxsw_sp_ipip_ol_netdev_change_gre()
[all …]
Dspectrum_ipip.h58 struct mlxsw_sp_ipip_entry *ipip_entry,
70 struct mlxsw_sp_ipip_entry *ipip_entry,
74 struct mlxsw_sp_ipip_entry *ipip_entry,
77 struct mlxsw_sp_ipip_entry *ipip_entry);
79 const struct mlxsw_sp_ipip_entry *ipip_entry);
Dspectrum_router.c472 struct mlxsw_sp_ipip_entry *ipip_entry; member
1176 struct mlxsw_sp_ipip_entry *ipip_entry; in mlxsw_sp_ipip_entry_alloc() local
1181 ipip_entry = kzalloc(sizeof(*ipip_entry), GFP_KERNEL); in mlxsw_sp_ipip_entry_alloc()
1182 if (!ipip_entry) in mlxsw_sp_ipip_entry_alloc()
1185 ipip_entry->ol_lb = mlxsw_sp_ipip_ol_ipip_lb_create(mlxsw_sp, ipipt, in mlxsw_sp_ipip_entry_alloc()
1187 if (IS_ERR(ipip_entry->ol_lb)) { in mlxsw_sp_ipip_entry_alloc()
1188 ret = ERR_CAST(ipip_entry->ol_lb); in mlxsw_sp_ipip_entry_alloc()
1192 ipip_entry->ipipt = ipipt; in mlxsw_sp_ipip_entry_alloc()
1193 ipip_entry->ol_dev = ol_dev; in mlxsw_sp_ipip_entry_alloc()
1194 ipip_entry->parms = ipip_ops->parms_init(ol_dev); in mlxsw_sp_ipip_entry_alloc()
[all …]
Dspectrum_router.h130 struct mlxsw_sp_ipip_entry *ipip_entry,
136 struct mlxsw_sp_ipip_entry *ipip_entry);