Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
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()
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()
Dact.h22 bool mpls_push; member
/linux-6.12.1/net/sched/
Dact_mpls.c395 entry->mpls_push.proto = tcf_mpls_proto(act); in tcf_mpls_offload_act_setup()
396 entry->mpls_push.label = tcf_mpls_label(act); in tcf_mpls_offload_act_setup()
397 entry->mpls_push.tc = tcf_mpls_tc(act); in tcf_mpls_offload_act_setup()
398 entry->mpls_push.bos = tcf_mpls_bos(act); in tcf_mpls_offload_act_setup()
399 entry->mpls_push.ttl = tcf_mpls_ttl(act); in tcf_mpls_offload_act_setup()
/linux-6.12.1/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-6.12.1/include/net/
Dflow_offload.h309 } mpls_push; member
/linux-6.12.1/net/core/
Dpktgen.c2754 static void mpls_push(__be32 *mpls, struct pktgen_dev *pkt_dev) in mpls_push() function
2920 mpls_push(mpls, pkt_dev); in fill_packet_ipv4()
3048 mpls_push(mpls, pkt_dev); in fill_packet_ipv6()