Searched refs:mpls_lse (Results 1 - 15 of 15) sorted by relevance

/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_fs.c998 NPC_WRITE_FLOW(NPC_MPLS1_LBTCBOS, mpls_lse,
1000 pkt->mpls_lse[0]), 0,
1002 mask->mpls_lse[0]), 0);
1003 NPC_WRITE_FLOW(NPC_MPLS1_TTL, mpls_lse,
1005 pkt->mpls_lse[0]), 0,
1007 mask->mpls_lse[0]), 0);
1008 NPC_WRITE_FLOW(NPC_MPLS2_LBTCBOS, mpls_lse,
1010 pkt->mpls_lse[1]), 0,
1012 mask->mpls_lse[1]), 0);
1013 NPC_WRITE_FLOW(NPC_MPLS2_TTL, mpls_lse,
[all...]
H A Drvu_debugfs.c2882 RVU_DBG_PRINT_MPLS_LBTCBOS(rule->packet.mpls_lse[0],
2883 rule->mask.mpls_lse[0]);
2886 RVU_DBG_PRINT_MPLS_TTL(rule->packet.mpls_lse[0],
2887 rule->mask.mpls_lse[0]);
2890 RVU_DBG_PRINT_MPLS_LBTCBOS(rule->packet.mpls_lse[1],
2891 rule->mask.mpls_lse[1]);
2894 RVU_DBG_PRINT_MPLS_TTL(rule->packet.mpls_lse[1],
2895 rule->mask.mpls_lse[1]);
2898 RVU_DBG_PRINT_MPLS_LBTCBOS(rule->packet.mpls_lse[2],
2899 rule->mask.mpls_lse[
[all...]
H A Dmbox.h1562 u32 mpls_lse[4]; member in struct:flow_msg
/linux-master/include/uapi/linux/
H A Dopenvswitch.h439 __be32 mpls_lse; member in struct:ovs_key_mpls
706 * @mpls_lse: MPLS label stack entry to push.
713 __be32 mpls_lse; member in struct:ovs_action_push_mpls
720 * @mpls_lse: MPLS label stack entry to push.
728 __be32 mpls_lse; member in struct:ovs_action_add_mpls
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Daction.c37 u32 mpls_lse = 0; local
44 mpls_lse |= act->mpls_push.bos << MPLS_LS_S_SHIFT;
52 mpls_lse |= act->mpls_push.tc << MPLS_LS_TC_SHIFT;
55 mpls_lse |= act->mpls_push.label << MPLS_LS_LABEL_SHIFT;
56 mpls_lse |= act->mpls_push.ttl << MPLS_LS_TTL_SHIFT;
58 push_mpls->lse = cpu_to_be32(mpls_lse);
79 u32 mpls_lse = 0, mpls_mask = 0; local
85 mpls_lse |= act->mpls_mangle.label << MPLS_LS_LABEL_SHIFT;
89 mpls_lse |= act->mpls_mangle.tc << MPLS_LS_TC_SHIFT;
93 mpls_lse |
[all...]
H A Dmatch.c153 ext->mpls_lse |= cpu_to_be32((key_mpls & msk_mpls));
154 msk->mpls_lse |= cpu_to_be32(msk_mpls);
165 ext->mpls_lse |= cpu_to_be32(NFP_FLOWER_MASK_MPLS_Q);
166 msk->mpls_lse |= cpu_to_be32(NFP_FLOWER_MASK_MPLS_Q);
H A Dcmsg.h325 __be32 mpls_lse; member in struct:nfp_flower_mac_mpls
H A Doffload.c1206 if (mac->mpls_lse) {
/linux-master/net/openvswitch/
H A Dactions.c166 __be32 mpls_lse, __be16 mpls_ethertype, __u16 mac_len)
170 err = skb_mpls_push(skb, mpls_lse, mpls_ethertype, mac_len, !!mac_len);
199 const __be32 *mpls_lse, const __be32 *mask)
209 lse = OVS_MASKED(stack->label_stack_entry, *mpls_lse, *mask);
1362 err = push_mpls(skb, key, mpls->mpls_lse,
1373 err = push_mpls(skb, key, mpls->mpls_lse,
165 push_mpls(struct sk_buff *skb, struct sw_flow_key *key, __be32 mpls_lse, __be16 mpls_ethertype, __u16 mac_len) argument
198 set_mpls(struct sk_buff *skb, struct sw_flow_key *flow_key, const __be32 *mpls_lse, const __be32 *mask) argument
H A Dflow_netlink.c1672 mpls_key[i].mpls_lse, is_mask);
2177 mpls_key[i].mpls_lse = output->mpls.lse[i];
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c899 flow_spec->mpls_lse[bit] =
907 flow_mask->mpls_lse[bit] =
919 flow_spec->mpls_lse[bit] |=
922 flow_mask->mpls_lse[bit] |=
/linux-master/net/core/
H A Dflow_dissector.c1038 int mpls_lse = 0; local
1412 nhoff, hlen, mpls_lse,
1415 mpls_lse++;
H A Dskbuff.c6316 * @mpls_lse: MPLS label stack entry to push
6326 int skb_mpls_push(struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, argument
6356 lse->label_stack_entry = mpls_lse;
6416 * @mpls_lse: new MPLS label stack entry to update to
6422 int skb_mpls_update_lse(struct sk_buff *skb, __be32 mpls_lse) argument
6434 __be32 diff[] = { ~mpls_hdr(skb)->label_stack_entry, mpls_lse };
6439 mpls_hdr(skb)->label_stack_entry = mpls_lse;
/linux-master/tools/testing/selftests/net/forwarding/
H A Dtc_flower.sh378 mpls_lse() function
406 pkt="$ethtype $(mpls_lse 1048575 0 1 255)"
415 pkt="$ethtype $(mpls_lse 0 0 1 255)"
444 pkt="$ethtype $(mpls_lse 0 7 1 255)"
453 pkt="$ethtype $(mpls_lse 0 0 1 255)"
482 pkt="$ethtype $(mpls_lse 0 0 1 255)"
492 pkt="$ethtype $(mpls_lse 0 0 0 255) $(mpls_lse 0 0 1 255)"
521 pkt="$ethtype $(mpls_lse 0 0 1 255)"
530 pkt="$ethtype $(mpls_lse
[all...]
/linux-master/include/linux/
H A Dskbuff.h4097 int skb_mpls_push(struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto,
4101 int skb_mpls_update_lse(struct sk_buff *skb, __be32 mpls_lse);

Completed in 233 milliseconds