Searched refs:mpls_mask (Results 1 – 2 of 2) sorted by relevance
79 u32 mpls_lse = 0, mpls_mask = 0; in nfp_fl_set_mpls() local86 mpls_mask |= MPLS_LS_LABEL_MASK; in nfp_fl_set_mpls()90 mpls_mask |= MPLS_LS_TC_MASK; in nfp_fl_set_mpls()94 mpls_mask |= MPLS_LS_S_MASK; in nfp_fl_set_mpls()98 mpls_mask |= MPLS_LS_TTL_MASK; in nfp_fl_set_mpls()102 set_mpls->lse_mask = cpu_to_be32(mpls_mask); in nfp_fl_set_mpls()
2925 struct flow_dissector_key_mpls *mpls_mask, in fl_dump_key_mpls_opt_lse() argument2928 struct flow_dissector_mpls_lse *lse_mask = &mpls_mask->ls[lse_index]; in fl_dump_key_mpls_opt_lse()2967 struct flow_dissector_key_mpls *mpls_mask) in fl_dump_key_mpls_opts() argument2979 if (!(mpls_mask->used_lses & 1 << lse_index)) in fl_dump_key_mpls_opts()2988 err = fl_dump_key_mpls_opt_lse(skb, mpls_key, mpls_mask, in fl_dump_key_mpls_opts()3008 struct flow_dissector_key_mpls *mpls_mask) in fl_dump_key_mpls() argument3014 if (!mpls_mask->used_lses) in fl_dump_key_mpls()3017 lse_mask = &mpls_mask->ls[0]; in fl_dump_key_mpls()3023 if (mpls_mask->used_lses & ~1 || in fl_dump_key_mpls()3026 return fl_dump_key_mpls_opts(skb, mpls_key, mpls_mask); in fl_dump_key_mpls()