Searched refs:encap_key (Results 1 – 2 of 2) sorted by relevance
607 struct ip_tunnel_key *encap_key, in hwrm_cfa_encap_record_alloc() argument633 encap_ipv4->ttl = encap_key->ttl; in hwrm_cfa_encap_record_alloc()635 encap_ipv4->dest_ip_addr = encap_key->u.ipv4.dst; in hwrm_cfa_encap_record_alloc()636 encap_ipv4->src_ip_addr = encap_key->u.ipv4.src; in hwrm_cfa_encap_record_alloc()639 encap->dst_port = encap_key->tp_dst; in hwrm_cfa_encap_record_alloc()640 encap->vni = tunnel_id_to_key32(encap_key->tun_id); in hwrm_cfa_encap_record_alloc()1128 struct ip_tunnel_key *encap_key = &flow->actions.tun_encap_key; in bnxt_tc_get_encap_handle() local1139 encap_key); in bnxt_tc_get_encap_handle()1148 rc = bnxt_tc_resolve_tunnel_hdrs(bp, encap_key, &encap_node->l2_info); in bnxt_tc_get_encap_handle()1153 rc = hwrm_cfa_encap_record_alloc(bp, encap_key, &encap_node->l2_info, in bnxt_tc_get_encap_handle()
2919 struct encap_key { struct2924 static inline int cmp_encap_info(struct encap_key *a, in cmp_encap_info() argument2925 struct encap_key *b) in cmp_encap_info()2931 static inline int hash_encap_info(struct encap_key *key) in hash_encap_info()2959 mlx5e_encap_get(struct mlx5e_priv *priv, struct encap_key *key, in mlx5e_encap_get()2964 struct encap_key e_key; in mlx5e_encap_get()2997 struct encap_key key; in mlx5e_attach_encap()