Searched refs:md_dst (Results 1 – 7 of 7) sorted by relevance
291 dst = &md_dst->dst; in __metadata_dst_init()295 md_dst->type = type; in __metadata_dst_init()301 struct metadata_dst *md_dst; in metadata_dst_alloc() local303 md_dst = kmalloc(sizeof(*md_dst) + optslen, flags); in metadata_dst_alloc()304 if (!md_dst) in metadata_dst_alloc()309 return md_dst; in metadata_dst_alloc()319 kfree(md_dst); in metadata_dst_free()327 struct metadata_dst __percpu *md_dst; in metadata_dst_alloc_percpu() local331 if (!md_dst) in metadata_dst_alloc_percpu()337 return md_dst; in metadata_dst_alloc_percpu()[all …]
4304 static struct metadata_dst __percpu *md_dst; variable4309 struct metadata_dst *md = this_cpu_ptr(md_dst); in BPF_CALL_4()4383 const struct metadata_dst *md = this_cpu_ptr(md_dst); in BPF_CALL_3()4407 if (!md_dst) { in bpf_get_skb_set_tunnel_proto()4415 if (cmpxchg(&md_dst, NULL, tmp)) in bpf_get_skb_set_tunnel_proto()
30 struct metadata_dst *md_dst = (struct metadata_dst *) skb_dst(skb); in skb_metadata_dst() local32 if (md_dst && md_dst->dst.flags & DST_METADATA) in skb_metadata_dst()33 return md_dst; in skb_metadata_dst()41 struct metadata_dst *md_dst = skb_metadata_dst(skb); in skb_tunnel_info() local44 if (md_dst && md_dst->type == METADATA_IP_TUNNEL) in skb_tunnel_info()45 return &md_dst->u.tun_info; in skb_tunnel_info()93 void metadata_dst_free_percpu(struct metadata_dst __percpu *md_dst);112 struct metadata_dst *md_dst = skb_metadata_dst(skb); in tun_dst_unclone() local116 if (!md_dst || md_dst->type != METADATA_IP_TUNNEL) in tun_dst_unclone()119 md_size = md_dst->u.tun_info.options_len; in tun_dst_unclone()[all …]
935 struct metadata_dst *md_dst = skb_metadata_dst(skb); in nfp_net_prep_tx_meta() local940 if (likely(!md_dst && !tls_handle)) in nfp_net_prep_tx_meta()942 if (unlikely(md_dst && md_dst->type != METADATA_HW_PORT_MUX)) { in nfp_net_prep_tx_meta()945 md_dst = NULL; in nfp_net_prep_tx_meta()948 md_bytes = 4 + !!md_dst * 4 + !!tls_handle * 8; in nfp_net_prep_tx_meta()955 if (md_dst) { in nfp_net_prep_tx_meta()957 put_unaligned_be32(md_dst->u.port_info.port_id, data); in nfp_net_prep_tx_meta()
317 struct metadata_dst *md_dst = skb_metadata_dst(skb); in bnxt_xmit_get_cfa_action() local319 if (!md_dst || md_dst->type != METADATA_HW_PORT_MUX) in bnxt_xmit_get_cfa_action()322 return md_dst->u.port_info.port_id; in bnxt_xmit_get_cfa_action()
163646 ffff80001215a508 b md_dst
Completed in 354 milliseconds