Searched refs:tun_key (Results 1 – 8 of 8) sorted by relevance
| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | tc_tun.c | 237 attr.fl.fl4.daddr = tun_key->u.ipv4.dst; in mlx5e_tc_tun_create_header_ipv4() 239 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_create_header_ipv4() 287 ip->tos = tun_key->tos; in mlx5e_tc_tun_create_header_ipv4() 355 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_update_header_ipv4() 392 ip->tos = tun_key->tos; in mlx5e_tc_tun_update_header_ipv4() 507 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_create_header_ipv6() 508 attr.fl.fl6.flowlabel = ip6_make_flowinfo(tun_key->tos, tun_key->label); in mlx5e_tc_tun_create_header_ipv6() 558 ip6_flow_hdr(ip6h, tun_key->tos, 0); in mlx5e_tc_tun_create_header_ipv6() 621 attr.ttl = tun_key->ttl; in mlx5e_tc_tun_update_header_ipv6() 623 attr.fl.fl6.flowlabel = ip6_make_flowinfo(tun_key->tos, tun_key->label); in mlx5e_tc_tun_update_header_ipv6() [all …]
|
| A D | tc_tun_gre.c | 31 const struct ip_tunnel_key *tun_key = &e->tun_info->key; in mlx5e_gen_ip_tunnel_header_gretap() local 33 __be32 tun_id = tunnel_id_to_key32(tun_key->tun_id); in mlx5e_gen_ip_tunnel_header_gretap() 43 if (ip_tunnel_flags_intersect(tun_key->tun_flags, unsupp)) in mlx5e_gen_ip_tunnel_header_gretap() 50 greh->flags = gre_tnl_flags_to_gre_flags(tun_key->tun_flags); in mlx5e_gen_ip_tunnel_header_gretap() 51 if (test_bit(IP_TUNNEL_KEY_BIT, tun_key->tun_flags)) { in mlx5e_gen_ip_tunnel_header_gretap()
|
| A D | tc_tun_vxlan.c | 87 const struct ip_tunnel_key *tun_key = &e->tun_info->key; in mlx5e_gen_ip_tunnel_header_vxlan() local 88 __be32 tun_id = tunnel_id_to_key32(tun_key->tun_id); in mlx5e_gen_ip_tunnel_header_vxlan() 93 if (test_bit(IP_TUNNEL_VXLAN_OPT_BIT, tun_key->tun_flags) && in mlx5e_gen_ip_tunnel_header_vxlan() 99 udp->dest = tun_key->tp_dst; in mlx5e_gen_ip_tunnel_header_vxlan() 102 if (test_bit(IP_TUNNEL_VXLAN_OPT_BIT, tun_key->tun_flags)) { in mlx5e_gen_ip_tunnel_header_vxlan()
|
| A D | tc_tun_mplsoudp.c | 32 const struct ip_tunnel_key *tun_key = &r->tun_info->key; in generate_ip_tun_hdr() local 40 udp->dest = tun_key->tp_dst; in generate_ip_tun_hdr()
|
| /drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_tc.c | 114 actions->tun_encap_key = *tun_key; in bnxt_tc_parse_tunnel_set() 800 struct ip_tunnel_key *tun_key = &flow->tun_key; in hwrm_cfa_decap_filter_alloc() local 845 req->dst_port = tun_key->tp_dst; in hwrm_cfa_decap_filter_alloc() 1124 struct ip_tunnel_key *tun_key) in bnxt_tc_get_tunnel_node() argument 1137 tunnel_node->key = *tun_key; in bnxt_tc_get_tunnel_node() 1242 flow.fl4_dport = tun_key->tp_dst; in bnxt_tc_resolve_tunnel_hdrs() 1243 flow.daddr = tun_key->u.ipv4.dst; in bnxt_tc_resolve_tunnel_hdrs() 1288 tun_key->u.ipv4.src = flow.saddr; in bnxt_tc_resolve_tunnel_hdrs() 1312 struct ip_tunnel_key tun_key = { 0 }; in bnxt_tc_get_decap_handle() local 1338 tun_key.u.ipv4.dst = flow->tun_key.u.ipv4.src; in bnxt_tc_get_decap_handle() [all …]
|
| A D | bnxt_tc.h | 130 struct ip_tunnel_key tun_key; member
|
| /drivers/net/ethernet/netronome/nfp/flower/ |
| A D | match.c | 497 nfp_flower_compile_tun_gre_key(&ext->tun_key, &msk->tun_key, in nfp_flower_compile_ipv4_gre_tun() 532 nfp_flower_compile_tun_gre_key(&ext->tun_key, &msk->tun_key, in nfp_flower_compile_ipv6_gre_tun()
|
| A D | cmsg.h | 512 __be32 tun_key; member 552 __be32 tun_key; member
|
Completed in 24 milliseconds