Searched refs:mpls_hdr (Results 1 – 8 of 8) sorted by relevance
1278 u32 mpls_hdr; in dr_ste_v0_build_tnl_mpls_tag() local1281 mpls_hdr = misc_2->outer_first_mpls_over_gre_label << HDR_MPLS_OFFSET_LABEL; in dr_ste_v0_build_tnl_mpls_tag()1283 mpls_hdr |= misc_2->outer_first_mpls_over_gre_exp << HDR_MPLS_OFFSET_EXP; in dr_ste_v0_build_tnl_mpls_tag()1285 mpls_hdr |= misc_2->outer_first_mpls_over_gre_s_bos << HDR_MPLS_OFFSET_S_BOS; in dr_ste_v0_build_tnl_mpls_tag()1287 mpls_hdr |= misc_2->outer_first_mpls_over_gre_ttl << HDR_MPLS_OFFSET_TTL; in dr_ste_v0_build_tnl_mpls_tag()1290 mpls_hdr = misc_2->outer_first_mpls_over_udp_label << HDR_MPLS_OFFSET_LABEL; in dr_ste_v0_build_tnl_mpls_tag()1292 mpls_hdr |= misc_2->outer_first_mpls_over_udp_exp << HDR_MPLS_OFFSET_EXP; in dr_ste_v0_build_tnl_mpls_tag()1294 mpls_hdr |= misc_2->outer_first_mpls_over_udp_s_bos << HDR_MPLS_OFFSET_S_BOS; in dr_ste_v0_build_tnl_mpls_tag()1296 mpls_hdr |= misc_2->outer_first_mpls_over_udp_ttl << HDR_MPLS_OFFSET_TTL; in dr_ste_v0_build_tnl_mpls_tag()1300 MLX5_SET(ste_flex_parser_0, tag, flex_parser_3, mpls_hdr); in dr_ste_v0_build_tnl_mpls_tag()[all …]
1674 u32 mpls_hdr; in dr_ste_v1_build_tnl_mpls_over_udp_tag() local1676 mpls_hdr = misc2->outer_first_mpls_over_udp_label << HDR_MPLS_OFFSET_LABEL; in dr_ste_v1_build_tnl_mpls_over_udp_tag()1678 mpls_hdr |= misc2->outer_first_mpls_over_udp_exp << HDR_MPLS_OFFSET_EXP; in dr_ste_v1_build_tnl_mpls_over_udp_tag()1680 mpls_hdr |= misc2->outer_first_mpls_over_udp_s_bos << HDR_MPLS_OFFSET_S_BOS; in dr_ste_v1_build_tnl_mpls_over_udp_tag()1682 mpls_hdr |= misc2->outer_first_mpls_over_udp_ttl << HDR_MPLS_OFFSET_TTL; in dr_ste_v1_build_tnl_mpls_over_udp_tag()1687 *(__be32 *)parser_ptr = cpu_to_be32(mpls_hdr); in dr_ste_v1_build_tnl_mpls_over_udp_tag()1715 u32 mpls_hdr; in dr_ste_v1_build_tnl_mpls_over_gre_tag() local1717 mpls_hdr = misc2->outer_first_mpls_over_gre_label << HDR_MPLS_OFFSET_LABEL; in dr_ste_v1_build_tnl_mpls_over_gre_tag()1719 mpls_hdr |= misc2->outer_first_mpls_over_gre_exp << HDR_MPLS_OFFSET_EXP; in dr_ste_v1_build_tnl_mpls_over_gre_tag()1721 mpls_hdr |= misc2->outer_first_mpls_over_gre_s_bos << HDR_MPLS_OFFSET_S_BOS; in dr_ste_v1_build_tnl_mpls_over_gre_tag()[all …]
25 static inline struct mpls_shim_hdr *mpls_hdr(const struct sk_buff *skb) in mpls_hdr() function
123 hdr = mpls_hdr(skb); in mpls_xmit()
173 hdr = mpls_hdr(skb) + label_index; in mpls_multipath_hash()384 hdr = mpls_hdr(skb); in mpls_forward()445 hdr = mpls_hdr(skb); in mpls_forward()2437 hdr = mpls_hdr(skb); in mpls_getroute()
112 new_lse = tcf_mpls_get_lse(mpls_hdr(skb), p, false); in tcf_mpls_act()
6463 lse = mpls_hdr(skb); in skb_mpls_push()6499 skb_postpull_rcsum(skb, mpls_hdr(skb), MPLS_HLEN); in skb_mpls_pop()6511 hdr = (struct ethhdr *)((void *)mpls_hdr(skb) - ETH_HLEN); in skb_mpls_pop()6542 __be32 diff[] = { ~mpls_hdr(skb)->label_stack_entry, mpls_lse }; in skb_mpls_update_lse()6547 mpls_hdr(skb)->label_stack_entry = mpls_lse; in skb_mpls_update_lse()6573 lse = be32_to_cpu(mpls_hdr(skb)->label_stack_entry); in skb_mpls_dec_ttl()
213 stack = mpls_hdr(skb); in set_mpls()