/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ipip.c | 49 static union mlxsw_sp_l3addr 52 return (union mlxsw_sp_l3addr) { .addr4 = parms.iph.saddr }; in mlxsw_sp_ipip_parms4_saddr() 55 static union mlxsw_sp_l3addr 58 return (union mlxsw_sp_l3addr) { .addr6 = parms.laddr }; in mlxsw_sp_ipip_parms6_saddr() 61 static union mlxsw_sp_l3addr 64 return (union mlxsw_sp_l3addr) { .addr4 = parms.iph.daddr }; in mlxsw_sp_ipip_parms4_daddr() 67 static union mlxsw_sp_l3addr 70 return (union mlxsw_sp_l3addr) { .addr6 = parms.raddr }; in mlxsw_sp_ipip_parms6_daddr() 73 union mlxsw_sp_l3addr 90 return (union mlxsw_sp_l3addr) { in mlxsw_sp_ipip_netdev_saddr() [all...] |
H A D | spectrum_router.h | 14 union mlxsw_sp_l3addr ul_sip; 58 union mlxsw_sp_l3addr saddr; 121 union mlxsw_sp_l3addr saddr, 144 static inline bool mlxsw_sp_l3addr_eq(const union mlxsw_sp_l3addr *addr1, in mlxsw_sp_l3addr_eq() 145 const union mlxsw_sp_l3addr *addr2) in mlxsw_sp_l3addr_eq()
|
H A D | spectrum_mr.h | 21 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;
|
H A D | spectrum_nve.c | 34 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 *add in mlxsw_sp_nve_mc_record_find() [all...] |
H A D | spectrum_ipip.h | 16 union mlxsw_sp_l3addr 20 bool mlxsw_sp_l3addr_is_zero(union mlxsw_sp_l3addr addr);
|
H A D | spectrum_span.h | 21 union mlxsw_sp_l3addr daddr; 22 union mlxsw_sp_l3addr saddr;
|
H A D | spectrum_nve.h | 20 union mlxsw_sp_l3addr ul_sip;
|
H A D | spectrum.h | 74 union mlxsw_sp_l3addr; 637 union mlxsw_sp_l3addr { union 678 const union mlxsw_sp_l3addr *ul_sip, 682 const union mlxsw_sp_l3addr *ul_sip); 1217 union mlxsw_sp_l3addr *addr); 1221 union mlxsw_sp_l3addr *addr); 1225 union mlxsw_sp_l3addr *addr);
|
H A D | spectrum_span.c | 354 union mlxsw_sp_l3addr saddr, in mlxsw_sp_span_entry_tunnel_parms_common() 355 union mlxsw_sp_l3addr daddr, in mlxsw_sp_span_entry_tunnel_parms_common() 356 union mlxsw_sp_l3addr gw, in mlxsw_sp_span_entry_tunnel_parms_common() 453 union mlxsw_sp_l3addr saddr = { .addr4 = tparm.iph.saddr }; in mlxsw_sp_span_entry_gretap4_parms() 454 union mlxsw_sp_l3addr daddr = { .addr4 = tparm.iph.daddr }; in mlxsw_sp_span_entry_gretap4_parms() 457 union mlxsw_sp_l3addr gw = daddr; in mlxsw_sp_span_entry_gretap4_parms() 558 union mlxsw_sp_l3addr saddr = { .addr6 = tparm.laddr }; in mlxsw_sp_span_entry_gretap6_parms() 559 union mlxsw_sp_l3addr daddr = { .addr6 = tparm.raddr }; in mlxsw_sp_span_entry_gretap6_parms() 561 union mlxsw_sp_l3addr gw = daddr; in mlxsw_sp_span_entry_gretap6_parms()
|
H A D | spectrum_switchdev.c | 1290 const union mlxsw_sp_l3addr *addr, in mlxsw_sp_port_fdb_tunnel_uc_op() 2331 union mlxsw_sp_l3addr *addr) in mlxsw_sp_switchdev_vxlan_addr_convert() 2344 const union mlxsw_sp_l3addr *addr, in mlxsw_sp_switchdev_addr_vxlan_convert() 2362 union mlxsw_sp_l3addr *addr, in mlxsw_sp_fdb_vxlan_call_notifiers() 2384 union mlxsw_sp_l3addr *addr, in mlxsw_sp_fdb_nve_call_notifiers() 2594 union mlxsw_sp_l3addr addr; in mlxsw_sp_fdb_notify_mac_uc_tunnel_process() 2754 union mlxsw_sp_l3addr addr; in mlxsw_sp_switchdev_bridge_vxlan_fdb_event() 2905 union mlxsw_sp_l3addr addr; in mlxsw_sp_switchdev_vxlan_fdb_add() 2978 union mlxsw_sp_l3addr addr; in mlxsw_sp_switchdev_vxlan_fdb_del()
|
H A D | spectrum_router.c | 1064 union mlxsw_sp_l3addr saddr, in mlxsw_sp_ipip_entry_saddr_matches() 1070 union mlxsw_sp_l3addr tun_saddr; in mlxsw_sp_ipip_entry_saddr_matches() 1144 const union mlxsw_sp_l3addr *addr, in mlxsw_sp_router_ip2me_fib_entry_find() 1189 union mlxsw_sp_l3addr saddr; in mlxsw_sp_ipip_entry_find_decap() 1258 union mlxsw_sp_l3addr ul_dip, in mlxsw_sp_ipip_entry_matches_decap() 1276 union mlxsw_sp_l3addr ul_dip) in mlxsw_sp_ipip_entry_find_by_decap() 1386 union mlxsw_sp_l3addr saddr; in mlxsw_sp_netdevice_ipip_ol_reg_event() 1607 union mlxsw_sp_l3addr saddr; in mlxsw_sp_netdevice_ipip_ul_vrf_event() 1695 union mlxsw_sp_l3addr saddr, in mlxsw_sp_ipip_demote_tunnel_by_saddr() 1856 const union mlxsw_sp_l3addr *ul_si in mlxsw_sp_router_nve_promote_decap() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ipip.c | 71 static union mlxsw_sp_l3addr 74 return (union mlxsw_sp_l3addr) { .addr4 = parms->iph.saddr }; in mlxsw_sp_ipip_parms4_saddr() 77 static union mlxsw_sp_l3addr 80 return (union mlxsw_sp_l3addr) { .addr6 = parms->laddr }; in mlxsw_sp_ipip_parms6_saddr() 83 static union mlxsw_sp_l3addr 86 return (union mlxsw_sp_l3addr) { .addr4 = parms->iph.daddr }; in mlxsw_sp_ipip_parms4_daddr() 89 static union mlxsw_sp_l3addr 92 return (union mlxsw_sp_l3addr) { .addr6 = parms->raddr }; in mlxsw_sp_ipip_parms6_daddr() 95 union mlxsw_sp_l3addr 112 return (union mlxsw_sp_l3addr) { in mlxsw_sp_ipip_netdev_saddr() [all...] |
H A D | spectrum_ipip.h | 17 union mlxsw_sp_l3addr 21 bool mlxsw_sp_l3addr_is_zero(union mlxsw_sp_l3addr addr); 31 union mlxsw_sp_l3addr saddr; 32 union mlxsw_sp_l3addr daddr;
|
H A D | spectrum_mr.h | 21 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;
|
H A D | spectrum_router.h | 14 union mlxsw_sp_l3addr ul_sip; 78 union mlxsw_sp_l3addr saddr; 140 union mlxsw_sp_l3addr saddr, 164 static inline bool mlxsw_sp_l3addr_eq(const union mlxsw_sp_l3addr *addr1, in mlxsw_sp_l3addr_eq() 165 const union mlxsw_sp_l3addr *addr2) in mlxsw_sp_l3addr_eq()
|
H A D | spectrum_nve.c | 34 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() 167 const union mlxsw_sp_l3addr *addr) in mlxsw_sp_nve_mc_record_ipv6_entry_compare() 189 union mlxsw_sp_l3addr *addr) in mlxsw_sp_nve_learned_ip_resolve() 415 union mlxsw_sp_l3addr *addr) in mlxsw_sp_nve_mc_entry_find() 437 union mlxsw_sp_l3addr *addr) in mlxsw_sp_nve_mc_record_ip_add() 537 union mlxsw_sp_l3addr *add in mlxsw_sp_nve_mc_record_find() [all...] |
H A D | spectrum_span.h | 34 union mlxsw_sp_l3addr daddr; 35 union mlxsw_sp_l3addr saddr;
|
H A D | spectrum_nve.h | 20 union mlxsw_sp_l3addr ul_sip;
|
H A D | spectrum_span.c | 355 union mlxsw_sp_l3addr saddr, in mlxsw_sp_span_entry_tunnel_parms_common() 356 union mlxsw_sp_l3addr daddr, in mlxsw_sp_span_entry_tunnel_parms_common() 357 union mlxsw_sp_l3addr gw, in mlxsw_sp_span_entry_tunnel_parms_common() 455 union mlxsw_sp_l3addr saddr = { .addr4 = tparm.iph.saddr }; in mlxsw_sp_span_entry_gretap4_parms() 456 union mlxsw_sp_l3addr daddr = { .addr4 = tparm.iph.daddr }; in mlxsw_sp_span_entry_gretap4_parms() 459 union mlxsw_sp_l3addr gw = daddr; in mlxsw_sp_span_entry_gretap4_parms() 560 union mlxsw_sp_l3addr saddr = { .addr6 = tparm.laddr }; in mlxsw_sp_span_entry_gretap6_parms() 561 union mlxsw_sp_l3addr daddr = { .addr6 = tparm.raddr }; in mlxsw_sp_span_entry_gretap6_parms() 563 union mlxsw_sp_l3addr gw = daddr; in mlxsw_sp_span_entry_gretap6_parms()
|
H A D | spectrum.h | 79 union mlxsw_sp_l3addr; 749 union mlxsw_sp_l3addr { union 770 const union mlxsw_sp_l3addr *ul_sip, 774 const union mlxsw_sp_l3addr *ul_sip); 1376 union mlxsw_sp_l3addr *addr); 1380 union mlxsw_sp_l3addr *addr); 1384 union mlxsw_sp_l3addr *addr);
|
H A D | spectrum_switchdev.c | 1762 const union mlxsw_sp_l3addr *addr, in mlxsw_sp_port_fdb_tunnel_uc_op() 2969 union mlxsw_sp_l3addr *addr) in mlxsw_sp_switchdev_vxlan_addr_convert() 2982 const union mlxsw_sp_l3addr *addr, in mlxsw_sp_switchdev_addr_vxlan_convert() 3000 union mlxsw_sp_l3addr *addr, in mlxsw_sp_fdb_vxlan_call_notifiers() 3022 union mlxsw_sp_l3addr *addr, in mlxsw_sp_fdb_nve_call_notifiers() 3239 union mlxsw_sp_l3addr addr; in mlxsw_sp_fdb_notify_mac_uc_tunnel_process() 3396 union mlxsw_sp_l3addr addr; in mlxsw_sp_switchdev_bridge_vxlan_fdb_event() 3547 union mlxsw_sp_l3addr addr; in mlxsw_sp_switchdev_vxlan_fdb_add() 3620 union mlxsw_sp_l3addr addr; in mlxsw_sp_switchdev_vxlan_fdb_del()
|
H A D | spectrum_router.c | 1223 union mlxsw_sp_l3addr saddr, in mlxsw_sp_ipip_entry_saddr_matches() 1229 union mlxsw_sp_l3addr tun_saddr; in mlxsw_sp_ipip_entry_saddr_matches() 1343 const union mlxsw_sp_l3addr *addr, in mlxsw_sp_router_ip2me_fib_entry_find() 1392 union mlxsw_sp_l3addr saddr; in mlxsw_sp_ipip_entry_find_decap() 1466 union mlxsw_sp_l3addr ul_dip, in mlxsw_sp_ipip_entry_matches_decap() 1483 union mlxsw_sp_l3addr ul_dip) in mlxsw_sp_ipip_entry_find_by_decap() 1596 union mlxsw_sp_l3addr saddr; in mlxsw_sp_netdevice_ipip_ol_reg_event() 1842 union mlxsw_sp_l3addr saddr; in mlxsw_sp_netdevice_ipip_ul_vrf_event() 1930 union mlxsw_sp_l3addr saddr, in mlxsw_sp_ipip_demote_tunnel_by_saddr() 2087 const union mlxsw_sp_l3addr *ul_si in mlxsw_sp_router_nve_promote_decap() [all...] |