Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dmpls.c18 act->mpls_push.proto != htons(ETH_P_MPLS_UC)) { in tc_act_can_offload_mpls_push()
30 mpls_info->label = act->mpls_push.label; in copy_mpls_info()
31 mpls_info->tc = act->mpls_push.tc; in copy_mpls_info()
32 mpls_info->bos = act->mpls_push.bos; in copy_mpls_info()
33 mpls_info->ttl = act->mpls_push.ttl; in copy_mpls_info()
42 parse_state->mpls_push = true; in tc_act_parse_mpls_push()
H A Dmirred.c124 if (parse_state->mpls_push && !netif_is_bareudp(out_dev)) { in tc_act_can_offload_mirred()
129 if (parse_state->eth_pop && !parse_state->mpls_push) { in tc_act_can_offload_mirred()
193 if (parse_state->mpls_push) { in parse_mirred_encap()
196 parse_state->mpls_push = false; in parse_mirred_encap()
H A Dact.h22 bool mpls_push; member
/linux/net/sched/
H A Dact_mpls.c392 entry->mpls_push.proto = tcf_mpls_proto(act); in tcf_mpls_offload_act_setup()
393 entry->mpls_push.label = tcf_mpls_label(act); in tcf_mpls_offload_act_setup()
394 entry->mpls_push.tc = tcf_mpls_tc(act); in tcf_mpls_offload_act_setup()
395 entry->mpls_push.bos = tcf_mpls_bos(act); in tcf_mpls_offload_act_setup()
396 entry->mpls_push.ttl = tcf_mpls_ttl(act); in tcf_mpls_offload_act_setup()