Home
last modified time | relevance | path

Searched refs:encap_key (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c873 struct ip_tunnel_key *encap_key, in hwrm_cfa_encap_record_alloc() argument
899 encap_ipv4->ttl = encap_key->ttl; in hwrm_cfa_encap_record_alloc()
901 encap_ipv4->dest_ip_addr = encap_key->u.ipv4.dst; in hwrm_cfa_encap_record_alloc()
902 encap_ipv4->src_ip_addr = encap_key->u.ipv4.src; in hwrm_cfa_encap_record_alloc()
905 encap->dst_port = encap_key->tp_dst; in hwrm_cfa_encap_record_alloc()
906 encap->vni = tunnel_id_to_key32(encap_key->tun_id); in hwrm_cfa_encap_record_alloc()
1394 struct ip_tunnel_key *encap_key = &flow->actions.tun_encap_key; in bnxt_tc_get_encap_handle() local
1405 encap_key); in bnxt_tc_get_encap_handle()
1414 rc = bnxt_tc_resolve_tunnel_hdrs(bp, encap_key, &encap_node->l2_info); in bnxt_tc_get_encap_handle()
1419 rc = hwrm_cfa_encap_record_alloc(bp, encap_key, &encap_node->l2_info, in bnxt_tc_get_encap_handle()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c3579 struct encap_key { struct
3584 static inline int cmp_encap_info(struct encap_key *a, in cmp_encap_info() argument
3585 struct encap_key *b) in cmp_encap_info()
3597 static inline int hash_encap_info(struct encap_key *key) in hash_encap_info()
3632 mlx5e_encap_get(struct mlx5e_priv *priv, struct encap_key *key, in mlx5e_encap_get()
3637 struct encap_key e_key; in mlx5e_encap_get()
3707 struct encap_key key; in mlx5e_attach_encap()