Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c27 u16 msk_tci, key_tci; in nfp_flower_compile_tci() local
40 msk_tci = NFP_FLOWER_MASK_VLAN_PRESENT; in nfp_flower_compile_tci()
41 msk_tci |= FIELD_PREP(NFP_FLOWER_MASK_VLAN_PRIO, in nfp_flower_compile_tci()
46 ext->tci |= cpu_to_be16((key_tci & msk_tci)); in nfp_flower_compile_tci()
47 msk->tci |= cpu_to_be16(msk_tci); in nfp_flower_compile_tci()
291 u16 msk_tci, key_tci; in nfp_flower_fill_vlan() local
298 msk_tci = NFP_FLOWER_MASK_VLAN_PRESENT; in nfp_flower_fill_vlan()
299 msk_tci |= FIELD_PREP(NFP_FLOWER_MASK_VLAN_PRIO, in nfp_flower_fill_vlan()
305 ext->outer_tci |= cpu_to_be16((key_tci & msk_tci)); in nfp_flower_fill_vlan()
307 msk->outer_tci |= cpu_to_be16(msk_tci); in nfp_flower_fill_vlan()
[all …]