| /dpdk/examples/ip_pipeline/ |
| H A D | cli.c | 1294 p.encap.vxlan.vlan = 1; in cmd_table_action_profile() 1296 p.encap.vxlan.vlan = 0; in cmd_table_action_profile() 1306 p.encap.encap_mask = in cmd_table_action_profile() 3440 a->encap.mpls.unicast = 1; in parse_table_action_encap() 3442 a->encap.mpls.unicast = 0; in parse_table_action_encap() 4962 switch (a->encap.type) { in table_rule_show() 4977 a->encap.vlan.vlan.pcp, in table_rule_show() 4978 a->encap.vlan.vlan.dei, in table_rule_show() 4979 a->encap.vlan.vlan.vid); in table_rule_show() 5051 a->encap.vxlan.udp.sp, in table_rule_show() [all …]
|
| H A D | action.h | 52 struct rte_table_action_encap_config encap; member
|
| H A D | action.c | 285 ¶ms->encap); in table_action_profile_create()
|
| H A D | pipeline.h | 289 struct rte_table_action_encap_params encap; member
|
| H A D | thread.c | 1139 uint64_t encap_mask = ap->params.encap.encap_mask; in action_check() 1140 enum rte_table_action_encap_type type = action->encap.type; in action_check() 2632 &action->encap); in action_convert()
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_cli.c | 2003 p.encap.vxlan.vlan = 1; in cmd_table_action_profile() 2005 p.encap.vxlan.vlan = 0; in cmd_table_action_profile() 2016 p.encap.encap_mask = in cmd_table_action_profile() 4146 a->encap.mpls.unicast = 1; in parse_table_action_encap() 4148 a->encap.mpls.unicast = 0; in parse_table_action_encap() 4164 a->encap.mpls.mpls[0].tc = tc; in parse_table_action_encap() 4172 a->encap.mpls.mpls_count = 1; in parse_table_action_encap() 4188 a->encap.mpls.mpls[1].tc = tc; in parse_table_action_encap() 4196 a->encap.mpls.mpls_count = 2; in parse_table_action_encap() 4212 a->encap.mpls.mpls[2].tc = tc; in parse_table_action_encap() [all …]
|
| H A D | rte_eth_softnic_flow.c | 1703 if (!params->encap.vxlan.vlan) in flow_rule_action_get() 1711 rule_action->encap.vxlan.vlan.pcp = in flow_rule_action_get() 1713 rule_action->encap.vxlan.vlan.dei = in flow_rule_action_get() 1715 rule_action->encap.vxlan.vlan.vid = in flow_rule_action_get() 1726 if (params->encap.vxlan.vlan) in flow_rule_action_get() 1738 rule_action->encap.vxlan.ipv4.sa = in flow_rule_action_get() 1740 rule_action->encap.vxlan.ipv4.da = in flow_rule_action_get() 1744 rule_action->encap.vxlan.ipv4.ttl = in flow_rule_action_get() 1791 rule_action->encap.vxlan.udp.sp = in flow_rule_action_get() 1793 rule_action->encap.vxlan.udp.dp = in flow_rule_action_get() [all …]
|
| H A D | rte_eth_softnic_internals.h | 352 struct rte_table_action_encap_config encap; member 982 struct rte_table_action_encap_params encap; member
|
| H A D | rte_eth_softnic_action.c | 317 ¶ms->encap); in softnic_table_action_profile_create()
|
| H A D | rte_eth_softnic_thread.c | 1165 uint64_t encap_mask = ap->params.encap.encap_mask; in action_check() 1166 enum rte_table_action_encap_type type = action->encap.type; in action_check() 2481 &action->encap); in action_convert()
|
| /dpdk/examples/ip_pipeline/examples/ |
| H A D | route.cli | 32 table action profile AP0 ipv4 offset 270 fwd encap ether 57 pipeline PIPELINE0 table 0 rule add match lpm ipv4 100.0.0.0 10 action fwd port 0 encap ether a0:a1… 58 pipeline PIPELINE0 table 0 rule add match lpm ipv4 100.64.0.0 10 action fwd port 1 encap ether b0:b… 59 pipeline PIPELINE0 table 0 rule add match lpm ipv4 100.128.0.0 10 action fwd port 2 encap ether c0:… 60 pipeline PIPELINE0 table 0 rule add match lpm ipv4 100.192.0.0 10 action fwd port 3 encap ether d0:…
|
| H A D | route_ecmp.cli | 23 table action profile APNH ipv4 offset 270 fwd encap ether 54 pipeline PIPELINE0 table 1 rule add match array 0 action fwd port 0 encap ether a0:a1:a2:a3:a4:a5 0… 55 pipeline PIPELINE0 table 1 rule add match array 1 action fwd port 1 encap ether b0:b1:b2:b3:b4:b5 1… 56 pipeline PIPELINE0 table 1 rule add match array 2 action fwd port 2 encap ether c0:c1:c2:c3:c4:c5 2… 57 pipeline PIPELINE0 table 1 rule add match array 3 action fwd port 3 encap ether d0:d1:d2:d3:d4:d5 3…
|
| /dpdk/lib/pipeline/ |
| H A D | rte_table_action.c | 414 switch (encap) { in encap_valid() 530 switch (encap->encap_mask) { in encap_data_size() 548 if (encap->vxlan.vlan) in encap_data_size() 553 if (encap->vxlan.vlan) in encap_data_size() 1145 encap(ip, data, size); in pkt_work_encap() 2578 &action->cfg.encap, in rte_table_action_apply() 2951 &cfg->encap, in pkt_work() 3208 &cfg->encap, in pkt4_work() 3215 &cfg->encap, in pkt4_work() 3222 &cfg->encap, in pkt4_work() [all …]
|
| /dpdk/drivers/net/ionic/ |
| H A D | ionic_rxtx.c | 298 bool encap, in ionic_tx_tso_post() argument 305 flags |= encap ? IONIC_TXQ_DESC_FLAG_ENCAP : 0; in ionic_tx_tso_post() 357 bool encap; in ionic_tx_tso() local 362 encap = ((ol_flags & RTE_MBUF_F_TX_OUTER_IP_CKSUM) || in ionic_tx_tso() 372 if (encap) { in ionic_tx_tso() 404 encap, in ionic_tx_tso() 445 encap, in ionic_tx_tso() 470 bool encap; in ionic_tx() local 498 encap = ((ol_flags & RTE_MBUF_F_TX_OUTER_IP_CKSUM) || in ionic_tx() 504 flags |= encap ? IONIC_TXQ_DESC_FLAG_ENCAP : 0; in ionic_tx()
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow_hw.c | 372 act_data->encap.src = encap_src; in __flow_hw_act_data_encap_append() 373 act_data->encap.dst = encap_dst; in __flow_hw_act_data_encap_append() 374 act_data->encap.len = len; in __flow_hw_act_data_encap_append() 996 rte_memcpy((void *)&buf[act_data->encap.dst], in flow_hw_actions_construct() 997 enc_item[act_data->encap.src].spec, in flow_hw_actions_construct() 998 act_data->encap.len); in flow_hw_actions_construct() 1003 rte_memcpy((void *)&buf[act_data->encap.dst], in flow_hw_actions_construct() 1004 enc_item[act_data->encap.src].spec, in flow_hw_actions_construct() 1005 act_data->encap.len); in flow_hw_actions_construct() 1014 act_data->encap.len); in flow_hw_actions_construct() [all …]
|
| H A D | mlx5_flow_dv.c | 3468 const struct rte_flow_action_raw_encap *encap, in flow_dv_validate_action_raw_encap_decap() argument 3476 if (encap && (!encap->size || !encap->data)) in flow_dv_validate_action_raw_encap_decap() 3480 if (decap && encap) { in flow_dv_validate_action_raw_encap_decap() 3485 else if (encap->size <= in flow_dv_validate_action_raw_encap_decap() 3490 encap = NULL; in flow_dv_validate_action_raw_encap_decap() 3491 else if (encap->size > in flow_dv_validate_action_raw_encap_decap() 3513 if (encap) { in flow_dv_validate_action_raw_encap_decap() 6861 const struct rte_flow_action_raw_encap *encap; in flow_dv_validate() local 7553 encap = NULL; in flow_dv_validate() 7556 encap = actions->conf; in flow_dv_validate() [all …]
|
| /dpdk/doc/guides/tools/ |
| H A D | flow-perf.rst | 113 Such as header modify and encap actions. Default is using fixed 375 * ``--raw-encap=<DATA>`` 376 Add raw encap action to all flows actions. 378 Example: raw-encap=ether,ipv4,udp,vxlan 385 * ``--vxlan-encap`` 386 Add vxlan encap action to all flows actions. 387 Data to encap is fixed with pattern: ether,ipv4,udp,vxlan,
|
| /dpdk/drivers/net/enic/ |
| H A D | enic_fm_flow.c | 1388 fm_op.encap.outer_vlan = rte_be_to_cpu_16(spec->tci); in enic_fm_copy_vxlan_encap() 1406 fm_op.encap.len1_offset = off + in enic_fm_copy_vxlan_encap() 1408 fm_op.encap.len1_delta = sizeof(struct rte_ipv4_hdr) + in enic_fm_copy_vxlan_encap() 1426 fm_op.encap.len1_offset = off + in enic_fm_copy_vxlan_encap() 1428 fm_op.encap.len1_delta = sizeof(struct rte_udp_hdr) + in enic_fm_copy_vxlan_encap() 1452 fm_op.encap.len2_offset = in enic_fm_copy_vxlan_encap() 1454 fm_op.encap.len2_delta = in enic_fm_copy_vxlan_encap() 1482 fm_op.encap.template_offset = 0; in enic_fm_copy_vxlan_encap() 1483 fm_op.encap.template_len = off; in enic_fm_copy_vxlan_encap() 1838 const struct rte_flow_action_vxlan_encap *encap; in enic_fm_copy_action() local [all …]
|
| /dpdk/drivers/net/enic/base/ |
| H A D | vnic_flowman.h | 275 } __rte_packed encap; member
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | ip_pipeline.rst | 198 …| | * Key = IP dest addr | encap ether | 3. Pipeline create … 340 [encap ether | vlan | qinq | mpls | pppoe] 474 [encap
|
| H A D | ipsec_secgw.rst | 532 <flow-direction> <port_id> <queue_id> <udp-encap> 741 ``<udp-encap>`` 751 * *udp-encap*
|
| /dpdk/doc/guides/nics/ |
| H A D | cxgbe.rst | 368 p1p1 Link encap:Ethernet HWaddr 00:07:43:2D:EA:C0 369 p1p2 Link encap:Ethernet HWaddr 00:07:43:2D:EA:C8 526 p1p1 Link encap:Ethernet HWaddr 00:07:43:2D:EA:C0 527 p1p2 Link encap:Ethernet HWaddr 00:07:43:2D:EA:C8
|
| /dpdk/doc/guides/rel_notes/ |
| H A D | release_21_02.rst | 40 Added support for matching and raw encap/decap of GENEVE TLV option. 87 * Added GTP PDU session container matching and raw encap/decap.
|
| H A D | release_18_11.rst | 109 * Added support for header re-write(L2-L4), VXLAN encap/decap, count, match 111 * Added support for match on metadata, VXLAN and MPLS encap/decap with flow
|
| /dpdk/drivers/common/sfc_efx/base/ |
| H A D | ef10_filter.c | 1208 __in boolean_t encap, in efx_mcdi_get_parser_disp_info() argument 1224 MCDI_IN_SET_DWORD(req, GET_PARSER_DISP_INFO_OUT_OP, encap ? in efx_mcdi_get_parser_disp_info()
|