/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc_fs.c | 998 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 D | rvu_debugfs.c | 2882 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 D | mbox.h | 1562 u32 mpls_lse[4]; member in struct:flow_msg
|
/linux-master/include/uapi/linux/ |
H A D | openvswitch.h | 439 __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 D | action.c | 37 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 D | match.c | 153 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 D | cmsg.h | 325 __be32 mpls_lse; member in struct:nfp_flower_mac_mpls
|
H A D | offload.c | 1206 if (mac->mpls_lse) {
|
/linux-master/net/openvswitch/ |
H A D | actions.c | 166 __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 D | flow_netlink.c | 1672 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 D | otx2_tc.c | 899 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 D | flow_dissector.c | 1038 int mpls_lse = 0; local 1412 nhoff, hlen, mpls_lse, 1415 mpls_lse++;
|
H A D | skbuff.c | 6316 * @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 D | tc_flower.sh | 378 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 D | skbuff.h | 4097 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);
|