Home
last modified time | relevance | path

Searched refs:meta_id (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c216 u32 meta_id = 0; in nfp_nfdk_prep_tx_meta() local
223 meta_id = NFP_NET_META_PORTID; in nfp_nfdk_prep_tx_meta()
225 if (unlikely(skb_cow_head(skb, sizeof(meta_id)))) in nfp_nfdk_prep_tx_meta()
228 md_bytes += sizeof(meta_id); in nfp_nfdk_prep_tx_meta()
230 meta_id = FIELD_PREP(NFDK_META_LEN, md_bytes) | in nfp_nfdk_prep_tx_meta()
231 FIELD_PREP(NFDK_META_FIELDS, meta_id); in nfp_nfdk_prep_tx_meta()
233 data = skb_push(skb, sizeof(meta_id)); in nfp_nfdk_prep_tx_meta()
234 put_unaligned_be32(meta_id, data); in nfp_nfdk_prep_tx_meta()
/linux-5.19.10/net/sched/
Dem_meta.c89 static inline int meta_id(struct meta_value *v) in meta_id() function
678 return &__meta_ops[meta_type(val)][meta_id(val)]; in meta_ops()
830 if (meta_id(v) == TCF_META_ID_VALUE) { in meta_get()
899 return !meta_id(val) || meta_ops(val)->get; in meta_is_supported()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c174 u32 meta_id = 0; in nfp_nfd3_prep_tx_meta() local
190 meta_id = 0; in nfp_nfd3_prep_tx_meta()
195 meta_id = NFP_NET_META_PORTID; in nfp_nfd3_prep_tx_meta()
203 meta_id <<= NFP_NET_META_FIELD_SIZE; in nfp_nfd3_prep_tx_meta()
204 meta_id |= NFP_NET_META_CONN_HANDLE; in nfp_nfd3_prep_tx_meta()
208 put_unaligned_be32(meta_id, data); in nfp_nfd3_prep_tx_meta()