Home
last modified time | relevance | path

Searched refs:layer (Results 1 – 25 of 48) sorted by relevance

12

/dpdk/drivers/net/enic/
H A Denic_flow.c519 l5_val = gp->layer[FILTER_GENERIC_1_L5].val; in copy_inner_common()
1025 uint8_t layer[FILTER_GENERIC_1_KEY_LEN]; in fixup_l5_layer() local
1038 memset(layer, 0, sizeof(layer)); in fixup_l5_layer()
1039 memcpy(layer, gp->layer[FILTER_GENERIC_1_L5].mask + vxlan, inner); in fixup_l5_layer()
1040 memcpy(gp->layer[FILTER_GENERIC_1_L5].mask, layer, sizeof(layer)); in fixup_l5_layer()
1041 memset(layer, 0, sizeof(layer)); in fixup_l5_layer()
1042 memcpy(layer, gp->layer[FILTER_GENERIC_1_L5].val + vxlan, inner); in fixup_l5_layer()
1043 memcpy(gp->layer[FILTER_GENERIC_1_L5].val, layer, sizeof(layer)); in fixup_l5_layer()
1446 while (mbyte && !gp->layer[i].mask[mbyte]) in enic_dump_filter()
1454 gp->layer[i].mask[j]); in enic_dump_filter()
[all …]
/dpdk/drivers/net/iavf/
H A Diavf_fdir.c696 if (layer < 0 || layer > hdrs->count) in iavf_fdir_add_fragment_hdr()
710 hdrs->count = ++layer; in iavf_fdir_add_fragment_hdr()
749 int layer = 0; in iavf_fdir_parse_pattern() local
825 hdrs->count = ++layer; in iavf_fdir_parse_pattern()
907 hdrs->count = ++layer; in iavf_fdir_parse_pattern()
997 hdrs->count = ++layer; in iavf_fdir_parse_pattern()
1038 hdrs->count = ++layer; in iavf_fdir_parse_pattern()
1082 hdrs->count = ++layer; in iavf_fdir_parse_pattern()
1131 hdrs->count = ++layer; in iavf_fdir_parse_pattern()
1169 hdrs->count = ++layer; in iavf_fdir_parse_pattern()
[all …]
H A Diavf_hash.c881 iavf_hash_add_fragment_hdr(struct virtchnl_proto_hdrs *hdrs, int layer) in iavf_hash_add_fragment_hdr() argument
887 if (layer < 0 || layer > hdrs->count) in iavf_hash_add_fragment_hdr()
891 for (i = hdrs->count; i >= layer; i--) { in iavf_hash_add_fragment_hdr()
898 hdr1 = &hdrs->proto_hdr[layer]; in iavf_hash_add_fragment_hdr()
900 hdrs->count = ++layer; in iavf_hash_add_fragment_hdr()
/dpdk/drivers/common/cnxk/
H A Droc_nix_ops.c26 field->layer = NIX_TXLAYER_OL3; in nix_lso_tcp()
33 field->layer = NIX_TXLAYER_OL3; in nix_lso_tcp()
42 field->layer = NIX_TXLAYER_OL4; in nix_lso_tcp()
48 field->layer = NIX_TXLAYER_OL4; in nix_lso_tcp()
64 field->layer = NIX_TXLAYER_OL3; in nix_lso_udp_tun_tcp()
71 field->layer = NIX_TXLAYER_OL3; in nix_lso_udp_tun_tcp()
80 field->layer = NIX_TXLAYER_OL4; in nix_lso_udp_tun_tcp()
87 field->layer = NIX_TXLAYER_IL3; in nix_lso_udp_tun_tcp()
103 field->layer = NIX_TXLAYER_IL4; in nix_lso_udp_tun_tcp()
110 field->layer = NIX_TXLAYER_IL4; in nix_lso_udp_tun_tcp()
[all …]
H A Droc_npc.c646 uint8_t layer = 0; in npc_parse_pattern() local
666 layer < PLT_DIM(parse_stage_funcs)) { in npc_parse_pattern()
671 rc = parse_stage_funcs[layer](pst); in npc_parse_pattern()
675 layer++; in npc_parse_pattern()
/dpdk/app/test/
H A Dtest_devargs.c19 test_args(const char *devargs, const char *layer, const char *args, const int n) in test_args() argument
26 devargs, layer); in test_args()
34 devargs, layer); in test_args()
40 devargs, layer, args); in test_args()
45 devargs, layer, args, kvlist->count, n); in test_args()
/dpdk/doc/guides/nics/
H A Doverview.rst12 Some physical devices may be shaped through a virtual layer as for
16 The ethdev layer exposes an API to use the networking functions
H A Dnfb.rst11 library to communicate with these cards over the nfb layer.
28 allocation of resources needed for nfb layer function.
H A Dbuild_and_test.rst29 The ethdev layer supports below build options for debug purpose:
H A Dsfc_efx.rst136 outer layer 4 packet type.
291 layer and above.
296 transport layer and above.
H A Dpfe.rst91 the kernel layer for link status.
/dpdk/drivers/net/sfc/
H A Dsfc_flow.c1137 .layer = SFC_FLOW_ITEM_ANY_LAYER,
1145 .layer = SFC_FLOW_ITEM_L2,
1153 .layer = SFC_FLOW_ITEM_L2,
1161 .layer = SFC_FLOW_ITEM_L2,
1169 .layer = SFC_FLOW_ITEM_L2,
1177 .layer = SFC_FLOW_ITEM_L3,
1185 .layer = SFC_FLOW_ITEM_L3,
1193 .layer = SFC_FLOW_ITEM_L4,
1201 .layer = SFC_FLOW_ITEM_L4,
1209 .layer = SFC_FLOW_ITEM_START_LAYER,
[all …]
H A Dsfc_mae.c2541 .layer = SFC_FLOW_ITEM_ANY_LAYER,
2553 .layer = SFC_FLOW_ITEM_ANY_LAYER,
2565 .layer = SFC_FLOW_ITEM_ANY_LAYER,
2577 .layer = SFC_FLOW_ITEM_ANY_LAYER,
2589 .layer = SFC_FLOW_ITEM_ANY_LAYER,
2621 .layer = SFC_FLOW_ITEM_L2,
2629 .layer = SFC_FLOW_ITEM_L2,
2637 .layer = SFC_FLOW_ITEM_L3,
2645 .layer = SFC_FLOW_ITEM_L3,
2653 .layer = SFC_FLOW_ITEM_L4,
[all …]
H A Dsfc_flow.h143 enum sfc_flow_item_layers layer; /* Layer of item */ member
/dpdk/drivers/net/ice/base/
H A Dice_sched.c182 if (hw->max_children[layer]) { in ice_sched_add_node()
194 node->tx_sched_layer = layer; in ice_sched_add_node()
269 struct ice_sched_node *parent, u8 layer) in ice_sched_get_first_node() argument
271 return pi->sib_head[parent->tc_num][layer]; in ice_sched_get_first_node()
956 if (!pi->sib_head[tc_node->tc_num][layer]) in ice_sched_add_elems()
982 struct ice_sched_node *parent, u8 layer, in ice_sched_add_nodes_to_hw_layer() argument
1040 layer, new_num_nodes, in ice_sched_add_nodes_to_layer()
1109 if (layer > hw->sw_entry_point_layer) in ice_sched_get_vsi_layer()
1110 return layer; in ice_sched_get_vsi_layer()
1131 if (layer > hw->sw_entry_point_layer) in ice_sched_get_agg_layer()
[all …]
H A Dice_sched.h103 ice_sched_add_node(struct ice_port_info *pi, u8 layer,
/dpdk/doc/guides/howto/
H A Dvirtio_user_for_container_networking.rst41 which can be attached and initialized by DPDK. The device emulation layer by
43 in DPDK's ether layer. And to minimize the change, we reuse already-existing
/dpdk/doc/guides/prog_guide/
H A Dlink_bonding_poll_mode_drv_lib.rst78 transmission policies supported are layer 2+3, this takes the IP source and
80 the final supported policy is layer 3+4, this uses IP source and
443 to l2 (layer 2) forwarding, the other transmission policies available are
444 l23 (layer 2+3) and l34 (layer 3+4)
495 …h two slaves specified by their PCI addresses, and a transmission policy of layer 3 + 4 forwarding:
H A Drte_flow.rst765 layer to form a matching pattern.
1331 - Default ``mask`` matches source link-layer address only.
1478 layer is L3 and for TCP or UDP packet the topmost network layer is L4.
1479 - ``l2_ok``: all layer 2 HW integrity checks passed.
1480 - ``l3_ok``: all layer 3 HW integrity checks passed.
1481 - ``l4_ok``: all layer 4 HW integrity checks passed.
1482 - ``l2_crc_ok``: layer 2 CRC check passed.
1484 - ``l4_csum_ok``: layer 4 checksum check passed.
2569 be a valid header, either holding layer 2 data in case of adding layer 2 after
2595 be a valid header, either holding layer 2 data in case of removing layer 2
[all …]
H A Drawdev.rst19 exposed from driver layer. However this may still require changes in bus code
H A Dglossary.rst159 An abbreviation for the physical layer of the OSI model.
H A Dthread_safety_dpdk_functions.rst53 Since this is not performance sensitive, the developer can choose to add their own layer to provide…
/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst1144 * ``ip|udp|tcp|sctp`` always relate to the inner layer.
1186 it is for all configuration about queue region from up layer,
1928 Configure the outer layer to decapsulate MPLSoGRE packet::
1958 Configure the outer layer to decapsulate MPLSoUDP packet::
2634 in balance mode with a transmission policy of layer 2+3::
3924 - ``any``: match any protocol for the current layer.
4094 link-layer address option.
4099 link-layer address option.
4353 - ``mplsogre_encap``: Performs a MPLSoGRE encapsulation, outer layer
4356 - ``mplsogre_decap``: Performs a MPLSoGRE decapsulation, outer layer
[all …]
/dpdk/doc/guides/sample_app_ug/
H A Dpipeline.rst102 During this stage, EAL layer is initialised and application specific arguments are parsed. Furtherm…
H A Dip_pipeline.rst70 The following is an example command to run ip pipeline application configured for layer 2 forwardin…
116 During this stage, EAL layer is initialised and application specific arguments are parsed. Furtherm…

12