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 …]
1554 u32 mpls_hdr; in dr_ste_v1_build_tnl_mpls_over_udp_tag() local1556 mpls_hdr = misc2->outer_first_mpls_over_udp_label << HDR_MPLS_OFFSET_LABEL; in dr_ste_v1_build_tnl_mpls_over_udp_tag()1558 mpls_hdr |= misc2->outer_first_mpls_over_udp_exp << HDR_MPLS_OFFSET_EXP; in dr_ste_v1_build_tnl_mpls_over_udp_tag()1560 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()1562 mpls_hdr |= misc2->outer_first_mpls_over_udp_ttl << HDR_MPLS_OFFSET_TTL; in dr_ste_v1_build_tnl_mpls_over_udp_tag()1567 *(__be32 *)parser_ptr = cpu_to_be32(mpls_hdr); in dr_ste_v1_build_tnl_mpls_over_udp_tag()1595 u32 mpls_hdr; in dr_ste_v1_build_tnl_mpls_over_gre_tag() local1597 mpls_hdr = misc2->outer_first_mpls_over_gre_label << HDR_MPLS_OFFSET_LABEL; in dr_ste_v1_build_tnl_mpls_over_gre_tag()1599 mpls_hdr |= misc2->outer_first_mpls_over_gre_exp << HDR_MPLS_OFFSET_EXP; in dr_ste_v1_build_tnl_mpls_over_gre_tag()1601 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
125 hdr = mpls_hdr(skb); in mpls_xmit()
172 hdr = mpls_hdr(skb) + label_index; in mpls_multipath_hash()383 hdr = mpls_hdr(skb); in mpls_forward()444 hdr = mpls_hdr(skb); in mpls_forward()2448 hdr = mpls_hdr(skb); in mpls_getroute()
110 new_lse = tcf_mpls_get_lse(mpls_hdr(skb), p, false); in tcf_mpls_act()
5976 lse = mpls_hdr(skb); in skb_mpls_push()6012 skb_postpull_rcsum(skb, mpls_hdr(skb), MPLS_HLEN); in skb_mpls_pop()6024 hdr = (struct ethhdr *)((void *)mpls_hdr(skb) - ETH_HLEN); in skb_mpls_pop()6055 __be32 diff[] = { ~mpls_hdr(skb)->label_stack_entry, mpls_lse }; in skb_mpls_update_lse()6060 mpls_hdr(skb)->label_stack_entry = mpls_lse; in skb_mpls_update_lse()6086 lse = be32_to_cpu(mpls_hdr(skb)->label_stack_entry); in skb_mpls_dec_ttl()
206 stack = mpls_hdr(skb); in set_mpls()