Home
last modified time | relevance | path

Searched refs:mpls_mangle (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Daction.c83 if (act->mpls_mangle.label != ACT_MPLS_LABEL_NOT_SET) { in nfp_fl_set_mpls()
84 mpls_lse |= act->mpls_mangle.label << MPLS_LS_LABEL_SHIFT; in nfp_fl_set_mpls()
87 if (act->mpls_mangle.tc != ACT_MPLS_TC_NOT_SET) { in nfp_fl_set_mpls()
88 mpls_lse |= act->mpls_mangle.tc << MPLS_LS_TC_SHIFT; in nfp_fl_set_mpls()
91 if (act->mpls_mangle.bos != ACT_MPLS_BOS_NOT_SET) { in nfp_fl_set_mpls()
92 mpls_lse |= act->mpls_mangle.bos << MPLS_LS_S_SHIFT; in nfp_fl_set_mpls()
95 if (act->mpls_mangle.ttl) { in nfp_fl_set_mpls()
96 mpls_lse |= act->mpls_mangle.ttl << MPLS_LS_TTL_SHIFT; in nfp_fl_set_mpls()
/Linux-v5.4/include/net/
Dflow_offload.h215 } mpls_mangle; member
/Linux-v5.4/net/sched/
Dcls_api.c3559 entry->mpls_mangle.label = tcf_mpls_label(act); in tc_setup_flow_action()
3560 entry->mpls_mangle.tc = tcf_mpls_tc(act); in tc_setup_flow_action()
3561 entry->mpls_mangle.bos = tcf_mpls_bos(act); in tc_setup_flow_action()
3562 entry->mpls_mangle.ttl = tcf_mpls_ttl(act); in tc_setup_flow_action()