Home
last modified time | relevance | path

Searched refs:mlxsw_sp_l3addr (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c47 static union mlxsw_sp_l3addr
50 return (union mlxsw_sp_l3addr) { .addr4 = parms.iph.saddr }; in mlxsw_sp_ipip_parms4_saddr()
53 static union mlxsw_sp_l3addr
56 return (union mlxsw_sp_l3addr) { .addr6 = parms.laddr }; in mlxsw_sp_ipip_parms6_saddr()
59 static union mlxsw_sp_l3addr
62 return (union mlxsw_sp_l3addr) { .addr4 = parms.iph.daddr }; in mlxsw_sp_ipip_parms4_daddr()
65 static union mlxsw_sp_l3addr
68 return (union mlxsw_sp_l3addr) { .addr6 = parms.raddr }; in mlxsw_sp_ipip_parms6_daddr()
71 union mlxsw_sp_l3addr
88 return (union mlxsw_sp_l3addr) {0}; in mlxsw_sp_ipip_netdev_saddr()
[all …]
Dspectrum_mr.h21 union mlxsw_sp_l3addr group;
22 union mlxsw_sp_l3addr group_mask;
23 union mlxsw_sp_l3addr source;
24 union mlxsw_sp_l3addr source_mask;
Dspectrum_router.h15 union mlxsw_sp_l3addr saddr;
78 union mlxsw_sp_l3addr saddr,
101 static inline bool mlxsw_sp_l3addr_eq(const union mlxsw_sp_l3addr *addr1, in mlxsw_sp_l3addr_eq()
102 const union mlxsw_sp_l3addr *addr2) in mlxsw_sp_l3addr_eq()
Dspectrum_nve.c34 const union mlxsw_sp_l3addr *addr);
42 const union mlxsw_sp_l3addr *addr);
88 const union mlxsw_sp_l3addr *addr) in mlxsw_sp_nve_mc_record_ipv4_entry_add()
114 const union mlxsw_sp_l3addr *addr) in mlxsw_sp_nve_mc_record_ipv4_entry_compare()
131 const union mlxsw_sp_l3addr *addr) in mlxsw_sp_nve_mc_record_ipv6_entry_add()
157 const union mlxsw_sp_l3addr *addr) in mlxsw_sp_nve_mc_record_ipv6_entry_compare()
179 union mlxsw_sp_l3addr *addr) in mlxsw_sp_nve_learned_ip_resolve()
405 union mlxsw_sp_l3addr *addr) in mlxsw_sp_nve_mc_entry_find()
427 union mlxsw_sp_l3addr *addr) in mlxsw_sp_nve_mc_record_ip_add()
527 union mlxsw_sp_l3addr *addr, in mlxsw_sp_nve_mc_record_find()
[all …]
Dspectrum_ipip.h16 union mlxsw_sp_l3addr
20 bool mlxsw_sp_l3addr_is_zero(union mlxsw_sp_l3addr addr);
Dspectrum_span.h34 union mlxsw_sp_l3addr daddr;
35 union mlxsw_sp_l3addr saddr;
Dspectrum_span.c237 union mlxsw_sp_l3addr saddr, in mlxsw_sp_span_entry_tunnel_parms_common()
238 union mlxsw_sp_l3addr daddr, in mlxsw_sp_span_entry_tunnel_parms_common()
239 union mlxsw_sp_l3addr gw, in mlxsw_sp_span_entry_tunnel_parms_common()
335 union mlxsw_sp_l3addr saddr = { .addr4 = tparm.iph.saddr }; in mlxsw_sp_span_entry_gretap4_parms()
336 union mlxsw_sp_l3addr daddr = { .addr4 = tparm.iph.daddr }; in mlxsw_sp_span_entry_gretap4_parms()
339 union mlxsw_sp_l3addr gw = daddr; in mlxsw_sp_span_entry_gretap4_parms()
437 union mlxsw_sp_l3addr saddr = { .addr6 = tparm.laddr }; in mlxsw_sp_span_entry_gretap6_parms()
438 union mlxsw_sp_l3addr daddr = { .addr6 = tparm.raddr }; in mlxsw_sp_span_entry_gretap6_parms()
440 union mlxsw_sp_l3addr gw = daddr; in mlxsw_sp_span_entry_gretap6_parms()
Dspectrum.h64 union mlxsw_sp_l3addr;
522 union mlxsw_sp_l3addr { union
562 const union mlxsw_sp_l3addr *ul_sip,
566 const union mlxsw_sp_l3addr *ul_sip);
946 union mlxsw_sp_l3addr *addr);
950 union mlxsw_sp_l3addr *addr);
954 union mlxsw_sp_l3addr *addr);
Dspectrum_nve.h20 union mlxsw_sp_l3addr ul_sip;
Dspectrum_switchdev.c1224 const union mlxsw_sp_l3addr *addr, in mlxsw_sp_port_fdb_tunnel_uc_op()
2374 union mlxsw_sp_l3addr *addr) in mlxsw_sp_switchdev_vxlan_addr_convert()
2387 const union mlxsw_sp_l3addr *addr, in mlxsw_sp_switchdev_addr_vxlan_convert()
2405 union mlxsw_sp_l3addr *addr, in mlxsw_sp_fdb_vxlan_call_notifiers()
2427 union mlxsw_sp_l3addr *addr, in mlxsw_sp_fdb_nve_call_notifiers()
2633 union mlxsw_sp_l3addr addr; in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2782 union mlxsw_sp_l3addr addr; in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
2933 union mlxsw_sp_l3addr addr; in mlxsw_sp_switchdev_vxlan_fdb_add()
3006 union mlxsw_sp_l3addr addr; in mlxsw_sp_switchdev_vxlan_fdb_del()
Dspectrum_router.c1078 union mlxsw_sp_l3addr saddr, in mlxsw_sp_ipip_entry_saddr_matches()
1084 union mlxsw_sp_l3addr tun_saddr; in mlxsw_sp_ipip_entry_saddr_matches()
1158 const union mlxsw_sp_l3addr *addr, in mlxsw_sp_router_ip2me_fib_entry_find()
1210 union mlxsw_sp_l3addr saddr; in mlxsw_sp_ipip_entry_find_decap()
1283 union mlxsw_sp_l3addr ul_dip, in mlxsw_sp_ipip_entry_matches_decap()
1301 union mlxsw_sp_l3addr ul_dip) in mlxsw_sp_ipip_entry_find_by_decap()
1401 union mlxsw_sp_l3addr saddr; in mlxsw_sp_netdevice_ipip_ol_reg_event()
1689 union mlxsw_sp_l3addr saddr, in mlxsw_sp_ipip_demote_tunnel_by_saddr()
1819 const union mlxsw_sp_l3addr *ul_sip, in mlxsw_sp_router_nve_promote_decap()
1852 const union mlxsw_sp_l3addr *ul_sip) in mlxsw_sp_router_nve_demote_decap()
[all …]