Home
last modified time | relevance | path

Searched refs:mpls_push (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/netronome/nfp/flower/
Daction.c43 if (act->mpls_push.bos != ACT_MPLS_BOS_NOT_SET) { in nfp_fl_push_mpls()
44 mpls_lse |= act->mpls_push.bos << MPLS_LS_S_SHIFT; in nfp_fl_push_mpls()
51 if (act->mpls_push.tc != ACT_MPLS_TC_NOT_SET) in nfp_fl_push_mpls()
52 mpls_lse |= act->mpls_push.tc << MPLS_LS_TC_SHIFT; in nfp_fl_push_mpls()
55 mpls_lse |= act->mpls_push.label << MPLS_LS_LABEL_SHIFT; in nfp_fl_push_mpls()
56 mpls_lse |= act->mpls_push.ttl << MPLS_LS_TTL_SHIFT; in nfp_fl_push_mpls()
57 push_mpls->ethtype = act->mpls_push.proto; in nfp_fl_push_mpls()
/Linux-v5.10/include/net/
Dflow_offload.h255 } mpls_push; member
/Linux-v5.10/net/sched/
Dcls_api.c3679 entry->mpls_push.proto = tcf_mpls_proto(act); in tc_setup_flow_action()
3680 entry->mpls_push.label = tcf_mpls_label(act); in tc_setup_flow_action()
3681 entry->mpls_push.tc = tcf_mpls_tc(act); in tc_setup_flow_action()
3682 entry->mpls_push.bos = tcf_mpls_bos(act); in tc_setup_flow_action()
3683 entry->mpls_push.ttl = tcf_mpls_ttl(act); in tc_setup_flow_action()
/Linux-v5.10/net/core/
Dpktgen.c2597 static void mpls_push(__be32 *mpls, struct pktgen_dev *pkt_dev) in mpls_push() function
2760 mpls_push(mpls, pkt_dev); in fill_packet_ipv4()
2888 mpls_push(mpls, pkt_dev); in fill_packet_ipv6()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c4125 bool mpls_push = false; in parse_tc_fdb_actions() local
4156 act->mpls_push.proto != htons(ETH_P_MPLS_UC)) { in parse_tc_fdb_actions()
4161 mpls_push = true; in parse_tc_fdb_actions()
4216 if (mpls_push && !netif_is_bareudp(out_dev)) { in parse_tc_fdb_actions()