Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c130 struct mlxsw_sp_ipip_entry *ipip_entry) in mlxsw_sp_ipip_nexthop_update_gre4() argument
132 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_nexthop_update_gre4()
133 __be32 daddr4 = mlxsw_sp_ipip_netdev_daddr4(ipip_entry->ol_dev); in mlxsw_sp_ipip_nexthop_update_gre4()
147 struct mlxsw_sp_ipip_entry *ipip_entry) in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp() argument
149 u16 rif_index = mlxsw_sp_ipip_lb_rif_index(ipip_entry->ol_lb); in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp()
150 u16 ul_rif_id = mlxsw_sp_ipip_lb_ul_rif_id(ipip_entry->ol_lb); in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp()
158 parms = mlxsw_sp_ipip_netdev_parms4(ipip_entry->ol_dev); in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp()
175 daddr4 = be32_to_cpu(mlxsw_sp_ipip_netdev_daddr4(ipip_entry->ol_dev)); in mlxsw_sp_ipip_fib_entry_op_gre4_rtdp()
198 struct mlxsw_sp_ipip_entry *ipip_entry, in mlxsw_sp_ipip_fib_entry_op_gre4() argument
202 u16 ul_vr_id = mlxsw_sp_ipip_lb_ul_vr_id(ipip_entry->ol_lb); in mlxsw_sp_ipip_fib_entry_op_gre4()
[all …]
Dspectrum_router.c367 struct mlxsw_sp_ipip_entry *ipip_entry; member
1020 struct mlxsw_sp_ipip_entry *ipip_entry; in mlxsw_sp_ipip_entry_alloc() local
1024 ipip_entry = kzalloc(sizeof(*ipip_entry), GFP_KERNEL); in mlxsw_sp_ipip_entry_alloc()
1025 if (!ipip_entry) in mlxsw_sp_ipip_entry_alloc()
1028 ipip_entry->ol_lb = mlxsw_sp_ipip_ol_ipip_lb_create(mlxsw_sp, ipipt, in mlxsw_sp_ipip_entry_alloc()
1030 if (IS_ERR(ipip_entry->ol_lb)) { in mlxsw_sp_ipip_entry_alloc()
1031 ret = ERR_CAST(ipip_entry->ol_lb); in mlxsw_sp_ipip_entry_alloc()
1035 ipip_entry->ipipt = ipipt; in mlxsw_sp_ipip_entry_alloc()
1036 ipip_entry->ol_dev = ol_dev; in mlxsw_sp_ipip_entry_alloc()
1040 ipip_entry->parms4 = mlxsw_sp_ipip_netdev_parms4(ol_dev); in mlxsw_sp_ipip_entry_alloc()
[all …]
Dspectrum_ipip.h43 struct mlxsw_sp_ipip_entry *ipip_entry);
55 struct mlxsw_sp_ipip_entry *ipip_entry,
60 struct mlxsw_sp_ipip_entry *ipip_entry,
Dspectrum_router.h111 struct mlxsw_sp_ipip_entry *ipip_entry,
117 struct mlxsw_sp_ipip_entry *ipip_entry);