Lines Matching refs:cpu_to_be16
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()
163 if (match.key->n_proto == cpu_to_be16(ETH_P_MPLS_UC) || in nfp_flower_compile_mpls()
164 match.key->n_proto == cpu_to_be16(ETH_P_MPLS_MC)) { in nfp_flower_compile_mpls()
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()
310 ext->inner_tci |= cpu_to_be16((key_tci & msk_tci)); in nfp_flower_fill_vlan()
312 msk->inner_tci |= cpu_to_be16(msk_tci); in nfp_flower_fill_vlan()
481 *flags = cpu_to_be16(NFP_FL_GRE_FLAG_KEY); in nfp_flower_compile_tun_gre_key()
482 *flags_msk = cpu_to_be16(NFP_FL_GRE_FLAG_KEY); in nfp_flower_compile_tun_gre_key()
492 ext->ethertype = cpu_to_be16(ETH_P_TEB); in nfp_flower_compile_ipv4_gre_tun()
493 msk->ethertype = cpu_to_be16(~0); in nfp_flower_compile_ipv4_gre_tun()
527 ext->ethertype = cpu_to_be16(ETH_P_TEB); in nfp_flower_compile_ipv6_gre_tun()
528 msk->ethertype = cpu_to_be16(~0); in nfp_flower_compile_ipv6_gre_tun()