Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c167 struct mlxsw_sp_ipip_entry *ipip_entry, in mlxsw_sp_ipip_nexthop_update_gre4() argument
170 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_nexthop_update_gre4()
171 __be32 daddr4 = mlxsw_sp_ipip_netdev_daddr4(ipip_entry->ol_dev); in mlxsw_sp_ipip_nexthop_update_gre4()
185 struct mlxsw_sp_ipip_entry *ipip_entry, in mlxsw_sp_ipip_decap_config_gre4() argument
188 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_decap_config_gre4()
189 u16 ul_rif_id = mlxsw_sp_ipip_lb_ul_rif_id(ipip_entry->ol_lb); in mlxsw_sp_ipip_decap_config_gre4()
197 parms = mlxsw_sp_ipip_netdev_parms4(ipip_entry->ol_dev); in mlxsw_sp_ipip_decap_config_gre4()
214 daddr4 = be32_to_cpu(mlxsw_sp_ipip_netdev_daddr4(ipip_entry->ol_dev)); in mlxsw_sp_ipip_decap_config_gre4()
272 struct mlxsw_sp_ipip_entry *ipip_entry, in mlxsw_sp_ipip_ol_netdev_change_gre() argument
276 const struct mlxsw_sp_ipip_parms *old_parms = &ipip_entry->parms; in mlxsw_sp_ipip_ol_netdev_change_gre()
[all …]
Dspectrum_ipip.h57 struct mlxsw_sp_ipip_entry *ipip_entry,
69 struct mlxsw_sp_ipip_entry *ipip_entry,
73 struct mlxsw_sp_ipip_entry *ipip_entry,
76 struct mlxsw_sp_ipip_entry *ipip_entry);
78 const struct mlxsw_sp_ipip_entry *ipip_entry);
Dspectrum_router.c442 struct mlxsw_sp_ipip_entry *ipip_entry; member
1086 struct mlxsw_sp_ipip_entry *ipip_entry; in mlxsw_sp_ipip_entry_alloc() local
1091 ipip_entry = kzalloc(sizeof(*ipip_entry), GFP_KERNEL); in mlxsw_sp_ipip_entry_alloc()
1092 if (!ipip_entry) in mlxsw_sp_ipip_entry_alloc()
1095 ipip_entry->ol_lb = mlxsw_sp_ipip_ol_ipip_lb_create(mlxsw_sp, ipipt, in mlxsw_sp_ipip_entry_alloc()
1097 if (IS_ERR(ipip_entry->ol_lb)) { in mlxsw_sp_ipip_entry_alloc()
1098 ret = ERR_CAST(ipip_entry->ol_lb); in mlxsw_sp_ipip_entry_alloc()
1102 ipip_entry->ipipt = ipipt; in mlxsw_sp_ipip_entry_alloc()
1103 ipip_entry->ol_dev = ol_dev; in mlxsw_sp_ipip_entry_alloc()
1104 ipip_entry->parms = ipip_ops->parms_init(ol_dev); in mlxsw_sp_ipip_entry_alloc()
[all …]
Dspectrum_router.h121 struct mlxsw_sp_ipip_entry *ipip_entry,
127 struct mlxsw_sp_ipip_entry *ipip_entry);