├── .gitignore ├── app ├── test │ ├── test_pci_sysfs │ │ └── bus │ │ │ └── pci │ │ │ └── devices │ │ │ ├── 0000:01:00.0 │ │ │ ├── irq │ │ │ ├── enable │ │ │ ├── msi_bus │ │ │ ├── class │ │ │ ├── device │ │ │ ├── dma_mask_bits │ │ │ ├── numa_node │ │ │ ├── sriov_numvfs │ │ │ ├── vendor │ │ │ ├── sriov_totalvfs │ │ │ ├── subsystem_device │ │ │ ├── subsystem_vendor │ │ │ ├── consistent_dma_mask_bits │ │ │ ├── modalias │ │ │ ├── config │ │ │ ├── uevent │ │ │ └── resource │ │ │ ├── 0000:01:02.0 │ │ │ ├── class │ │ │ ├── device │ │ │ ├── vendor │ │ │ ├── subsystem_device │ │ │ ├── subsystem_vendor │ │ │ └── resource │ │ │ └── 0000:02:ab.0 │ │ │ ├── class │ │ │ ├── device │ │ │ ├── vendor │ │ │ ├── subsystem_device │ │ │ ├── subsystem_vendor │ │ │ └── resource │ ├── test_table_acl.h │ └── test_table_pipeline.h └── cmdline_test │ └── cmdline_test.h ├── .gitattributes ├── drivers ├── crypto │ ├── qat │ │ └── rte_pmd_qat_version.map │ ├── zuc │ │ └── rte_pmd_zuc_version.map │ ├── aesni_mb │ │ └── rte_pmd_aesni_version.map │ ├── kasumi │ │ └── rte_pmd_kasumi_version.map │ ├── snow3g │ │ └── rte_pmd_snow3g_version.map │ ├── aesni_gcm │ │ └── rte_pmd_aesni_gcm_version.map │ ├── null │ │ └── rte_pmd_null_crypto_version.map │ └── openssl │ │ └── rte_pmd_openssl_version.map ├── net │ ├── mlx5 │ │ └── rte_pmd_mlx5_version.map │ ├── nfp │ │ └── rte_pmd_nfp_version.map │ ├── ena │ │ ├── rte_pmd_ena_version.map │ │ └── base │ │ │ └── ena_defs │ │ │ ├── ena_gen_info.h │ │ │ └── ena_includes.h │ ├── enic │ │ ├── rte_pmd_enic_version.map │ │ └── LICENSE │ ├── i40e │ │ └── rte_pmd_i40e_version.map │ ├── mlx4 │ │ └── rte_pmd_mlx4_version.map │ ├── mpipe │ │ ├── rte_pmd_mpipe_version.map │ │ └── Makefile │ ├── pcap │ │ └── rte_pmd_pcap_version.map │ ├── bnx2x │ │ ├── rte_pmd_bnx2x_version.map │ │ ├── Makefile │ │ ├── LICENSE.bnx2x_pmd │ │ └── bnx2x_logs.h │ ├── bnxt │ │ └── rte_pmd_bnxt_version.map │ ├── cxgbe │ │ └── rte_pmd_cxgbe_version.map │ ├── e1000 │ │ └── rte_pmd_e1000_version.map │ ├── fm10k │ │ └── rte_pmd_fm10k_version.map │ ├── qede │ │ ├── rte_pmd_qede_version.map │ │ ├── base │ │ │ ├── ecore_status.h │ │ │ ├── ecore_gtt_values.h │ │ │ ├── ecore_utils.h │ │ │ ├── ecore_sp_api.h │ │ │ ├── ecore_cxt_api.h │ │ │ ├── ecore_hw_defs.h │ │ │ └── ecore_gtt_reg_addr.h │ │ └── LICENSE.qede_pmd │ ├── szedata2 │ │ └── rte_pmd_szedata2_version.map │ ├── virtio │ │ └── rte_pmd_virtio_version.map │ ├── af_packet │ │ └── rte_pmd_af_packet_version.map │ ├── vmxnet3 │ │ ├── rte_pmd_vmxnet3_version.map │ │ └── base │ │ │ ├── vmware_pack_begin.h │ │ │ └── vmware_pack_end.h │ ├── thunderx │ │ └── rte_pmd_thunderx_nicvf_version.map │ ├── xenvirt │ │ └── rte_eth_xenvirt_version.map │ ├── null │ │ ├── rte_pmd_null_version.map │ │ └── rte_eth_null.h │ ├── ring │ │ └── rte_eth_ring_version.map │ ├── vhost │ │ └── rte_pmd_vhost_version.map │ ├── ixgbe │ │ └── rte_pmd_ixgbe_version.map │ └── bonding │ │ └── rte_eth_bond_version.map └── Makefile ├── examples ├── ip_pipeline │ ├── config │ │ ├── ip_pipeline.sh │ │ ├── ip_pipeline.cfg │ │ ├── firewall.txt │ │ ├── flow.txt │ │ ├── firewall.sh │ │ ├── edge_router_downstream.sh │ │ ├── flow.sh │ │ ├── action.txt │ │ ├── edge_router_upstream.sh │ │ └── l3fwd.sh │ └── pipeline │ │ └── pipeline_master.h ├── dpdk_qat │ └── config_files │ │ └── coleto │ │ └── dh895xcc_qa_dev0.conf ├── bond │ └── main.h ├── cmdline │ └── commands.h ├── quota_watermark │ ├── qwctl │ │ ├── qwctl.h │ │ └── commands.h │ └── qw │ │ └── args.h └── multi_process │ └── client_server_mp │ └── mp_server │ └── args.h ├── doc ├── guides │ ├── nics │ │ ├── img │ │ │ ├── console.png │ │ │ ├── vm_vm_comms.png │ │ │ ├── vmxnet3_int.png │ │ │ ├── vswitch_vm.png │ │ │ ├── fast_pkt_proc.png │ │ │ ├── forward_stats.png │ │ │ ├── host_vm_comms.png │ │ │ ├── inter_vm_comms.png │ │ │ ├── perf_benchmark.png │ │ │ ├── single_port_nic.png │ │ │ └── host_vm_comms_qemu.png │ │ └── features │ │ │ ├── nfp.ini │ │ │ ├── null.ini │ │ │ ├── ring.ini │ │ │ ├── mpipe.ini │ │ │ ├── afpacket.ini │ │ │ ├── bonding.ini │ │ │ ├── xenvirt.ini │ │ │ ├── vhost.ini │ │ │ ├── bnx2x.ini │ │ │ ├── bnxt.ini │ │ │ ├── pcap.ini │ │ │ ├── bnx2x_vf.ini │ │ │ ├── szedata2.ini │ │ │ ├── virtio_vec.ini │ │ │ ├── virtio.ini │ │ │ ├── ena.ini │ │ │ ├── igb_vf.ini │ │ │ ├── e1000.ini │ │ │ ├── fm10k_vf.ini │ │ │ ├── vmxnet3.ini │ │ │ ├── fm10k_vf_vec.ini │ │ │ ├── i40e_vf_vec.ini │ │ │ ├── ixgbe_vf_vec.ini │ │ │ ├── enic.ini │ │ │ ├── thunderx.ini │ │ │ ├── cxgbe.ini │ │ │ ├── mlx4.ini │ │ │ ├── qede.ini │ │ │ ├── fm10k.ini │ │ │ ├── qede_vf.ini │ │ │ ├── fm10k_vec.ini │ │ │ ├── mlx5.ini │ │ │ ├── i40e_vf.ini │ │ │ ├── ixgbe_vf.ini │ │ │ ├── i40e_vec.ini │ │ │ ├── igb.ini │ │ │ ├── ixgbe_vec.ini │ │ │ ├── i40e.ini │ │ │ ├── ixgbe.ini │ │ │ └── default.ini │ ├── xen │ │ ├── img │ │ │ ├── grant_refs.png │ │ │ ├── grant_table.png │ │ │ └── dpdk_xen_pkt_switch.png │ │ └── index.rst │ ├── prog_guide │ │ └── img │ │ │ ├── figure32.png │ │ │ ├── figure33.png │ │ │ ├── figure34.png │ │ │ ├── figure35.png │ │ │ ├── figure37.png │ │ │ ├── figure38.png │ │ │ ├── figure39.png │ │ │ ├── eq2_factor.png │ │ │ ├── tbl24_tbl8.png │ │ │ ├── m_definition.png │ │ │ ├── pkt_flow_kni.png │ │ │ ├── eq2_expression.png │ │ │ ├── hier_sched_blk.png │ │ │ ├── kernel_nic_intf.png │ │ │ ├── tbl24_tbl8_tbl8.png │ │ │ ├── vhost_net_arch.png │ │ │ ├── blk_diag_dropper.png │ │ │ ├── ewma_filter_eq_1.png │ │ │ ├── ewma_filter_eq_2.png │ │ │ ├── flow_tru_droppper.png │ │ │ ├── kni_traffic_flow.png │ │ │ ├── pipe_prefetch_sm.png │ │ │ ├── prefetch_pipeline.png │ │ │ ├── data_struct_per_port.png │ │ │ ├── drop_probability_eq3.png │ │ │ ├── drop_probability_eq4.png │ │ │ ├── packet_distributor1.png │ │ │ ├── packet_distributor2.png │ │ │ ├── pkt_drop_probability.png │ │ │ ├── sched_hier_per_port.png │ │ │ ├── drop_probability_graph.png │ │ │ ├── pkt_proc_pipeline_qos.png │ │ │ └── ex_data_flow_tru_dropper.png │ ├── sample_app_ug │ │ └── img │ │ │ ├── kernel_nic.png │ │ │ ├── example_rules.png │ │ │ ├── ipv4_acl_rule.png │ │ │ ├── load_bal_app_arch.png │ │ │ ├── master_slave_proc.png │ │ │ ├── pipeline_overview.png │ │ │ ├── slave_proc_recov.png │ │ │ ├── test_pipeline_app.png │ │ │ ├── threads_pipelines.png │ │ │ ├── qos_sched_app_arch.png │ │ │ ├── sym_multi_proc_app.png │ │ │ ├── quickassist_block_diagram.png │ │ │ ├── ring_pipeline_perf_setup.png │ │ │ ├── client_svr_sym_multi_proc_app.png │ │ │ └── l2_fwd_virtenv_benchmark_setup.png │ ├── contributing │ │ ├── cheatsheet.rst │ │ └── index.rst │ ├── tools │ │ └── index.rst │ ├── faq │ │ └── index.rst │ ├── howto │ │ └── index.rst │ ├── testpmd_app_ug │ │ └── index.rst │ ├── cryptodevs │ │ └── index.rst │ └── freebsd_gsg │ │ └── index.rst ├── logo │ ├── DPDK_logo_horizontal_tag.png │ └── DPDK_logo_vertical_rev_small.png ├── build-sdk-quick.txt └── api │ └── doxy-html-custom.sh ├── lib ├── librte_net │ └── rte_net_version.map ├── librte_kvargs │ └── rte_kvargs_version.map ├── librte_reorder │ └── rte_reorder_version.map ├── librte_pdump │ └── rte_pdump_version.map ├── librte_meter │ └── rte_meter_version.map ├── librte_timer │ └── rte_timer_version.map ├── librte_ip_frag │ └── rte_ipfrag_version.map ├── librte_ring │ └── rte_ring_version.map ├── librte_kni │ └── rte_kni_version.map ├── librte_power │ ├── rte_power_version.map │ └── rte_power_common.h ├── librte_distributor │ └── rte_distributor_version.map ├── librte_acl │ └── rte_acl_version.map ├── librte_eal │ ├── linuxapp │ │ └── xen_dom0 │ │ │ └── compat.h │ ├── common │ │ └── include │ │ │ └── arch │ │ │ ├── ppc_64 │ │ │ └── rte_rwlock.h │ │ │ └── arm │ │ │ ├── rte_rwlock.h │ │ │ ├── rte_cycles.h │ │ │ ├── rte_memcpy.h │ │ │ ├── rte_cpuflags.h │ │ │ └── rte_prefetch.h │ ├── bsdapp │ │ ├── contigmem │ │ │ └── BSDmakefile │ │ ├── nic_uio │ │ │ └── BSDmakefile │ │ └── Makefile │ └── Makefile ├── librte_cfgfile │ └── rte_cfgfile_version.map ├── librte_jobstats │ └── rte_jobstats_version.map ├── librte_vhost │ └── rte_vhost_version.map ├── librte_sched │ ├── rte_sched_version.map │ └── rte_reciprocal.h ├── librte_lpm │ └── rte_lpm_version.map ├── librte_mbuf │ └── rte_mbuf_version.map ├── librte_table │ └── rte_table_version.map ├── librte_hash │ └── rte_hash_version.map ├── librte_pipeline │ └── rte_pipeline_version.map ├── librte_mempool │ └── rte_mempool_version.map ├── librte_port │ └── rte_port_version.map ├── librte_cryptodev │ └── rte_cryptodev_version.map ├── librte_cmdline │ └── rte_cmdline_version.map └── librte_compat │ └── Makefile ├── scripts └── load-devel-config ├── README ├── mk ├── internal │ ├── rte.depdirs-pre.mk │ ├── rte.clean-pre.mk │ ├── rte.compile-post.mk │ ├── rte.build-pre.mk │ └── rte.depdirs-post.mk ├── exec-env │ ├── bsdapp │ │ └── rte.app.mk │ └── linuxapp │ │ └── rte.app.mk └── arch │ ├── tile │ └── rte.vars.mk │ ├── ppc_64 │ └── rte.vars.mk │ └── arm │ └── rte.vars.mk ├── Makefile ├── config ├── defconfig_arm64-xgene1-linuxapp-gcc └── defconfig_x86_64-native-bsdapp-gcc └── GNUmakefile /.gitignore: -------------------------------------------------------------------------------- 1 | doc/guides/nics/overview_table.txt 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/irq: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/enable: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/msi_bus: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/class: -------------------------------------------------------------------------------- 1 | 0x020000 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/device: -------------------------------------------------------------------------------- 1 | 0x1234 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/dma_mask_bits: -------------------------------------------------------------------------------- 1 | 64 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/numa_node: -------------------------------------------------------------------------------- 1 | -1 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/sriov_numvfs: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/vendor: -------------------------------------------------------------------------------- 1 | 0x0001 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/class: -------------------------------------------------------------------------------- 1 | 0x100000 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/device: -------------------------------------------------------------------------------- 1 | 0xabcd 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/vendor: -------------------------------------------------------------------------------- 1 | 0x0002 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/class: -------------------------------------------------------------------------------- 1 | 0x100000 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/device: -------------------------------------------------------------------------------- 1 | 0x4444 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/vendor: -------------------------------------------------------------------------------- 1 | 0x0001 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.c diff=cpp 2 | *.h diff=cpp 3 | *.py diff=python 4 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/sriov_totalvfs: -------------------------------------------------------------------------------- 1 | 63 2 | -------------------------------------------------------------------------------- /drivers/crypto/qat/rte_pmd_qat_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.2 { 2 | local: *; 3 | }; -------------------------------------------------------------------------------- /drivers/net/mlx5/rte_pmd_mlx5_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.2 { 2 | local: *; 3 | }; 4 | -------------------------------------------------------------------------------- /drivers/net/nfp/rte_pmd_nfp_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.2 { 2 | local: *; 3 | }; 4 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/subsystem_device: -------------------------------------------------------------------------------- 1 | 0x0003 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/subsystem_vendor: -------------------------------------------------------------------------------- 1 | 0x0001 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/subsystem_device: -------------------------------------------------------------------------------- 1 | 0xabcd 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/subsystem_vendor: -------------------------------------------------------------------------------- 1 | 0x0002 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/subsystem_device: -------------------------------------------------------------------------------- 1 | 0x4444 2 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/subsystem_vendor: -------------------------------------------------------------------------------- 1 | 0x0001 2 | -------------------------------------------------------------------------------- /drivers/crypto/zuc/rte_pmd_zuc_version.map: -------------------------------------------------------------------------------- 1 | DPDK_16.11 { 2 | local: *; 3 | }; 4 | -------------------------------------------------------------------------------- /drivers/net/ena/rte_pmd_ena_version.map: -------------------------------------------------------------------------------- 1 | DPDK_16.04 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /drivers/net/enic/rte_pmd_enic_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /drivers/net/i40e/rte_pmd_i40e_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /drivers/net/mlx4/rte_pmd_mlx4_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /drivers/net/mpipe/rte_pmd_mpipe_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.2 { 2 | local: *; 3 | }; 4 | -------------------------------------------------------------------------------- /drivers/net/pcap/rte_pmd_pcap_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/consistent_dma_mask_bits: -------------------------------------------------------------------------------- 1 | 64 2 | -------------------------------------------------------------------------------- /drivers/crypto/aesni_mb/rte_pmd_aesni_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.2 { 2 | local: *; 3 | }; 4 | -------------------------------------------------------------------------------- /drivers/crypto/kasumi/rte_pmd_kasumi_version.map: -------------------------------------------------------------------------------- 1 | DPDK_16.07 { 2 | local: *; 3 | }; 4 | -------------------------------------------------------------------------------- /drivers/crypto/snow3g/rte_pmd_snow3g_version.map: -------------------------------------------------------------------------------- 1 | DPDK_16.04 { 2 | local: *; 3 | }; 4 | -------------------------------------------------------------------------------- /drivers/net/bnx2x/rte_pmd_bnx2x_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.1 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /drivers/net/bnxt/rte_pmd_bnxt_version.map: -------------------------------------------------------------------------------- 1 | DPDK_16.04 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /drivers/net/cxgbe/rte_pmd_cxgbe_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.1 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /drivers/net/e1000/rte_pmd_e1000_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /drivers/net/fm10k/rte_pmd_fm10k_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /drivers/net/qede/rte_pmd_qede_version.map: -------------------------------------------------------------------------------- 1 | DPDK_16.04 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /drivers/net/szedata2/rte_pmd_szedata2_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.2 { 2 | local: *; 3 | }; 4 | -------------------------------------------------------------------------------- /drivers/net/virtio/rte_pmd_virtio_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /drivers/crypto/aesni_gcm/rte_pmd_aesni_gcm_version.map: -------------------------------------------------------------------------------- 1 | DPDK_16.04 { 2 | local: *; 3 | }; 4 | -------------------------------------------------------------------------------- /drivers/crypto/null/rte_pmd_null_crypto_version.map: -------------------------------------------------------------------------------- 1 | DPDK_16.04 { 2 | local: *; 3 | }; 4 | -------------------------------------------------------------------------------- /drivers/crypto/openssl/rte_pmd_openssl_version.map: -------------------------------------------------------------------------------- 1 | DPDK_16.11 { 2 | local: *; 3 | }; 4 | -------------------------------------------------------------------------------- /drivers/net/af_packet/rte_pmd_af_packet_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /drivers/net/vmxnet3/rte_pmd_vmxnet3_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /drivers/net/thunderx/rte_pmd_thunderx_nicvf_version.map: -------------------------------------------------------------------------------- 1 | DPDK_16.07 { 2 | 3 | local: *; 4 | }; 5 | -------------------------------------------------------------------------------- /examples/ip_pipeline/config/ip_pipeline.sh: -------------------------------------------------------------------------------- 1 | # 2 | #run config/ip_pipeline.sh 3 | # 4 | 5 | p 1 ping 6 | -------------------------------------------------------------------------------- /doc/guides/nics/img/console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/nics/img/console.png -------------------------------------------------------------------------------- /doc/guides/xen/img/grant_refs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/xen/img/grant_refs.png -------------------------------------------------------------------------------- /doc/guides/nics/img/vm_vm_comms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/nics/img/vm_vm_comms.png -------------------------------------------------------------------------------- /doc/guides/nics/img/vmxnet3_int.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/nics/img/vmxnet3_int.png -------------------------------------------------------------------------------- /doc/guides/nics/img/vswitch_vm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/nics/img/vswitch_vm.png -------------------------------------------------------------------------------- /doc/guides/xen/img/grant_table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/xen/img/grant_table.png -------------------------------------------------------------------------------- /lib/librte_net/rte_net_version.map: -------------------------------------------------------------------------------- 1 | DPDK_16.11 { 2 | global: 3 | rte_net_get_ptype; 4 | 5 | local: *; 6 | }; 7 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/modalias: -------------------------------------------------------------------------------- 1 | pci:v00008086d000010FBsv00008086sd00000003bc02sc00i00 2 | -------------------------------------------------------------------------------- /doc/guides/nics/img/fast_pkt_proc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/nics/img/fast_pkt_proc.png -------------------------------------------------------------------------------- /doc/guides/nics/img/forward_stats.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/nics/img/forward_stats.png -------------------------------------------------------------------------------- /doc/guides/nics/img/host_vm_comms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/nics/img/host_vm_comms.png -------------------------------------------------------------------------------- /doc/guides/nics/img/inter_vm_comms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/nics/img/inter_vm_comms.png -------------------------------------------------------------------------------- /doc/guides/nics/img/perf_benchmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/nics/img/perf_benchmark.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/figure32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/figure32.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/figure33.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/figure33.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/figure34.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/figure34.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/figure35.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/figure35.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/figure37.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/figure37.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/figure38.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/figure38.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/figure39.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/figure39.png -------------------------------------------------------------------------------- /doc/logo/DPDK_logo_horizontal_tag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/logo/DPDK_logo_horizontal_tag.png -------------------------------------------------------------------------------- /doc/guides/nics/img/single_port_nic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/nics/img/single_port_nic.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/eq2_factor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/eq2_factor.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/tbl24_tbl8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/tbl24_tbl8.png -------------------------------------------------------------------------------- /doc/guides/nics/img/host_vm_comms_qemu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/nics/img/host_vm_comms_qemu.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/m_definition.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/m_definition.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/pkt_flow_kni.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/pkt_flow_kni.png -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/kernel_nic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/kernel_nic.png -------------------------------------------------------------------------------- /doc/guides/xen/img/dpdk_xen_pkt_switch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/xen/img/dpdk_xen_pkt_switch.png -------------------------------------------------------------------------------- /doc/logo/DPDK_logo_vertical_rev_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/logo/DPDK_logo_vertical_rev_small.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/eq2_expression.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/eq2_expression.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/hier_sched_blk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/hier_sched_blk.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/kernel_nic_intf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/kernel_nic_intf.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/tbl24_tbl8_tbl8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/tbl24_tbl8_tbl8.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/vhost_net_arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/vhost_net_arch.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/blk_diag_dropper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/blk_diag_dropper.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/ewma_filter_eq_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/ewma_filter_eq_1.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/ewma_filter_eq_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/ewma_filter_eq_2.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/flow_tru_droppper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/flow_tru_droppper.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/kni_traffic_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/kni_traffic_flow.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/pipe_prefetch_sm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/pipe_prefetch_sm.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/prefetch_pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/prefetch_pipeline.png -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/example_rules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/example_rules.png -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/ipv4_acl_rule.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/ipv4_acl_rule.png -------------------------------------------------------------------------------- /drivers/net/xenvirt/rte_eth_xenvirt_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_mempool_gntalloc_create; 5 | 6 | local: *; 7 | }; 8 | -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/data_struct_per_port.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/data_struct_per_port.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/drop_probability_eq3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/drop_probability_eq3.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/drop_probability_eq4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/drop_probability_eq4.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/packet_distributor1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/packet_distributor1.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/packet_distributor2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/packet_distributor2.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/pkt_drop_probability.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/pkt_drop_probability.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/sched_hier_per_port.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/sched_hier_per_port.png -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/load_bal_app_arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/load_bal_app_arch.png -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/master_slave_proc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/master_slave_proc.png -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/pipeline_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/pipeline_overview.png -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/slave_proc_recov.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/slave_proc_recov.png -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/test_pipeline_app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/test_pipeline_app.png -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/threads_pipelines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/threads_pipelines.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/drop_probability_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/drop_probability_graph.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/pkt_proc_pipeline_qos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/pkt_proc_pipeline_qos.png -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/qos_sched_app_arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/qos_sched_app_arch.png -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/sym_multi_proc_app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/sym_multi_proc_app.png -------------------------------------------------------------------------------- /doc/guides/prog_guide/img/ex_data_flow_tru_dropper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/prog_guide/img/ex_data_flow_tru_dropper.png -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/quickassist_block_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/quickassist_block_diagram.png -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/ring_pipeline_perf_setup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/ring_pipeline_perf_setup.png -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/config -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/client_svr_sym_multi_proc_app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/client_svr_sym_multi_proc_app.png -------------------------------------------------------------------------------- /doc/guides/sample_app_ug/img/l2_fwd_virtenv_benchmark_setup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ceph/dpdk/master/doc/guides/sample_app_ug/img/l2_fwd_virtenv_benchmark_setup.png -------------------------------------------------------------------------------- /drivers/net/null/rte_pmd_null_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | 3 | local: *; 4 | }; 5 | 6 | DPDK_2.2 { 7 | global: 8 | 9 | eth_dev_null_create; 10 | 11 | } DPDK_2.0; 12 | -------------------------------------------------------------------------------- /doc/guides/nics/features/nfp.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'nfp' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | -------------------------------------------------------------------------------- /doc/guides/nics/features/null.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'null' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | -------------------------------------------------------------------------------- /doc/guides/nics/features/ring.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'ring' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | -------------------------------------------------------------------------------- /doc/guides/nics/features/mpipe.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'mpipe' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | -------------------------------------------------------------------------------- /lib/librte_kvargs/rte_kvargs_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_kvargs_count; 5 | rte_kvargs_free; 6 | rte_kvargs_parse; 7 | rte_kvargs_process; 8 | 9 | local: *; 10 | }; 11 | -------------------------------------------------------------------------------- /doc/guides/nics/features/afpacket.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'afpacket' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | -------------------------------------------------------------------------------- /doc/guides/nics/features/bonding.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'bonding' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | -------------------------------------------------------------------------------- /doc/guides/nics/features/xenvirt.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'xenvirt' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | -------------------------------------------------------------------------------- /doc/guides/contributing/cheatsheet.rst: -------------------------------------------------------------------------------- 1 | Patch Cheatsheet 2 | ================ 3 | 4 | .. _figure_patch_cheatsheet: 5 | 6 | .. figure:: img/patch_cheatsheet.* 7 | 8 | Cheat sheet for submitting patches to dev@dpdk.org 9 | -------------------------------------------------------------------------------- /drivers/net/ring/rte_eth_ring_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_eth_from_rings; 5 | 6 | local: *; 7 | }; 8 | 9 | DPDK_2.2 { 10 | global: 11 | 12 | rte_eth_from_ring; 13 | 14 | } DPDK_2.0; 15 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/uevent: -------------------------------------------------------------------------------- 1 | DRIVER=ixgbe 2 | PCI_CLASS=20000 3 | PCI_ID=8086:10FB 4 | PCI_SUBSYS_ID=8086:0003 5 | PCI_SLOT_NAME=0000:01:00.0 6 | MODALIAS=pci:v00008086d000010FBsv00008086sd00000003bc02sc00i00 7 | -------------------------------------------------------------------------------- /examples/ip_pipeline/config/ip_pipeline.cfg: -------------------------------------------------------------------------------- 1 | [PIPELINE0] 2 | type = MASTER 3 | core = 0 4 | 5 | [PIPELINE1] 6 | type = PASS-THROUGH 7 | core = 1 8 | pktq_in = RXQ0.0 RXQ1.0 RXQ2.0 RXQ3.0 9 | pktq_out = TXQ0.0 TXQ1.0 TXQ2.0 TXQ3.0 10 | -------------------------------------------------------------------------------- /doc/guides/contributing/index.rst: -------------------------------------------------------------------------------- 1 | Contributor's Guidelines 2 | ======================== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | :numbered: 7 | 8 | coding_style 9 | design 10 | versioning 11 | documentation 12 | patches 13 | cheatsheet 14 | -------------------------------------------------------------------------------- /lib/librte_reorder/rte_reorder_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_reorder_create; 5 | rte_reorder_init; 6 | rte_reorder_find_existing; 7 | rte_reorder_reset; 8 | rte_reorder_free; 9 | rte_reorder_insert; 10 | rte_reorder_drain; 11 | 12 | local: *; 13 | }; 14 | -------------------------------------------------------------------------------- /lib/librte_pdump/rte_pdump_version.map: -------------------------------------------------------------------------------- 1 | DPDK_16.07 { 2 | global: 3 | 4 | rte_pdump_disable; 5 | rte_pdump_disable_by_deviceid; 6 | rte_pdump_enable; 7 | rte_pdump_enable_by_deviceid; 8 | rte_pdump_init; 9 | rte_pdump_set_socket_dir; 10 | rte_pdump_uninit; 11 | 12 | local: *; 13 | }; 14 | -------------------------------------------------------------------------------- /lib/librte_meter/rte_meter_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_meter_srtcm_color_aware_check; 5 | rte_meter_srtcm_color_blind_check; 6 | rte_meter_srtcm_config; 7 | rte_meter_trtcm_color_aware_check; 8 | rte_meter_trtcm_color_blind_check; 9 | rte_meter_trtcm_config; 10 | 11 | local: *; 12 | }; 13 | -------------------------------------------------------------------------------- /lib/librte_timer/rte_timer_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_timer_dump_stats; 5 | rte_timer_init; 6 | rte_timer_manage; 7 | rte_timer_pending; 8 | rte_timer_reset; 9 | rte_timer_reset_sync; 10 | rte_timer_stop; 11 | rte_timer_stop_sync; 12 | rte_timer_subsystem_init; 13 | 14 | local: *; 15 | }; 16 | -------------------------------------------------------------------------------- /drivers/net/vhost/rte_pmd_vhost_version.map: -------------------------------------------------------------------------------- 1 | DPDK_16.04 { 2 | global: 3 | 4 | rte_eth_vhost_feature_disable; 5 | rte_eth_vhost_feature_enable; 6 | rte_eth_vhost_feature_get; 7 | rte_eth_vhost_get_queue_event; 8 | 9 | local: *; 10 | }; 11 | 12 | DPDK_16.11 { 13 | global: 14 | 15 | rte_eth_vhost_get_vid_from_port_id; 16 | }; 17 | -------------------------------------------------------------------------------- /lib/librte_ip_frag/rte_ipfrag_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_ip_frag_free_death_row; 5 | rte_ip_frag_table_create; 6 | rte_ip_frag_table_statistics_dump; 7 | rte_ipv4_frag_reassemble_packet; 8 | rte_ipv4_fragment_packet; 9 | rte_ipv6_frag_reassemble_packet; 10 | rte_ipv6_fragment_packet; 11 | 12 | local: *; 13 | }; 14 | -------------------------------------------------------------------------------- /lib/librte_ring/rte_ring_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_ring_create; 5 | rte_ring_dump; 6 | rte_ring_get_memsize; 7 | rte_ring_init; 8 | rte_ring_list_dump; 9 | rte_ring_lookup; 10 | rte_ring_set_water_mark; 11 | 12 | local: *; 13 | }; 14 | 15 | DPDK_2.2 { 16 | global: 17 | 18 | rte_ring_free; 19 | 20 | } DPDK_2.0; 21 | -------------------------------------------------------------------------------- /lib/librte_kni/rte_kni_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_kni_alloc; 5 | rte_kni_close; 6 | rte_kni_get; 7 | rte_kni_get_name; 8 | rte_kni_handle_request; 9 | rte_kni_init; 10 | rte_kni_register_handlers; 11 | rte_kni_release; 12 | rte_kni_rx_burst; 13 | rte_kni_tx_burst; 14 | rte_kni_unregister_handlers; 15 | 16 | local: *; 17 | }; 18 | -------------------------------------------------------------------------------- /lib/librte_power/rte_power_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_power_exit; 5 | rte_power_freq_down; 6 | rte_power_freq_max; 7 | rte_power_freq_min; 8 | rte_power_freq_up; 9 | rte_power_freqs; 10 | rte_power_get_env; 11 | rte_power_get_freq; 12 | rte_power_init; 13 | rte_power_set_env; 14 | rte_power_set_freq; 15 | rte_power_unset_env; 16 | 17 | local: *; 18 | }; 19 | -------------------------------------------------------------------------------- /lib/librte_distributor/rte_distributor_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_distributor_clear_returns; 5 | rte_distributor_create; 6 | rte_distributor_flush; 7 | rte_distributor_get_pkt; 8 | rte_distributor_poll_pkt; 9 | rte_distributor_process; 10 | rte_distributor_request_pkt; 11 | rte_distributor_return_pkt; 12 | rte_distributor_returned_pkts; 13 | 14 | local: *; 15 | }; 16 | -------------------------------------------------------------------------------- /doc/guides/nics/features/vhost.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'vhost' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Link status event = Y 9 | Queue status event = Y 10 | Basic stats = Y 11 | Extended stats = Y 12 | x86-32 = Y 13 | x86-64 = Y 14 | -------------------------------------------------------------------------------- /lib/librte_acl/rte_acl_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_acl_add_rules; 5 | rte_acl_build; 6 | rte_acl_classify; 7 | rte_acl_classify_alg; 8 | rte_acl_classify_scalar; 9 | rte_acl_create; 10 | rte_acl_dump; 11 | rte_acl_find_existing; 12 | rte_acl_free; 13 | rte_acl_list_dump; 14 | rte_acl_reset; 15 | rte_acl_reset_rules; 16 | rte_acl_set_ctx_classify; 17 | 18 | local: *; 19 | }; 20 | -------------------------------------------------------------------------------- /drivers/net/ixgbe/rte_pmd_ixgbe_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | 3 | local: *; 4 | }; 5 | 6 | DPDK_16.11 { 7 | global: 8 | 9 | rte_pmd_ixgbe_set_all_queues_drop_en; 10 | rte_pmd_ixgbe_set_tx_loopback; 11 | rte_pmd_ixgbe_set_vf_mac_addr; 12 | rte_pmd_ixgbe_set_vf_mac_anti_spoof; 13 | rte_pmd_ixgbe_set_vf_split_drop_en; 14 | rte_pmd_ixgbe_set_vf_vlan_anti_spoof; 15 | rte_pmd_ixgbe_set_vf_vlan_insert; 16 | rte_pmd_ixgbe_set_vf_vlan_stripq; 17 | } DPDK_2.0; 18 | -------------------------------------------------------------------------------- /examples/ip_pipeline/config/firewall.txt: -------------------------------------------------------------------------------- 1 | # 2 | # p firewall add bulk ./config/firewall.txt 3 | # p firewall del bulk ./config/firewall.txt 4 | # 5 | 6 | priority 1 ipv4 0.0.0.0 0 100.0.0.0 10 0 65535 0 65535 6 0xF port 0 7 | priority 1 ipv4 0.0.0.0 0 100.64.0.0 10 0 65535 0 65535 6 0xF port 1 8 | priority 1 ipv4 0.0.0.0 0 100.128.0.0 10 0 65535 0 65535 6 0xF port 2 9 | priority 1 ipv4 0.0.0.0 0 100.192.0.0 10 0 65535 0 65535 6 0xF port 3 10 | -------------------------------------------------------------------------------- /lib/librte_eal/linuxapp/xen_dom0/compat.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Minimal wrappers to allow compiling xen_dom0 on older kernels. 3 | */ 4 | 5 | #ifndef RHEL_RELEASE_VERSION 6 | #define RHEL_RELEASE_VERSION(a, b) (((a) << 8) + (b)) 7 | #endif 8 | 9 | #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39) && \ 10 | (!(defined(RHEL_RELEASE_CODE) && \ 11 | RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6, 4))) 12 | 13 | #define kstrtoul strict_strtoul 14 | 15 | #endif /* < 2.6.39 */ 16 | -------------------------------------------------------------------------------- /lib/librte_cfgfile/rte_cfgfile_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_cfgfile_close; 5 | rte_cfgfile_get_entry; 6 | rte_cfgfile_has_entry; 7 | rte_cfgfile_has_section; 8 | rte_cfgfile_load; 9 | rte_cfgfile_num_sections; 10 | rte_cfgfile_section_entries; 11 | rte_cfgfile_section_num_entries; 12 | rte_cfgfile_sections; 13 | 14 | local: *; 15 | }; 16 | 17 | DPDK_16.04 { 18 | global: 19 | 20 | rte_cfgfile_section_entries_by_index; 21 | 22 | } DPDK_2.0; 23 | -------------------------------------------------------------------------------- /scripts/load-devel-config: -------------------------------------------------------------------------------- 1 | # Load DPDK devel config and allow override 2 | # from system file 3 | test ! -r /etc/dpdk/devel.config || 4 | . /etc/dpdk/devel.config 5 | # from user file 6 | test ! -r ~/.config/dpdk/devel.config || 7 | . ~/.config/dpdk/devel.config 8 | # from local file 9 | test ! -r $(dirname $(readlink -m $0))/../.develconfig || 10 | . $(dirname $(readlink -m $0))/../.develconfig 11 | 12 | # The config files must export variables in the shell style 13 | -------------------------------------------------------------------------------- /doc/guides/nics/features/bnx2x.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'bnx2x' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Link status event = Y 9 | Promiscuous mode = Y 10 | Unicast MAC filter = Y 11 | Multicast MAC filter = Y 12 | Basic stats = Y 13 | Extended stats = Y 14 | Linux UIO = Y 15 | x86-64 = Y 16 | Usage doc = Y 17 | -------------------------------------------------------------------------------- /doc/guides/nics/features/bnxt.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'bnxt' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Queue start/stop = Y 9 | Promiscuous mode = Y 10 | Unicast MAC filter = Y 11 | Multicast MAC filter = Y 12 | RSS reta update = Y 13 | Basic stats = Y 14 | Extended stats = Y 15 | Linux UIO = Y 16 | x86-64 = Y 17 | -------------------------------------------------------------------------------- /doc/guides/nics/features/pcap.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'pcap' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Jumbo frame = Y 8 | Basic stats = Y 9 | Multiprocess aware = Y 10 | ARMv7 = Y 11 | ARMv8 = Y 12 | Power8 = Y 13 | TILE-Gx = Y 14 | x86-32 = Y 15 | x86-64 = Y 16 | Usage doc = Y 17 | -------------------------------------------------------------------------------- /examples/ip_pipeline/config/flow.txt: -------------------------------------------------------------------------------- 1 | # 2 | # p flow add qinq bulk ./config/flow.txt 3 | # 4 | 5 | #qinq 100 200 port 0 id 0 6 | #qinq 101 201 port 1 id 1 7 | #qinq 102 202 port 2 id 2 8 | #qinq 103 203 port 3 id 3 9 | 10 | # 11 | # p flow add ipv4 bulk ./config/flow.txt 12 | # 13 | 14 | ipv4 100.0.0.10 200.0.0.10 100 200 6 port 0 id 0 15 | ipv4 100.0.0.11 200.0.0.11 101 201 6 port 1 id 1 16 | ipv4 100.0.0.12 200.0.0.12 102 202 6 port 2 id 2 17 | ipv4 100.0.0.13 200.0.0.13 103 203 6 port 3 id 3 18 | -------------------------------------------------------------------------------- /doc/guides/nics/features/bnx2x_vf.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'bnx2x_vf' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Link status event = Y 9 | Promiscuous mode = Y 10 | Unicast MAC filter = Y 11 | Multicast MAC filter = Y 12 | SR-IOV = Y 13 | Basic stats = Y 14 | Extended stats = Y 15 | Linux UIO = Y 16 | x86-64 = Y 17 | Usage doc = Y 18 | -------------------------------------------------------------------------------- /doc/guides/nics/features/szedata2.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'szedata2' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Queue start/stop = Y 9 | Scattered Rx = Y 10 | Promiscuous mode = Y 11 | Allmulticast mode = Y 12 | Basic stats = Y 13 | Extended stats = Y 14 | Stats per queue = Y 15 | Other kdrv = Y 16 | x86-64 = Y 17 | Usage doc = Y 18 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | DPDK is a set of libraries and drivers for fast packet processing. 2 | It supports many processor architectures and both FreeBSD and Linux. 3 | 4 | The DPDK uses the Open Source BSD license for the core libraries and 5 | drivers. The kernel components are GPLv2 licensed. 6 | 7 | Please check the doc directory for release notes, 8 | API documentation, and sample application information. 9 | 10 | For questions and usage discussions, subscribe to: users@dpdk.org 11 | Report bugs and issues to the development mailing list: dev@dpdk.org 12 | -------------------------------------------------------------------------------- /examples/ip_pipeline/config/firewall.sh: -------------------------------------------------------------------------------- 1 | # 2 | # run ./config/firewall.sh 3 | # 4 | 5 | p 1 firewall add default 4 #SINK0 6 | p 1 firewall add priority 1 ipv4 0.0.0.0 0 100.0.0.0 10 0 65535 0 65535 6 0xF port 0 7 | p 1 firewall add priority 1 ipv4 0.0.0.0 0 100.64.0.0 10 0 65535 0 65535 6 0xF port 1 8 | p 1 firewall add priority 1 ipv4 0.0.0.0 0 100.128.0.0 10 0 65535 0 65535 6 0xF port 2 9 | p 1 firewall add priority 1 ipv4 0.0.0.0 0 100.192.0.0 10 0 65535 0 65535 6 0xF port 3 10 | 11 | #p 1 firewall add bulk ./config/firewall.txt 12 | 13 | p 1 firewall ls 14 | -------------------------------------------------------------------------------- /lib/librte_jobstats/rte_jobstats_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_jobstats_context_finish; 5 | rte_jobstats_context_init; 6 | rte_jobstats_context_reset; 7 | rte_jobstats_context_start; 8 | rte_jobstats_finish; 9 | rte_jobstats_init; 10 | rte_jobstats_reset; 11 | rte_jobstats_set_max; 12 | rte_jobstats_set_min; 13 | rte_jobstats_set_period; 14 | rte_jobstats_set_target; 15 | rte_jobstats_set_update_period_function; 16 | rte_jobstats_start; 17 | 18 | local: *; 19 | }; 20 | 21 | DPDK_16.04 { 22 | global: 23 | 24 | rte_jobstats_abort; 25 | 26 | } DPDK_2.0; 27 | -------------------------------------------------------------------------------- /examples/ip_pipeline/config/edge_router_downstream.sh: -------------------------------------------------------------------------------- 1 | # 2 | # run ./config/edge_router_downstream.sh 3 | # 4 | 5 | ################################################################################ 6 | # Routing: Ether QinQ, ARP off 7 | ################################################################################ 8 | p 1 route add default 4 #SINK0 9 | p 1 route add 0.0.0.0 10 port 0 ether a0:b0:c0:d0:e0:f0 qinq 256 257 10 | p 1 route add 0.64.0.0 10 port 1 ether a1:b1:c1:d1:e1:f1 qinq 258 259 11 | p 1 route add 0.128.0.0 10 port 2 ether a2:b2:c2:d2:e2:f2 qinq 260 261 12 | p 1 route add 0.192.0.0 10 port 3 ether a3:b3:c3:d3:e3:f3 qinq 262 263 13 | #p 1 route ls 14 | -------------------------------------------------------------------------------- /doc/guides/nics/features/virtio_vec.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'virtio_vec' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Queue start/stop = Y 9 | Promiscuous mode = Y 10 | Allmulticast mode = Y 11 | Unicast MAC filter = Y 12 | Multicast MAC filter = Y 13 | VLAN filter = Y 14 | Basic stats = Y 15 | Stats per queue = Y 16 | BSD nic_uio = Y 17 | Linux UIO = Y 18 | Linux VFIO = Y 19 | ARMv7 = Y 20 | ARMv8 = Y 21 | x86-32 = Y 22 | x86-64 = Y 23 | -------------------------------------------------------------------------------- /lib/librte_vhost/rte_vhost_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_vhost_dequeue_burst; 5 | rte_vhost_driver_callback_register; 6 | rte_vhost_driver_register; 7 | rte_vhost_driver_session_start; 8 | rte_vhost_enable_guest_notification; 9 | rte_vhost_enqueue_burst; 10 | rte_vhost_feature_disable; 11 | rte_vhost_feature_enable; 12 | rte_vhost_feature_get; 13 | 14 | local: *; 15 | }; 16 | 17 | DPDK_2.1 { 18 | global: 19 | 20 | rte_vhost_driver_unregister; 21 | 22 | } DPDK_2.0; 23 | 24 | DPDK_16.07 { 25 | global: 26 | 27 | rte_vhost_avail_entries; 28 | rte_vhost_get_ifname; 29 | rte_vhost_get_numa_node; 30 | rte_vhost_get_queue_num; 31 | 32 | } DPDK_2.1; 33 | -------------------------------------------------------------------------------- /lib/librte_sched/rte_sched_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_approx; 5 | rte_red_config_init; 6 | rte_red_log2_1_minus_Wq; 7 | rte_red_pow2_frac_inv; 8 | rte_red_rand_seed; 9 | rte_red_rand_val; 10 | rte_red_rt_data_init; 11 | rte_sched_pipe_config; 12 | rte_sched_port_config; 13 | rte_sched_port_dequeue; 14 | rte_sched_port_enqueue; 15 | rte_sched_port_free; 16 | rte_sched_port_get_memory_footprint; 17 | rte_sched_queue_read_stats; 18 | rte_sched_subport_config; 19 | rte_sched_subport_read_stats; 20 | 21 | local: *; 22 | }; 23 | 24 | DPDK_2.1 { 25 | global: 26 | 27 | rte_sched_port_pkt_write; 28 | rte_sched_port_pkt_read_tree_path; 29 | rte_sched_port_pkt_read_color; 30 | 31 | } DPDK_2.0; 32 | -------------------------------------------------------------------------------- /doc/guides/nics/features/virtio.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'virtio' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Queue start/stop = Y 9 | Scattered Rx = Y 10 | Promiscuous mode = Y 11 | Allmulticast mode = Y 12 | Unicast MAC filter = Y 13 | Multicast MAC filter = Y 14 | VLAN filter = Y 15 | Basic stats = Y 16 | Stats per queue = Y 17 | BSD nic_uio = Y 18 | Linux UIO = Y 19 | Linux VFIO = Y 20 | ARMv7 = Y 21 | ARMv8 = Y 22 | x86-32 = Y 23 | x86-64 = Y 24 | Usage doc = Y 25 | -------------------------------------------------------------------------------- /lib/librte_lpm/rte_lpm_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_lpm_add; 5 | rte_lpm_create; 6 | rte_lpm_delete; 7 | rte_lpm_delete_all; 8 | rte_lpm_find_existing; 9 | rte_lpm_free; 10 | rte_lpm_is_rule_present; 11 | rte_lpm6_add; 12 | rte_lpm6_create; 13 | rte_lpm6_delete; 14 | rte_lpm6_delete_all; 15 | rte_lpm6_delete_bulk_func; 16 | rte_lpm6_find_existing; 17 | rte_lpm6_free; 18 | rte_lpm6_is_rule_present; 19 | rte_lpm6_lookup; 20 | rte_lpm6_lookup_bulk_func; 21 | 22 | local: *; 23 | }; 24 | 25 | DPDK_16.04 { 26 | global: 27 | 28 | rte_lpm_add; 29 | rte_lpm_find_existing; 30 | rte_lpm_create; 31 | rte_lpm_free; 32 | rte_lpm_is_rule_present; 33 | rte_lpm_delete; 34 | rte_lpm_delete_all; 35 | 36 | } DPDK_2.0; 37 | -------------------------------------------------------------------------------- /lib/librte_mbuf/rte_mbuf_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_ctrlmbuf_init; 5 | rte_get_rx_ol_flag_name; 6 | rte_get_tx_ol_flag_name; 7 | rte_mbuf_sanity_check; 8 | rte_pktmbuf_dump; 9 | rte_pktmbuf_init; 10 | rte_pktmbuf_pool_init; 11 | 12 | local: *; 13 | }; 14 | 15 | DPDK_2.1 { 16 | global: 17 | 18 | rte_pktmbuf_pool_create; 19 | 20 | } DPDK_2.0; 21 | 22 | DPDK_16.11 { 23 | global: 24 | 25 | __rte_pktmbuf_read; 26 | rte_get_ptype_inner_l2_name; 27 | rte_get_ptype_inner_l3_name; 28 | rte_get_ptype_inner_l4_name; 29 | rte_get_ptype_l2_name; 30 | rte_get_ptype_l3_name; 31 | rte_get_ptype_l4_name; 32 | rte_get_ptype_name; 33 | rte_get_ptype_tunnel_name; 34 | rte_get_rx_ol_flag_list; 35 | rte_get_tx_ol_flag_list; 36 | 37 | } DPDK_2.1; 38 | -------------------------------------------------------------------------------- /doc/guides/nics/features/ena.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'ena' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Queue start/stop = Y 8 | MTU update = Y 9 | Jumbo frame = Y 10 | Scattered Rx = Y 11 | TSO = Y 12 | RSS hash = Y 13 | RSS key update = Y 14 | RSS reta update = Y 15 | SR-IOV = Y 16 | CRC offload = Y 17 | VLAN offload = Y 18 | L3 checksum offload = Y 19 | L4 checksum offload = Y 20 | Inner L3 checksum = Y 21 | Inner L4 checksum = Y 22 | Basic stats = Y 23 | Extended stats = Y 24 | Linux UIO = Y 25 | x86-32 = Y 26 | x86-64 = Y 27 | -------------------------------------------------------------------------------- /drivers/net/qede/base/ecore_status.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 QLogic Corporation. 3 | * All rights reserved. 4 | * www.qlogic.com 5 | * 6 | * See LICENSE.qede_pmd for copyright and licensing details. 7 | */ 8 | 9 | #ifndef __ECORE_STATUS_H__ 10 | #define __ECORE_STATUS_H__ 11 | 12 | enum _ecore_status_t { 13 | ECORE_UNKNOWN_ERROR = -12, 14 | ECORE_NORESOURCES = -11, 15 | ECORE_NODEV = -10, 16 | ECORE_ABORTED = -9, 17 | ECORE_AGAIN = -8, 18 | ECORE_NOTIMPL = -7, 19 | ECORE_EXISTS = -6, 20 | ECORE_IO = -5, 21 | ECORE_TIMEOUT = -4, 22 | ECORE_INVAL = -3, 23 | ECORE_BUSY = -2, 24 | ECORE_NOMEM = -1, 25 | ECORE_SUCCESS = 0, 26 | /* PENDING is not an error and should be positive */ 27 | ECORE_PENDING = 1, 28 | }; 29 | 30 | #endif /* __ECORE_STATUS_H__ */ 31 | -------------------------------------------------------------------------------- /lib/librte_eal/common/include/arch/ppc_64/rte_rwlock.h: -------------------------------------------------------------------------------- 1 | #ifndef _RTE_RWLOCK_PPC_64_H_ 2 | #define _RTE_RWLOCK_PPC_64_H_ 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "generic/rte_rwlock.h" 9 | 10 | static inline void 11 | rte_rwlock_read_lock_tm(rte_rwlock_t *rwl) 12 | { 13 | rte_rwlock_read_lock(rwl); 14 | } 15 | 16 | static inline void 17 | rte_rwlock_read_unlock_tm(rte_rwlock_t *rwl) 18 | { 19 | rte_rwlock_read_unlock(rwl); 20 | } 21 | 22 | static inline void 23 | rte_rwlock_write_lock_tm(rte_rwlock_t *rwl) 24 | { 25 | rte_rwlock_write_lock(rwl); 26 | } 27 | 28 | static inline void 29 | rte_rwlock_write_unlock_tm(rte_rwlock_t *rwl) 30 | { 31 | rte_rwlock_write_unlock(rwl); 32 | } 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | 38 | #endif /* _RTE_RWLOCK_PPC_64_H_ */ 39 | -------------------------------------------------------------------------------- /doc/guides/nics/features/igb_vf.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'igb_vf' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Rx interrupt = Y 8 | Scattered Rx = Y 9 | TSO = Y 10 | Promiscuous mode = Y 11 | Allmulticast mode = Y 12 | Unicast MAC filter = Y 13 | VLAN filter = Y 14 | CRC offload = Y 15 | VLAN offload = Y 16 | QinQ offload = Y 17 | L3 checksum offload = Y 18 | L4 checksum offload = Y 19 | Packet type parsing = Y 20 | Basic stats = Y 21 | Extended stats = Y 22 | Registers dump = Y 23 | BSD nic_uio = Y 24 | Linux UIO = Y 25 | Linux VFIO = Y 26 | x86-32 = Y 27 | x86-64 = Y 28 | -------------------------------------------------------------------------------- /lib/librte_eal/common/include/arch/arm/rte_rwlock.h: -------------------------------------------------------------------------------- 1 | /* copied from ppc_64 */ 2 | 3 | #ifndef _RTE_RWLOCK_ARM_H_ 4 | #define _RTE_RWLOCK_ARM_H_ 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #include "generic/rte_rwlock.h" 11 | 12 | static inline void 13 | rte_rwlock_read_lock_tm(rte_rwlock_t *rwl) 14 | { 15 | rte_rwlock_read_lock(rwl); 16 | } 17 | 18 | static inline void 19 | rte_rwlock_read_unlock_tm(rte_rwlock_t *rwl) 20 | { 21 | rte_rwlock_read_unlock(rwl); 22 | } 23 | 24 | static inline void 25 | rte_rwlock_write_lock_tm(rte_rwlock_t *rwl) 26 | { 27 | rte_rwlock_write_lock(rwl); 28 | } 29 | 30 | static inline void 31 | rte_rwlock_write_unlock_tm(rte_rwlock_t *rwl) 32 | { 33 | rte_rwlock_write_unlock(rwl); 34 | } 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | #endif /* _RTE_RWLOCK_ARM_H_ */ 41 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:00.0/resource: -------------------------------------------------------------------------------- 1 | 0x00000000d0080000 0x00000000d00fffff 0x000000000014220c 2 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 3 | 0x000000000000e020 0x000000000000e03f 0x0000000000040101 4 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 5 | 0x00000000d0104000 0x00000000d0107fff 0x000000000014220c 6 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 7 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 8 | 0x00000000ab000000 0x00000000ab0fffff 0x0000000000140204 9 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 10 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 11 | 0x00000000ab100000 0x00000000ab1fffff 0x0000000000140204 12 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 13 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 14 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:01:02.0/resource: -------------------------------------------------------------------------------- 1 | 0x00000000d0080000 0x00000000d00fffff 0x000000000014220c 2 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 3 | 0x000000000000e020 0x000000000000e03f 0x0000000000040101 4 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 5 | 0x00000000d0104000 0x00000000d0107fff 0x000000000014220c 6 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 7 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 8 | 0x00000000ab000000 0x00000000ab0fffff 0x0000000000140204 9 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 10 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 11 | 0x00000000ab100000 0x00000000ab1fffff 0x0000000000140204 12 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 13 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 14 | -------------------------------------------------------------------------------- /app/test/test_pci_sysfs/bus/pci/devices/0000:02:ab.0/resource: -------------------------------------------------------------------------------- 1 | 0x00000000d0080000 0x00000000d00fffff 0x000000000014220c 2 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 3 | 0x000000000000e020 0x000000000000e03f 0x0000000000040101 4 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 5 | 0x00000000d0104000 0x00000000d0107fff 0x000000000014220c 6 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 7 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 8 | 0x00000000ab000000 0x00000000ab0fffff 0x0000000000140204 9 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 10 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 11 | 0x00000000ab100000 0x00000000ab1fffff 0x0000000000140204 12 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 13 | 0x0000000000000000 0x0000000000000000 0x0000000000000000 14 | -------------------------------------------------------------------------------- /doc/guides/nics/features/e1000.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'e1000' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Link status event = Y 9 | Rx interrupt = Y 10 | MTU update = Y 11 | Jumbo frame = Y 12 | Scattered Rx = Y 13 | Promiscuous mode = Y 14 | Allmulticast mode = Y 15 | Unicast MAC filter = Y 16 | VLAN filter = Y 17 | Flow control = Y 18 | CRC offload = Y 19 | VLAN offload = Y 20 | QinQ offload = Y 21 | L3 checksum offload = Y 22 | L4 checksum offload = Y 23 | Basic stats = Y 24 | BSD nic_uio = Y 25 | Linux UIO = Y 26 | Linux VFIO = Y 27 | x86-32 = Y 28 | x86-64 = Y 29 | -------------------------------------------------------------------------------- /doc/guides/nics/features/fm10k_vf.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'fm10k_vf' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Rx interrupt = Y 8 | Queue start/stop = Y 9 | Jumbo frame = Y 10 | Scattered Rx = Y 11 | TSO = Y 12 | RSS hash = Y 13 | RSS key update = Y 14 | RSS reta update = Y 15 | CRC offload = Y 16 | VLAN offload = Y 17 | L3 checksum offload = Y 18 | L4 checksum offload = Y 19 | Packet type parsing = Y 20 | Basic stats = Y 21 | Extended stats = Y 22 | Stats per queue = Y 23 | Multiprocess aware = Y 24 | BSD nic_uio = Y 25 | Linux UIO = Y 26 | Linux VFIO = Y 27 | x86-32 = Y 28 | x86-64 = Y 29 | -------------------------------------------------------------------------------- /doc/guides/nics/features/vmxnet3.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'vmxnet3' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Link status event = Y 9 | Queue start/stop = Y 10 | MTU update = Y 11 | Jumbo frame = Y 12 | LRO = Y 13 | TSO = Y 14 | Promiscuous mode = Y 15 | Allmulticast mode = Y 16 | Unicast MAC filter = Y 17 | RSS hash = Y 18 | VLAN filter = Y 19 | VLAN offload = Y 20 | L4 checksum offload = Y 21 | Packet type parsing = Y 22 | Basic stats = Y 23 | Stats per queue = Y 24 | Linux UIO = Y 25 | Linux VFIO = Y 26 | x86-32 = Y 27 | x86-64 = Y 28 | Usage doc = Y 29 | -------------------------------------------------------------------------------- /doc/guides/nics/features/fm10k_vf_vec.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'fm10kvf_vec' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Rx interrupt = Y 8 | Queue start/stop = Y 9 | Jumbo frame = Y 10 | Scattered Rx = Y 11 | TSO = Y 12 | RSS hash = Y 13 | RSS key update = Y 14 | RSS reta update = Y 15 | CRC offload = Y 16 | VLAN offload = Y 17 | L3 checksum offload = Y 18 | L4 checksum offload = Y 19 | Packet type parsing = Y 20 | Basic stats = Y 21 | Extended stats = Y 22 | Stats per queue = Y 23 | Multiprocess aware = Y 24 | BSD nic_uio = Y 25 | Linux UIO = Y 26 | Linux VFIO = Y 27 | x86-32 = Y 28 | x86-64 = Y 29 | -------------------------------------------------------------------------------- /doc/guides/nics/features/i40e_vf_vec.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'i40evf_vec' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Rx interrupt = Y 8 | Queue start/stop = Y 9 | Jumbo frame = Y 10 | Scattered Rx = Y 11 | TSO = Y 12 | Promiscuous mode = Y 13 | Allmulticast mode = Y 14 | Unicast MAC filter = Y 15 | Multicast MAC filter = Y 16 | RSS hash = Y 17 | RSS key update = Y 18 | RSS reta update = Y 19 | VLAN filter = Y 20 | Hash filter = Y 21 | Basic stats = Y 22 | Extended stats = Y 23 | Multiprocess aware = Y 24 | BSD nic_uio = Y 25 | Linux UIO = Y 26 | Linux VFIO = Y 27 | x86-32 = Y 28 | x86-64 = Y 29 | ARMv8 = Y 30 | -------------------------------------------------------------------------------- /doc/guides/nics/features/ixgbe_vf_vec.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'ixgbevf_vec' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Rx interrupt = Y 9 | MTU update = Y 10 | Jumbo frame = Y 11 | Scattered Rx = Y 12 | LRO = Y 13 | TSO = Y 14 | Allmulticast mode = Y 15 | Unicast MAC filter = Y 16 | RSS hash = Y 17 | RSS key update = Y 18 | RSS reta update = Y 19 | VLAN filter = Y 20 | Basic stats = Y 21 | Extended stats = Y 22 | Registers dump = Y 23 | Multiprocess aware = Y 24 | BSD nic_uio = Y 25 | Linux UIO = Y 26 | Linux VFIO = Y 27 | ARMv8 = Y 28 | x86-32 = Y 29 | x86-64 = Y 30 | -------------------------------------------------------------------------------- /lib/librte_table/rte_table_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_table_acl_ops; 5 | rte_table_array_ops; 6 | rte_table_hash_ext_dosig_ops; 7 | rte_table_hash_ext_ops; 8 | rte_table_hash_key8_ext_dosig_ops; 9 | rte_table_hash_key8_ext_ops; 10 | rte_table_hash_key8_lru_dosig_ops; 11 | rte_table_hash_key8_lru_ops; 12 | rte_table_hash_key16_ext_ops; 13 | rte_table_hash_key16_lru_ops; 14 | rte_table_hash_key32_ext_ops; 15 | rte_table_hash_key32_lru_ops; 16 | rte_table_hash_lru_dosig_ops; 17 | rte_table_hash_lru_ops; 18 | rte_table_lpm_ipv6_ops; 19 | rte_table_lpm_ops; 20 | rte_table_stub_ops; 21 | 22 | local: *; 23 | }; 24 | 25 | DPDK_2.2 { 26 | global: 27 | 28 | rte_table_hash_key16_ext_dosig_ops; 29 | rte_table_hash_key16_lru_dosig_ops; 30 | 31 | }; 32 | 33 | DPDK_16.07 { 34 | global: 35 | 36 | rte_table_hash_cuckoo_dosig_ops; 37 | 38 | } DPDK_2.0; 39 | -------------------------------------------------------------------------------- /doc/guides/nics/features/enic.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'enic' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Link status event = Y 9 | Queue start/stop = Y 10 | MTU update = Y 11 | Jumbo frame = Y 12 | Scattered Rx = Y 13 | Promiscuous mode = Y 14 | Unicast MAC filter = Y 15 | Multicast MAC filter = Y 16 | RSS hash = Y 17 | VLAN filter = Y 18 | CRC offload = Y 19 | VLAN offload = Y 20 | Flow director = Y 21 | L3 checksum offload = Y 22 | L4 checksum offload = Y 23 | Packet type parsing = Y 24 | Basic stats = Y 25 | BSD nic_uio = Y 26 | Linux UIO = Y 27 | Linux VFIO = Y 28 | x86-32 = Y 29 | x86-64 = Y 30 | Usage doc = Y 31 | -------------------------------------------------------------------------------- /doc/guides/nics/features/thunderx.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'thunderx' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Link status event = Y 9 | Queue start/stop = Y 10 | MTU update = Y 11 | Jumbo frame = Y 12 | Scattered Rx = Y 13 | Promiscuous mode = Y 14 | Allmulticast mode = Y 15 | RSS hash = Y 16 | RSS key update = Y 17 | RSS reta update = Y 18 | SR-IOV = Y 19 | CRC offload = Y 20 | VLAN offload = P 21 | L3 checksum offload = Y 22 | L4 checksum offload = Y 23 | Packet type parsing = Y 24 | Basic stats = Y 25 | Stats per queue = Y 26 | Registers dump = Y 27 | Multiprocess aware = Y 28 | Linux VFIO = Y 29 | ARMv8 = Y 30 | Usage doc = Y 31 | -------------------------------------------------------------------------------- /doc/guides/nics/features/cxgbe.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'cxgbe' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Queue start/stop = Y 9 | MTU update = Y 10 | Jumbo frame = Y 11 | Scattered Rx = Y 12 | TSO = Y 13 | Promiscuous mode = Y 14 | Allmulticast mode = Y 15 | RSS hash = Y 16 | Flow control = Y 17 | CRC offload = Y 18 | VLAN offload = Y 19 | L3 checksum offload = Y 20 | L4 checksum offload = Y 21 | Packet type parsing = Y 22 | Basic stats = Y 23 | Stats per queue = Y 24 | EEPROM dump = Y 25 | Registers dump = Y 26 | BSD nic_uio = Y 27 | Linux UIO = Y 28 | Linux VFIO = Y 29 | x86-32 = Y 30 | x86-64 = Y 31 | Usage doc = Y 32 | -------------------------------------------------------------------------------- /lib/librte_hash/rte_hash_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_fbk_hash_create; 5 | rte_fbk_hash_find_existing; 6 | rte_fbk_hash_free; 7 | rte_hash_add_key; 8 | rte_hash_add_key_with_hash; 9 | rte_hash_create; 10 | rte_hash_del_key; 11 | rte_hash_del_key_with_hash; 12 | rte_hash_find_existing; 13 | rte_hash_free; 14 | rte_hash_hash; 15 | rte_hash_lookup; 16 | rte_hash_lookup_bulk; 17 | rte_hash_lookup_with_hash; 18 | 19 | local: *; 20 | }; 21 | 22 | DPDK_2.1 { 23 | global: 24 | 25 | rte_hash_add_key_data; 26 | rte_hash_add_key_with_hash_data; 27 | rte_hash_iterate; 28 | rte_hash_lookup_bulk_data; 29 | rte_hash_lookup_data; 30 | rte_hash_lookup_with_hash_data; 31 | rte_hash_reset; 32 | 33 | } DPDK_2.0; 34 | 35 | DPDK_2.2 { 36 | global: 37 | 38 | rte_hash_set_cmp_func; 39 | 40 | } DPDK_2.1; 41 | 42 | DPDK_16.07 { 43 | global: 44 | 45 | rte_hash_get_key_with_position; 46 | 47 | } DPDK_2.2; 48 | -------------------------------------------------------------------------------- /doc/guides/nics/features/mlx4.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'mlx4' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Link status event = Y 9 | Queue start/stop = Y 10 | MTU update = Y 11 | Jumbo frame = Y 12 | Scattered Rx = Y 13 | Promiscuous mode = Y 14 | Allmulticast mode = Y 15 | Unicast MAC filter = Y 16 | Multicast MAC filter = Y 17 | RSS hash = Y 18 | SR-IOV = Y 19 | VLAN filter = Y 20 | L3 checksum offload = Y 21 | L4 checksum offload = Y 22 | Inner L3 checksum = Y 23 | Inner L4 checksum = Y 24 | Packet type parsing = Y 25 | Basic stats = Y 26 | Stats per queue = Y 27 | Multiprocess aware = Y 28 | Other kdrv = Y 29 | Power8 = Y 30 | x86-32 = Y 31 | x86-64 = Y 32 | Usage doc = Y 33 | -------------------------------------------------------------------------------- /doc/guides/nics/features/qede.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'qede' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Speed capabilities = Y 8 | Link status = Y 9 | Link status event = Y 10 | MTU update = Y 11 | Jumbo frame = Y 12 | Scattered Rx = Y 13 | Promiscuous mode = Y 14 | Allmulticast mode = Y 15 | Unicast MAC filter = Y 16 | Multicast MAC filter = Y 17 | RSS hash = Y 18 | RSS key update = Y 19 | RSS reta update = Y 20 | VLAN filter = Y 21 | Flow control = Y 22 | CRC offload = Y 23 | VLAN offload = Y 24 | L3 checksum offload = Y 25 | L4 checksum offload = Y 26 | Packet type parsing = Y 27 | Basic stats = Y 28 | Extended stats = Y 29 | Stats per queue = Y 30 | Multiprocess aware = Y 31 | Linux UIO = Y 32 | x86-64 = Y 33 | Usage doc = Y 34 | -------------------------------------------------------------------------------- /doc/guides/nics/features/fm10k.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'fm10k' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Rx interrupt = Y 8 | Queue start/stop = Y 9 | Jumbo frame = Y 10 | Scattered Rx = Y 11 | TSO = Y 12 | Promiscuous mode = Y 13 | Allmulticast mode = Y 14 | Unicast MAC filter = Y 15 | Multicast MAC filter = Y 16 | RSS hash = Y 17 | RSS key update = Y 18 | RSS reta update = Y 19 | VMDq = Y 20 | VLAN filter = Y 21 | CRC offload = Y 22 | VLAN offload = Y 23 | L3 checksum offload = Y 24 | L4 checksum offload = Y 25 | Packet type parsing = Y 26 | Basic stats = Y 27 | Extended stats = Y 28 | Stats per queue = Y 29 | Multiprocess aware = Y 30 | BSD nic_uio = Y 31 | Linux UIO = Y 32 | Linux VFIO = Y 33 | x86-32 = Y 34 | x86-64 = Y 35 | -------------------------------------------------------------------------------- /drivers/net/qede/base/ecore_gtt_values.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 QLogic Corporation. 3 | * All rights reserved. 4 | * www.qlogic.com 5 | * 6 | * See LICENSE.qede_pmd for copyright and licensing details. 7 | */ 8 | 9 | #ifndef __PREVENT_PXP_GLOBAL_WIN__ 10 | 11 | static u32 pxp_global_win[] = { 12 | 0, 13 | 0, 14 | 0x1c02, /* win 2: addr=0x1c02000, size=4096 bytes */ 15 | 0x1c80, /* win 3: addr=0x1c80000, size=4096 bytes */ 16 | 0x1d00, /* win 4: addr=0x1d00000, size=4096 bytes */ 17 | 0x1d01, /* win 5: addr=0x1d01000, size=4096 bytes */ 18 | 0x1d80, /* win 6: addr=0x1d80000, size=4096 bytes */ 19 | 0x1d81, /* win 7: addr=0x1d81000, size=4096 bytes */ 20 | 0x1d82, /* win 8: addr=0x1d82000, size=4096 bytes */ 21 | 0x1e00, /* win 9: addr=0x1e00000, size=4096 bytes */ 22 | 0x1e80, /* win 10: addr=0x1e80000, size=4096 bytes */ 23 | 0x1f00, /* win 11: addr=0x1f00000, size=4096 bytes */ 24 | 0, 25 | 0, 26 | 0, 27 | 0, 28 | 0, 29 | 0, 30 | 0, 31 | }; 32 | 33 | #endif /* __PREVENT_PXP_GLOBAL_WIN__ */ 34 | -------------------------------------------------------------------------------- /doc/guides/nics/features/qede_vf.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'qede_vf' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Speed capabilities = Y 8 | Link status = Y 9 | Link status event = Y 10 | MTU update = Y 11 | Jumbo frame = Y 12 | Scattered Rx = Y 13 | Promiscuous mode = Y 14 | Allmulticast mode = Y 15 | Unicast MAC filter = Y 16 | Multicast MAC filter = Y 17 | RSS hash = Y 18 | RSS key update = Y 19 | RSS reta update = Y 20 | SR-IOV = Y 21 | VLAN filter = Y 22 | Flow control = Y 23 | CRC offload = Y 24 | VLAN offload = Y 25 | L3 checksum offload = Y 26 | L4 checksum offload = Y 27 | Packet type parsing = Y 28 | Basic stats = Y 29 | Extended stats = Y 30 | Stats per queue = Y 31 | Multiprocess aware = Y 32 | Linux UIO = Y 33 | x86-64 = Y 34 | Usage doc = Y 35 | -------------------------------------------------------------------------------- /doc/guides/nics/features/fm10k_vec.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'fm10k_vec' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Rx interrupt = Y 8 | Queue start/stop = Y 9 | Jumbo frame = Y 10 | Scattered Rx = Y 11 | TSO = Y 12 | Promiscuous mode = Y 13 | Allmulticast mode = Y 14 | Unicast MAC filter = Y 15 | Multicast MAC filter = Y 16 | RSS hash = Y 17 | RSS key update = Y 18 | RSS reta update = Y 19 | VMDq = Y 20 | VLAN filter = Y 21 | CRC offload = Y 22 | VLAN offload = Y 23 | L3 checksum offload = Y 24 | L4 checksum offload = Y 25 | Packet type parsing = Y 26 | Basic stats = Y 27 | Extended stats = Y 28 | Stats per queue = Y 29 | Multiprocess aware = Y 30 | BSD nic_uio = Y 31 | Linux UIO = Y 32 | Linux VFIO = Y 33 | x86-32 = Y 34 | x86-64 = Y 35 | -------------------------------------------------------------------------------- /doc/guides/nics/features/mlx5.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'mlx5' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Speed capabilities = Y 8 | Link status = Y 9 | Link status event = Y 10 | Queue start/stop = Y 11 | MTU update = Y 12 | Jumbo frame = Y 13 | Scattered Rx = Y 14 | Promiscuous mode = Y 15 | Allmulticast mode = Y 16 | Unicast MAC filter = Y 17 | Multicast MAC filter = Y 18 | RSS hash = Y 19 | RSS key update = Y 20 | RSS reta update = Y 21 | SR-IOV = Y 22 | VLAN filter = Y 23 | Flow director = Y 24 | CRC offload = Y 25 | VLAN offload = Y 26 | L3 checksum offload = Y 27 | L4 checksum offload = Y 28 | Packet type parsing = Y 29 | Basic stats = Y 30 | Stats per queue = Y 31 | Multiprocess aware = Y 32 | Other kdrv = Y 33 | Power8 = Y 34 | x86-32 = Y 35 | x86-64 = Y 36 | Usage doc = Y 37 | -------------------------------------------------------------------------------- /drivers/net/bonding/rte_eth_bond_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_eth_bond_8023ad_conf_get; 5 | rte_eth_bond_8023ad_setup; 6 | rte_eth_bond_active_slaves_get; 7 | rte_eth_bond_create; 8 | rte_eth_bond_link_monitoring_set; 9 | rte_eth_bond_mac_address_reset; 10 | rte_eth_bond_mac_address_set; 11 | rte_eth_bond_mode_get; 12 | rte_eth_bond_mode_set; 13 | rte_eth_bond_primary_get; 14 | rte_eth_bond_primary_set; 15 | rte_eth_bond_slave_add; 16 | rte_eth_bond_slave_remove; 17 | rte_eth_bond_slaves_get; 18 | rte_eth_bond_xmit_policy_get; 19 | rte_eth_bond_xmit_policy_set; 20 | 21 | local: *; 22 | }; 23 | 24 | DPDK_2.1 { 25 | global: 26 | 27 | rte_eth_bond_free; 28 | 29 | } DPDK_2.0; 30 | 31 | DPDK_16.04 { 32 | }; 33 | 34 | DPDK_16.07 { 35 | global: 36 | 37 | rte_eth_bond_8023ad_ext_collect; 38 | rte_eth_bond_8023ad_ext_collect_get; 39 | rte_eth_bond_8023ad_ext_distrib; 40 | rte_eth_bond_8023ad_ext_distrib_get; 41 | rte_eth_bond_8023ad_ext_slowtx; 42 | rte_eth_bond_8023ad_conf_get; 43 | rte_eth_bond_8023ad_setup; 44 | 45 | } DPDK_16.04; 46 | -------------------------------------------------------------------------------- /doc/guides/nics/features/i40e_vf.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'i40e_vf' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Rx interrupt = Y 8 | Queue start/stop = Y 9 | Jumbo frame = Y 10 | Scattered Rx = Y 11 | TSO = Y 12 | Promiscuous mode = Y 13 | Allmulticast mode = Y 14 | Unicast MAC filter = Y 15 | Multicast MAC filter = Y 16 | RSS hash = Y 17 | RSS key update = Y 18 | RSS reta update = Y 19 | VLAN filter = Y 20 | Hash filter = Y 21 | CRC offload = Y 22 | VLAN offload = Y 23 | QinQ offload = Y 24 | L3 checksum offload = Y 25 | L4 checksum offload = Y 26 | Inner L3 checksum = Y 27 | Inner L4 checksum = Y 28 | Packet type parsing = Y 29 | Basic stats = Y 30 | Extended stats = Y 31 | Multiprocess aware = Y 32 | BSD nic_uio = Y 33 | Linux UIO = Y 34 | Linux VFIO = Y 35 | x86-32 = Y 36 | x86-64 = Y 37 | -------------------------------------------------------------------------------- /drivers/net/bnx2x/Makefile: -------------------------------------------------------------------------------- 1 | include $(RTE_SDK)/mk/rte.vars.mk 2 | 3 | # 4 | # library name 5 | # 6 | LIB = librte_pmd_bnx2x.a 7 | 8 | CFLAGS += -O3 9 | CFLAGS += $(WERROR_FLAGS) 10 | CFLAGS += -DZLIB_CONST 11 | LDLIBS += -lz 12 | 13 | EXPORT_MAP := rte_pmd_bnx2x_version.map 14 | 15 | LIBABIVER := 1 16 | 17 | ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) 18 | CFLAGS += -wd188 #188: enumerated type mixed with another type 19 | endif 20 | 21 | # 22 | # all source are stored in SRCS-y 23 | # 24 | SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += bnx2x.c 25 | SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += bnx2x_rxtx.c 26 | SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += bnx2x_stats.c 27 | SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += bnx2x_ethdev.c 28 | SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += ecore_sp.c 29 | SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += elink.c 30 | SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += bnx2x_vfpf.c 31 | 32 | # this lib depends upon: 33 | DEPDIRS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += lib/librte_eal lib/librte_ether 34 | DEPDIRS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += lib/librte_mempool lib/librte_mbuf 35 | 36 | include $(RTE_SDK)/mk/rte.lib.mk 37 | -------------------------------------------------------------------------------- /examples/ip_pipeline/config/flow.sh: -------------------------------------------------------------------------------- 1 | # 2 | # run ./config/flow.sh 3 | # 4 | 5 | ################################################################################ 6 | # Flow classification (QinQ) 7 | ################################################################################ 8 | #p 1 flow add default 4 #SINK0 9 | #p 1 flow add qinq 100 200 port 0 id 0 10 | #p 1 flow add qinq 101 201 port 1 id 1 11 | #p 1 flow add qinq 102 202 port 2 id 2 12 | #p 1 flow add qinq 103 203 port 3 id 3 13 | 14 | #p 1 flow add qinq bulk ./config/flow.txt 15 | 16 | ################################################################################ 17 | # Flow classification (IPv4 5-tuple) 18 | ################################################################################ 19 | p 1 flow add default 4 #SINK0 20 | p 1 flow add ipv4 100.0.0.10 200.0.0.10 100 200 6 port 0 id 0 21 | p 1 flow add ipv4 100.0.0.11 200.0.0.11 101 201 6 port 1 id 1 22 | p 1 flow add ipv4 100.0.0.12 200.0.0.12 102 202 6 port 2 id 2 23 | p 1 flow add ipv4 100.0.0.13 200.0.0.13 103 203 6 port 3 id 3 24 | 25 | #p 1 flow add ipv4 bulk ./config/flow.txt 26 | -------------------------------------------------------------------------------- /lib/librte_pipeline/rte_pipeline_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_pipeline_check; 5 | rte_pipeline_create; 6 | rte_pipeline_flush; 7 | rte_pipeline_free; 8 | rte_pipeline_port_in_connect_to_table; 9 | rte_pipeline_port_in_create; 10 | rte_pipeline_port_in_disable; 11 | rte_pipeline_port_in_enable; 12 | rte_pipeline_port_out_create; 13 | rte_pipeline_port_out_packet_insert; 14 | rte_pipeline_run; 15 | rte_pipeline_table_create; 16 | rte_pipeline_table_default_entry_add; 17 | rte_pipeline_table_default_entry_delete; 18 | rte_pipeline_table_entry_add; 19 | rte_pipeline_table_entry_delete; 20 | 21 | local: *; 22 | }; 23 | 24 | DPDK_2.1 { 25 | global: 26 | 27 | rte_pipeline_port_in_stats_read; 28 | rte_pipeline_port_out_stats_read; 29 | rte_pipeline_table_stats_read; 30 | 31 | } DPDK_2.0; 32 | 33 | DPDK_2.2 { 34 | global: 35 | 36 | rte_pipeline_table_entry_add_bulk; 37 | rte_pipeline_table_entry_delete_bulk; 38 | 39 | } DPDK_2.1; 40 | 41 | DPDK_16.04 { 42 | global: 43 | 44 | rte_pipeline_ah_packet_hijack; 45 | rte_pipeline_ah_packet_drop; 46 | 47 | } DPDK_2.2; 48 | -------------------------------------------------------------------------------- /drivers/net/qede/base/ecore_utils.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 QLogic Corporation. 3 | * All rights reserved. 4 | * www.qlogic.com 5 | * 6 | * See LICENSE.qede_pmd for copyright and licensing details. 7 | */ 8 | 9 | #ifndef __ECORE_UTILS_H__ 10 | #define __ECORE_UTILS_H__ 11 | 12 | /* dma_addr_t manip */ 13 | #define DMA_LO(x) ((u32)(((dma_addr_t)(x)) & 0xffffffff)) 14 | #define DMA_HI(x) ((u32)(((dma_addr_t)(x)) >> 32)) 15 | 16 | #define DMA_LO_LE(x) OSAL_CPU_TO_LE32(DMA_LO(x)) 17 | #define DMA_HI_LE(x) OSAL_CPU_TO_LE32(DMA_HI(x)) 18 | 19 | /* It's assumed that whoever includes this has previously included an hsi 20 | * file defining the regpair. 21 | */ 22 | #define DMA_REGPAIR_LE(x, val) (x).hi = DMA_HI_LE((val)); \ 23 | (x).lo = DMA_LO_LE((val)) 24 | 25 | #define HILO_GEN(hi, lo, type) ((((type)(hi)) << 32) + (lo)) 26 | #define HILO_DMA(hi, lo) HILO_GEN(hi, lo, dma_addr_t) 27 | #define HILO_64(hi, lo) HILO_GEN(hi, lo, u64) 28 | #define HILO_DMA_REGPAIR(regpair) (HILO_DMA(regpair.hi, regpair.lo)) 29 | #define HILO_64_REGPAIR(regpair) (HILO_64(regpair.hi, regpair.lo)) 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /lib/librte_mempool/rte_mempool_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_mempool_audit; 5 | rte_mempool_calc_obj_size; 6 | rte_mempool_count; 7 | rte_mempool_create; 8 | rte_mempool_dump; 9 | rte_mempool_list_dump; 10 | rte_mempool_lookup; 11 | rte_mempool_walk; 12 | rte_mempool_xmem_create; 13 | rte_mempool_xmem_size; 14 | rte_mempool_xmem_usage; 15 | 16 | local: *; 17 | }; 18 | 19 | DPDK_16.07 { 20 | global: 21 | 22 | rte_mempool_avail_count; 23 | rte_mempool_cache_create; 24 | rte_mempool_cache_flush; 25 | rte_mempool_cache_free; 26 | rte_mempool_check_cookies; 27 | rte_mempool_create_empty; 28 | rte_mempool_default_cache; 29 | rte_mempool_free; 30 | rte_mempool_generic_get; 31 | rte_mempool_generic_put; 32 | rte_mempool_in_use_count; 33 | rte_mempool_mem_iter; 34 | rte_mempool_obj_iter; 35 | rte_mempool_ops_table; 36 | rte_mempool_populate_anon; 37 | rte_mempool_populate_default; 38 | rte_mempool_populate_phys; 39 | rte_mempool_populate_phys_tab; 40 | rte_mempool_populate_virt; 41 | rte_mempool_register_ops; 42 | rte_mempool_set_ops_byname; 43 | 44 | } DPDK_2.0; 45 | -------------------------------------------------------------------------------- /doc/guides/nics/features/ixgbe_vf.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'ixgbe_vf' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Rx interrupt = Y 9 | MTU update = Y 10 | Jumbo frame = Y 11 | Scattered Rx = Y 12 | LRO = Y 13 | TSO = Y 14 | Allmulticast mode = Y 15 | Unicast MAC filter = Y 16 | RSS hash = Y 17 | RSS key update = Y 18 | RSS reta update = Y 19 | VLAN filter = Y 20 | CRC offload = Y 21 | VLAN offload = Y 22 | QinQ offload = Y 23 | L3 checksum offload = Y 24 | L4 checksum offload = Y 25 | Inner L3 checksum = Y 26 | Inner L4 checksum = Y 27 | Packet type parsing = Y 28 | Basic stats = Y 29 | Extended stats = Y 30 | Registers dump = Y 31 | Multiprocess aware = Y 32 | BSD nic_uio = Y 33 | Linux UIO = Y 34 | Linux VFIO = Y 35 | ARMv8 = Y 36 | x86-32 = Y 37 | x86-64 = Y 38 | -------------------------------------------------------------------------------- /lib/librte_port/rte_port_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | rte_port_ethdev_reader_ops; 5 | rte_port_ethdev_writer_ops; 6 | rte_port_ring_reader_ipv4_frag_ops; 7 | rte_port_ring_reader_ops; 8 | rte_port_ring_writer_ipv4_ras_ops; 9 | rte_port_ring_writer_ops; 10 | rte_port_sched_reader_ops; 11 | rte_port_sched_writer_ops; 12 | rte_port_sink_ops; 13 | rte_port_source_ops; 14 | 15 | local: *; 16 | }; 17 | 18 | DPDK_2.1 { 19 | global: 20 | 21 | rte_port_ethdev_writer_nodrop_ops; 22 | rte_port_ring_reader_ipv6_frag_ops; 23 | rte_port_ring_writer_ipv6_ras_ops; 24 | rte_port_ring_writer_nodrop_ops; 25 | 26 | } DPDK_2.0; 27 | 28 | DPDK_2.2 { 29 | global: 30 | 31 | rte_port_ring_multi_reader_ops; 32 | rte_port_ring_multi_writer_ops; 33 | rte_port_ring_multi_writer_nodrop_ops; 34 | 35 | } DPDK_2.1; 36 | 37 | DPDK_16.07 { 38 | global: 39 | 40 | rte_port_kni_reader_ops; 41 | rte_port_kni_writer_ops; 42 | rte_port_kni_writer_nodrop_ops; 43 | 44 | } DPDK_2.2; 45 | 46 | DPDK_16.11 { 47 | global: 48 | 49 | rte_port_fd_reader_ops; 50 | rte_port_fd_writer_ops; 51 | rte_port_fd_writer_nodrop_ops; 52 | 53 | } DPDK_16.07; 54 | -------------------------------------------------------------------------------- /doc/guides/nics/features/i40e_vec.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'i40e_vec' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Link status event = Y 9 | Rx interrupt = Y 10 | Queue start/stop = Y 11 | Jumbo frame = Y 12 | Scattered Rx = Y 13 | TSO = Y 14 | Promiscuous mode = Y 15 | Allmulticast mode = Y 16 | Unicast MAC filter = Y 17 | Multicast MAC filter = Y 18 | RSS hash = Y 19 | RSS key update = Y 20 | RSS reta update = Y 21 | VMDq = Y 22 | SR-IOV = Y 23 | DCB = Y 24 | VLAN filter = Y 25 | Ethertype filter = Y 26 | Tunnel filter = Y 27 | Hash filter = Y 28 | Flow director = Y 29 | Flow control = Y 30 | Traffic mirroring = Y 31 | Timesync = Y 32 | Basic stats = Y 33 | Extended stats = Y 34 | Multiprocess aware = Y 35 | BSD nic_uio = Y 36 | Linux UIO = Y 37 | Linux VFIO = Y 38 | x86-32 = Y 39 | x86-64 = Y 40 | ARMv8 = Y 41 | -------------------------------------------------------------------------------- /drivers/net/qede/base/ecore_sp_api.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 QLogic Corporation. 3 | * All rights reserved. 4 | * www.qlogic.com 5 | * 6 | * See LICENSE.qede_pmd for copyright and licensing details. 7 | */ 8 | 9 | #ifndef __ECORE_SP_API_H__ 10 | #define __ECORE_SP_API_H__ 11 | 12 | #include "ecore_status.h" 13 | 14 | enum spq_mode { 15 | ECORE_SPQ_MODE_BLOCK, /* Client will poll a designated mem. address */ 16 | ECORE_SPQ_MODE_CB, /* Client supplies a callback */ 17 | ECORE_SPQ_MODE_EBLOCK, /* ECORE should block until completion */ 18 | }; 19 | 20 | struct ecore_hwfn; 21 | union event_ring_data; 22 | struct eth_slow_path_rx_cqe; 23 | 24 | struct ecore_spq_comp_cb { 25 | void (*function)(struct ecore_hwfn *, 26 | void *, 27 | union event_ring_data *, 28 | u8 fw_return_code); 29 | void *cookie; 30 | }; 31 | 32 | 33 | /** 34 | * @brief ecore_eth_cqe_completion - handles the completion of a 35 | * ramrod on the cqe ring 36 | * 37 | * @param p_hwfn 38 | * @param cqe 39 | * 40 | * @return enum _ecore_status_t 41 | */ 42 | enum _ecore_status_t ecore_eth_cqe_completion(struct ecore_hwfn *p_hwfn, 43 | struct eth_slow_path_rx_cqe *cqe); 44 | 45 | #endif 46 | -------------------------------------------------------------------------------- /lib/librte_cryptodev/rte_cryptodev_version.map: -------------------------------------------------------------------------------- 1 | DPDK_16.04 { 2 | global: 3 | 4 | rte_cryptodevs; 5 | rte_cryptodev_callback_register; 6 | rte_cryptodev_callback_unregister; 7 | rte_cryptodev_close; 8 | rte_cryptodev_count; 9 | rte_cryptodev_count_devtype; 10 | rte_cryptodev_configure; 11 | rte_cryptodev_create_vdev; 12 | rte_cryptodev_get_dev_id; 13 | rte_cryptodev_get_feature_name; 14 | rte_cryptodev_info_get; 15 | rte_cryptodev_pmd_allocate; 16 | rte_cryptodev_pmd_callback_process; 17 | rte_cryptodev_pmd_release_device; 18 | rte_cryptodev_pmd_virtual_dev_init; 19 | rte_cryptodev_sym_session_create; 20 | rte_cryptodev_sym_session_free; 21 | rte_cryptodev_socket_id; 22 | rte_cryptodev_start; 23 | rte_cryptodev_stats_get; 24 | rte_cryptodev_stats_reset; 25 | rte_cryptodev_stop; 26 | rte_cryptodev_queue_pair_count; 27 | rte_cryptodev_queue_pair_setup; 28 | rte_cryptodev_queue_pair_start; 29 | rte_cryptodev_queue_pair_stop; 30 | rte_crypto_op_pool_create; 31 | 32 | local: *; 33 | }; 34 | 35 | DPDK_16.07 { 36 | global: 37 | 38 | rte_cryptodev_parse_vdev_init_params; 39 | 40 | } DPDK_16.04; 41 | 42 | DPDK_16.11 { 43 | global: 44 | 45 | rte_cryptodev_pci_probe; 46 | rte_cryptodev_pci_remove; 47 | 48 | } DPDK_16.07; 49 | -------------------------------------------------------------------------------- /doc/build-sdk-quick.txt: -------------------------------------------------------------------------------- 1 | Basic build 2 | make config T=x86_64-native-linuxapp-gcc && make 3 | Build commands 4 | config get configuration from target template (T=) 5 | all same as build (default rule) 6 | build build in a configured directory 7 | clean remove files but keep configuration 8 | install T= configure, build and install a target in DESTDIR 9 | install install optionally staged in DESTDIR 10 | examples build examples for given targets (T=) 11 | examples_clean clean examples for given targets (T=) 12 | Build variables 13 | EXTRA_CPPFLAGS preprocessor options 14 | EXTRA_CFLAGS compiler options 15 | EXTRA_LDFLAGS linker options 16 | EXTRA_LDLIBS linker library options 17 | RTE_KERNELDIR linux headers path 18 | RTE_DEVEL_BUILD stricter options (default: y in git tree) 19 | CROSS toolchain prefix 20 | V verbose 21 | D debug dependencies 22 | O build directory (default: build/ - install T= default: ./) 23 | DESTDIR staging install directory 24 | prefix root install directory 25 | T target template - used with config or install 26 | format: 27 | templates in config/defconfig_* 28 | -------------------------------------------------------------------------------- /examples/dpdk_qat/config_files/coleto/dh895xcc_qa_dev0.conf: -------------------------------------------------------------------------------- 1 | [GENERAL] 2 | ServicesEnabled = cy;dc 3 | ConfigVersion = 2 4 | cyHmacAuthMode = 1 5 | dcTotalSRAMAvailable = 0 6 | Firmware_MofPath = dh895xcc/mof_firmware.bin 7 | Firmware_MmpPath = dh895xcc/mmp_firmware.bin 8 | statsGeneral = 1 9 | statsDc = 1 10 | statsDh = 1 11 | statsDrbg = 1 12 | statsDsa = 1 13 | statsEcc = 1 14 | statsKeyGen = 1 15 | statsLn = 1 16 | statsPrime = 1 17 | statsRsa = 1 18 | statsSym = 1 19 | SRIOV_Enabled = 0 20 | ProcDebug = 1 21 | 22 | [KERNEL] 23 | NumberCyInstances = 0 24 | NumberDcInstances = 0 25 | 26 | [SSL] 27 | NumberCyInstances = 8 28 | NumberDcInstances = 0 29 | NumProcesses = 1 30 | LimitDevAccess = 0 31 | 32 | Cy0Name = "SSL0" 33 | Cy0IsPolled = 1 34 | Cy0CoreAffinity = 0 35 | 36 | Cy1Name = "SSL1" 37 | Cy1IsPolled = 1 38 | Cy1CoreAffinity = 1 39 | 40 | Cy2Name = "SSL2" 41 | Cy2IsPolled = 1 42 | Cy2CoreAffinity = 2 43 | 44 | Cy3Name = "SSL3" 45 | Cy3IsPolled = 1 46 | Cy3CoreAffinity = 3 47 | 48 | 49 | Cy4Name = "SSL4" 50 | Cy4IsPolled = 1 51 | Cy4CoreAffinity = 4 52 | 53 | 54 | Cy5Name = "SSL5" 55 | Cy5IsPolled = 1 56 | Cy5CoreAffinity = 5 57 | 58 | Cy6Name = "SSL6" 59 | Cy6IsPolled = 1 60 | Cy6CoreAffinity = 6 61 | 62 | 63 | Cy7Name = "SSL7" 64 | Cy7IsPolled = 1 65 | Cy7CoreAffinity = 7 66 | -------------------------------------------------------------------------------- /doc/guides/nics/features/igb.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'igb' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Link status event = Y 9 | Rx interrupt = Y 10 | MTU update = Y 11 | Jumbo frame = Y 12 | Scattered Rx = Y 13 | TSO = Y 14 | Promiscuous mode = Y 15 | Allmulticast mode = Y 16 | Unicast MAC filter = Y 17 | RSS hash = Y 18 | RSS key update = Y 19 | RSS reta update = Y 20 | VMDq = Y 21 | SR-IOV = Y 22 | DCB = Y 23 | VLAN filter = Y 24 | Ethertype filter = Y 25 | N-tuple filter = Y 26 | SYN filter = Y 27 | Flexible filter = Y 28 | Flow control = Y 29 | CRC offload = Y 30 | VLAN offload = Y 31 | QinQ offload = Y 32 | L3 checksum offload = Y 33 | L4 checksum offload = Y 34 | Packet type parsing = Y 35 | Timesync = Y 36 | Basic stats = Y 37 | Extended stats = Y 38 | EEPROM dump = Y 39 | Registers dump = Y 40 | BSD nic_uio = Y 41 | Linux UIO = Y 42 | Linux VFIO = Y 43 | x86-32 = Y 44 | x86-64 = Y 45 | -------------------------------------------------------------------------------- /examples/ip_pipeline/config/action.txt: -------------------------------------------------------------------------------- 1 | # 2 | # p action flow bulk ./config/action.txt 3 | # 4 | 5 | flow 0 meter 0 trtcm 1250000000 1250000000 1000000 1000000 policer 0 g G y Y r R meter 1 trtcm 1250000000 1250000000 1000000 1000000 policer 1 g G y Y r R meter 2 trtcm 1250000000 1250000000 1000000 1000000 policer 2 g G y Y r R meter 3 trtcm 1250000000 1250000000 1000000 1000000 policer 3 g G y Y r R port 0 6 | flow 1 meter 0 trtcm 1250000000 1250000000 1000000 1000000 policer 0 g G y Y r R meter 1 trtcm 1250000000 1250000000 1000000 1000000 policer 1 g G y Y r R meter 2 trtcm 1250000000 1250000000 1000000 1000000 policer 2 g G y Y r R meter 3 trtcm 1250000000 1250000000 1000000 1000000 policer 3 g G y Y r R port 1 7 | flow 2 meter 0 trtcm 1250000000 1250000000 1000000 1000000 policer 0 g G y Y r R meter 1 trtcm 1250000000 1250000000 1000000 1000000 policer 1 g G y Y r R meter 2 trtcm 1250000000 1250000000 1000000 1000000 policer 2 g G y Y r R meter 3 trtcm 1250000000 1250000000 1000000 1000000 policer 3 g G y Y r R port 2 8 | flow 3 meter 0 trtcm 1250000000 1250000000 1000000 1000000 policer 0 g G y Y r R meter 1 trtcm 1250000000 1250000000 1000000 1000000 policer 1 g G y Y r R meter 2 trtcm 1250000000 1250000000 1000000 1000000 policer 2 g G y Y r R meter 3 trtcm 1250000000 1250000000 1000000 1000000 policer 3 g G y Y r R port 3 9 | -------------------------------------------------------------------------------- /lib/librte_sched/rte_reciprocal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Reciprocal divide 3 | * 4 | * Used with permission from original authors 5 | * Hannes Frederic Sowa and Daniel Borkmann 6 | * 7 | * This algorithm is based on the paper "Division by Invariant 8 | * Integers Using Multiplication" by Torbjörn Granlund and Peter 9 | * L. Montgomery. 10 | * 11 | * The assembler implementation from Agner Fog, which this code is 12 | * based on, can be found here: 13 | * http://www.agner.org/optimize/asmlib.zip 14 | * 15 | * This optimization for A/B is helpful if the divisor B is mostly 16 | * runtime invariant. The reciprocal of B is calculated in the 17 | * slow-path with reciprocal_value(). The fast-path can then just use 18 | * a much faster multiplication operation with a variable dividend A 19 | * to calculate the division A/B. 20 | */ 21 | 22 | #ifndef _RTE_RECIPROCAL_H_ 23 | #define _RTE_RECIPROCAL_H_ 24 | 25 | #include 26 | 27 | struct rte_reciprocal { 28 | uint32_t m; 29 | uint8_t sh1, sh2; 30 | }; 31 | 32 | static inline uint32_t rte_reciprocal_divide(uint32_t a, struct rte_reciprocal R) 33 | { 34 | uint32_t t = (uint32_t)(((uint64_t)a * R.m) >> 32); 35 | 36 | return (t + ((a - t) >> R.sh1)) >> R.sh2; 37 | } 38 | 39 | struct rte_reciprocal rte_reciprocal_value(uint32_t d); 40 | 41 | #endif /* _RTE_RECIPROCAL_H_ */ 42 | -------------------------------------------------------------------------------- /doc/guides/nics/features/ixgbe_vec.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'ixgbe_vec' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Link status event = Y 9 | Rx interrupt = Y 10 | Queue start/stop = Y 11 | MTU update = Y 12 | Jumbo frame = Y 13 | Scattered Rx = Y 14 | LRO = Y 15 | TSO = Y 16 | Promiscuous mode = Y 17 | Allmulticast mode = Y 18 | Unicast MAC filter = Y 19 | RSS hash = Y 20 | RSS key update = Y 21 | RSS reta update = Y 22 | VMDq = Y 23 | SR-IOV = Y 24 | DCB = Y 25 | VLAN filter = Y 26 | Ethertype filter = Y 27 | N-tuple filter = Y 28 | SYN filter = Y 29 | Tunnel filter = Y 30 | Flow director = Y 31 | Flow control = Y 32 | Rate limitation = Y 33 | Traffic mirroring = Y 34 | Timesync = Y 35 | Basic stats = Y 36 | Extended stats = Y 37 | Stats per queue = Y 38 | EEPROM dump = Y 39 | Registers dump = Y 40 | Multiprocess aware = Y 41 | BSD nic_uio = Y 42 | Linux UIO = Y 43 | Linux VFIO = Y 44 | ARMv8 = Y 45 | x86-32 = Y 46 | x86-64 = Y 47 | -------------------------------------------------------------------------------- /doc/guides/nics/features/i40e.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'i40e' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Link status event = Y 9 | Rx interrupt = Y 10 | Queue start/stop = Y 11 | Jumbo frame = Y 12 | Scattered Rx = Y 13 | TSO = Y 14 | Promiscuous mode = Y 15 | Allmulticast mode = Y 16 | Unicast MAC filter = Y 17 | Multicast MAC filter = Y 18 | RSS hash = Y 19 | RSS key update = Y 20 | RSS reta update = Y 21 | VMDq = Y 22 | SR-IOV = Y 23 | DCB = Y 24 | VLAN filter = Y 25 | Ethertype filter = Y 26 | Tunnel filter = Y 27 | Hash filter = Y 28 | Flow director = Y 29 | Flow control = Y 30 | Traffic mirroring = Y 31 | CRC offload = Y 32 | VLAN offload = Y 33 | QinQ offload = Y 34 | L3 checksum offload = Y 35 | L4 checksum offload = Y 36 | Inner L3 checksum = Y 37 | Inner L4 checksum = Y 38 | Packet type parsing = Y 39 | Timesync = Y 40 | Basic stats = Y 41 | Extended stats = Y 42 | Multiprocess aware = Y 43 | BSD nic_uio = Y 44 | Linux UIO = Y 45 | Linux VFIO = Y 46 | x86-32 = Y 47 | x86-64 = Y 48 | ARMv8 = Y 49 | -------------------------------------------------------------------------------- /drivers/net/enic/LICENSE: -------------------------------------------------------------------------------- 1 | * Copyright (c) 2014, Cisco Systems, Inc. 2 | * All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions 6 | * are met: 7 | * 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 11 | * 2. Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in 13 | * the documentation and/or other materials provided with the 14 | * distribution. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 17 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 18 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 19 | * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 20 | * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 22 | * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 24 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 26 | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | * POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /drivers/net/qede/base/ecore_cxt_api.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 QLogic Corporation. 3 | * All rights reserved. 4 | * www.qlogic.com 5 | * 6 | * See LICENSE.qede_pmd for copyright and licensing details. 7 | */ 8 | 9 | #ifndef __ECORE_CXT_API_H__ 10 | #define __ECORE_CXT_API_H__ 11 | 12 | struct ecore_hwfn; 13 | 14 | struct ecore_cxt_info { 15 | void *p_cxt; 16 | u32 iid; 17 | enum protocol_type type; 18 | }; 19 | 20 | #define MAX_TID_BLOCKS 512 21 | struct ecore_tid_mem { 22 | u32 tid_size; 23 | u32 num_tids_per_block; 24 | u32 waste; 25 | u8 *blocks[MAX_TID_BLOCKS]; /* 4K */ 26 | }; 27 | 28 | /** 29 | * @brief ecore_cxt_acquire - Acquire a new cid of a specific protocol type 30 | * 31 | * @param p_hwfn 32 | * @param type 33 | * @param p_cid 34 | * 35 | * @return enum _ecore_status_t 36 | */ 37 | enum _ecore_status_t ecore_cxt_acquire_cid(struct ecore_hwfn *p_hwfn, 38 | enum protocol_type type, 39 | u32 *p_cid); 40 | 41 | /** 42 | * @brief ecoreo_cid_get_cxt_info - Returns the context info for a specific cid 43 | * 44 | * 45 | * @param p_hwfn 46 | * @param p_info in/out 47 | * 48 | * @return enum _ecore_status_t 49 | */ 50 | enum _ecore_status_t ecore_cxt_get_cid_info(struct ecore_hwfn *p_hwfn, 51 | struct ecore_cxt_info *p_info); 52 | 53 | /** 54 | * @brief ecore_cxt_get_tid_mem_info 55 | * 56 | * @param p_hwfn 57 | * @param p_info 58 | * 59 | * @return enum _ecore_status_t 60 | */ 61 | enum _ecore_status_t ecore_cxt_get_tid_mem_info(struct ecore_hwfn *p_hwfn, 62 | struct ecore_tid_mem *p_info); 63 | 64 | #endif 65 | -------------------------------------------------------------------------------- /examples/ip_pipeline/config/edge_router_upstream.sh: -------------------------------------------------------------------------------- 1 | # 2 | # run ./config/edge_router_upstream.sh 3 | # 4 | 5 | ################################################################################ 6 | # Firewall 7 | ################################################################################ 8 | p 1 firewall add default 4 #SINK0 9 | p 1 firewall add bulk ./config/edge_router_upstream_firewall.txt 10 | #p 1 firewall ls 11 | 12 | ################################################################################ 13 | # Flow Classification 14 | ################################################################################ 15 | p 3 flow add default 4 #SINK1 16 | p 3 flow add qinq bulk ./config/edge_router_upstream_flow.txt 17 | #p 3 flow ls 18 | 19 | ################################################################################ 20 | # Flow Actions - Metering and Policing 21 | ################################################################################ 22 | p 4 action flow bulk ./config/edge_router_upstream_action.txt 23 | #p 4 action flow ls 24 | 25 | ################################################################################ 26 | # Routing: Ether MPLS, ARP off 27 | ################################################################################ 28 | p 5 route add default 4 #SINK2 29 | p 5 route add 0.0.0.0 10 port 0 ether a0:b0:c0:d0:e0:f0 mpls 0:1 30 | p 5 route add 0.64.0.0 10 port 1 ether a1:b1:c1:d1:e1:f1 mpls 10:11 31 | p 5 route add 0.128.0.0 10 port 2 ether a2:b2:c2:d2:e2:f2 mpls 20:21 32 | p 5 route add 0.192.0.0 10 port 3 ether a3:b3:c3:d3:e3:f3 mpls 30:31 33 | #p 5 route ls 34 | -------------------------------------------------------------------------------- /doc/guides/nics/features/ixgbe.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Supported features of the 'ixgbe' network poll mode driver. 3 | ; 4 | ; Refer to default.ini for the full list of available PMD features. 5 | ; 6 | [Features] 7 | Link status = Y 8 | Link status event = Y 9 | Rx interrupt = Y 10 | Queue start/stop = Y 11 | MTU update = Y 12 | Jumbo frame = Y 13 | Scattered Rx = Y 14 | LRO = Y 15 | TSO = Y 16 | Promiscuous mode = Y 17 | Allmulticast mode = Y 18 | Unicast MAC filter = Y 19 | RSS hash = Y 20 | RSS key update = Y 21 | RSS reta update = Y 22 | VMDq = Y 23 | SR-IOV = Y 24 | DCB = Y 25 | VLAN filter = Y 26 | Ethertype filter = Y 27 | N-tuple filter = Y 28 | SYN filter = Y 29 | Tunnel filter = Y 30 | Flow director = Y 31 | Flow control = Y 32 | Rate limitation = Y 33 | Traffic mirroring = Y 34 | CRC offload = Y 35 | VLAN offload = Y 36 | QinQ offload = Y 37 | L3 checksum offload = Y 38 | L4 checksum offload = Y 39 | Inner L3 checksum = Y 40 | Inner L4 checksum = Y 41 | Packet type parsing = Y 42 | Timesync = Y 43 | Basic stats = Y 44 | Extended stats = Y 45 | Stats per queue = Y 46 | EEPROM dump = Y 47 | Registers dump = Y 48 | Multiprocess aware = Y 49 | BSD nic_uio = Y 50 | Linux UIO = Y 51 | Linux VFIO = Y 52 | ARMv8 = Y 53 | x86-32 = Y 54 | x86-64 = Y 55 | -------------------------------------------------------------------------------- /drivers/net/bnx2x/LICENSE.bnx2x_pmd: -------------------------------------------------------------------------------- 1 | /* 2 | * BSD LICENSE 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions 6 | * are met: 7 | * 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 3. Neither the name of Broadcom Corporation nor the name of its contributors 14 | * may be used to endorse or promote products derived from this software 15 | * without specific prior written consent. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS' 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27 | * THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | -------------------------------------------------------------------------------- /drivers/net/qede/LICENSE.qede_pmd: -------------------------------------------------------------------------------- 1 | /* 2 | * BSD LICENSE 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions 6 | * are met: 7 | * 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 2. Redistributions in binary form must reproduce the above copyright 11 | * notice, this list of conditions and the following disclaimer in the 12 | * documentation and/or other materials provided with the distribution. 13 | * 3. Neither the name of QLogic Corporation nor the name of its contributors 14 | * may be used to endorse or promote products derived from this software 15 | * without specific prior written consent. 16 | * 17 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS' 18 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27 | * THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | -------------------------------------------------------------------------------- /examples/ip_pipeline/config/l3fwd.sh: -------------------------------------------------------------------------------- 1 | # 2 | # run ./config/l3fwd.sh 3 | # 4 | 5 | ################################################################################ 6 | # Routing: encap = ethernet, arp = off 7 | ################################################################################ 8 | p 1 route add default 4 #SINK0 9 | p 1 route add 100.0.0.0 10 port 0 ether a0:b0:c0:d0:e0:f0 10 | p 1 route add 100.64.0.0 10 port 1 ether a1:b1:c1:d1:e1:f1 11 | p 1 route add 100.128.0.0 10 port 2 ether a2:b2:c2:d2:e2:f2 12 | p 1 route add 100.192.0.0 10 port 3 ether a3:b3:c3:d3:e3:f3 13 | p 1 route ls 14 | 15 | ################################################################################ 16 | # Routing: encap = ethernet_qinq, arp = off 17 | ################################################################################ 18 | #p 1 route add default 4 #SINK0 19 | #p 1 route add 100.0.0.0 10 port 0 ether a0:b0:c0:d0:e0:f0 qinq 1000 2000 20 | #p 1 route add 100.64.0.0 10 port 1 ether a1:b1:c1:d1:e1:f1 qinq 1001 2001 21 | #p 1 route add 100.128.0.0 10 port 2 ether a2:b2:c2:d2:e2:f2 qinq 1002 2002 22 | #p 1 route add 100.192.0.0 10 port 3 ether a3:b3:c3:d3:e3:f3 qinq 1003 2003 23 | #p 1 route ls 24 | 25 | ################################################################################ 26 | # Routing: encap = ethernet_mpls, arp = off 27 | ################################################################################ 28 | #p 1 route add default 4 #SINK0 29 | #p 1 route add 100.0.0.0 10 port 0 ether a0:b0:c0:d0:e0:f0 mpls 1000:2000 30 | #p 1 route add 100.64.0.0 10 port 1 ether a1:b1:c1:d1:e1:f1 mpls 1001:2001 31 | #p 1 route add 100.128.0.0 10 port 2 ether a2:b2:c2:d2:e2:f2 mpls 1002:2002 32 | #p 1 route add 100.192.0.0 10 port 3 ether a3:b3:c3:d3:e3:f3 mpls 1003:2003 33 | #p 1 route ls 34 | -------------------------------------------------------------------------------- /lib/librte_cmdline/rte_cmdline_version.map: -------------------------------------------------------------------------------- 1 | DPDK_2.0 { 2 | global: 3 | 4 | cirbuf_add_buf_head; 5 | cirbuf_add_buf_tail; 6 | cirbuf_add_head; 7 | cirbuf_add_head_safe; 8 | cirbuf_add_tail; 9 | cirbuf_add_tail_safe; 10 | cirbuf_align_left; 11 | cirbuf_align_right; 12 | cirbuf_del_buf_head; 13 | cirbuf_del_buf_tail; 14 | cirbuf_del_head; 15 | cirbuf_del_head_safe; 16 | cirbuf_del_tail; 17 | cirbuf_del_tail_safe; 18 | cirbuf_get_buf_head; 19 | cirbuf_get_buf_tail; 20 | cirbuf_get_head; 21 | cirbuf_get_tail; 22 | cirbuf_init; 23 | cmdline_complete; 24 | cmdline_complete_get_elt_string; 25 | cmdline_complete_get_nb_string; 26 | cmdline_file_new; 27 | cmdline_free; 28 | cmdline_get_help_etheraddr; 29 | cmdline_get_help_ipaddr; 30 | cmdline_get_help_num; 31 | cmdline_get_help_portlist; 32 | cmdline_get_help_string; 33 | cmdline_in; 34 | cmdline_interact; 35 | cmdline_isendoftoken; 36 | cmdline_new; 37 | cmdline_parse; 38 | cmdline_parse_etheraddr; 39 | cmdline_parse_ipaddr; 40 | cmdline_parse_num; 41 | cmdline_parse_portlist; 42 | cmdline_parse_string; 43 | cmdline_printf; 44 | cmdline_quit; 45 | cmdline_set_prompt; 46 | cmdline_stdin_exit; 47 | cmdline_stdin_new; 48 | cmdline_token_etheraddr_ops; 49 | cmdline_token_ipaddr_ops; 50 | cmdline_token_num_ops; 51 | cmdline_token_portlist_ops; 52 | cmdline_token_string_ops; 53 | cmdline_write_char; 54 | rdline_add_history; 55 | rdline_char_in; 56 | rdline_clear_history; 57 | rdline_get_buffer; 58 | rdline_get_history_item; 59 | rdline_init; 60 | rdline_newline; 61 | rdline_quit; 62 | rdline_redisplay; 63 | rdline_reset; 64 | rdline_restart; 65 | rdline_stop; 66 | vt100_init; 67 | vt100_parser; 68 | 69 | local: *; 70 | }; 71 | 72 | DPDK_2.1 { 73 | global: 74 | 75 | cmdline_poll; 76 | 77 | } DPDK_2.0; 78 | -------------------------------------------------------------------------------- /mk/internal/rte.depdirs-pre.mk: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | # nothing 33 | -------------------------------------------------------------------------------- /doc/api/doxy-html-custom.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh -e 2 | 3 | # BSD LICENSE 4 | # 5 | # Copyright 2013 6WIND S.A. 6 | # 7 | # Redistribution and use in source and binary forms, with or without 8 | # modification, are permitted provided that the following conditions 9 | # are met: 10 | # 11 | # * Redistributions of source code must retain the above copyright 12 | # notice, this list of conditions and the following disclaimer. 13 | # * Redistributions in binary form must reproduce the above copyright 14 | # notice, this list of conditions and the following disclaimer in 15 | # the documentation and/or other materials provided with the 16 | # distribution. 17 | # * Neither the name of 6WIND S.A. nor the names of its 18 | # contributors may be used to endorse or promote products derived 19 | # from this software without specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | 33 | CSS=$1 34 | 35 | # space between item and its comment 36 | echo 'dd td:first-child {padding-right: 2em;}' >> $CSS 37 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | .error Error please compile using GNU Make (gmake) 33 | 34 | -------------------------------------------------------------------------------- /drivers/net/ena/base/ena_defs/ena_gen_info.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright (c) 2015-2016 Amazon.com, Inc. or its affiliates. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of copyright holder nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #define ENA_GEN_DATE "Sun Jun 5 10:24:39 IDT 2016" 35 | #define ENA_GEN_COMMIT "17146ed" 36 | -------------------------------------------------------------------------------- /mk/internal/rte.clean-pre.mk: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | _CLEAN_TARGETS := _preclean _clean _postclean 33 | -------------------------------------------------------------------------------- /drivers/net/vmxnet3/base/vmware_pack_begin.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of Intel Corporation nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | -------------------------------------------------------------------------------- /drivers/net/vmxnet3/base/vmware_pack_end.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of Intel Corporation nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | -------------------------------------------------------------------------------- /mk/internal/rte.compile-post.mk: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | # no rule no build these files 33 | $(DEPS-y) $(CMDS-y): 34 | -------------------------------------------------------------------------------- /config/defconfig_arm64-xgene1-linuxapp-gcc: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright (C) Cavium networks 2015. All rights reserved. 4 | # 5 | # Redistribution and use in source and binary forms, with or without 6 | # modification, are permitted provided that the following conditions 7 | # are met: 8 | # 9 | # * Redistributions of source code must retain the above copyright 10 | # notice, this list of conditions and the following disclaimer. 11 | # * Redistributions in binary form must reproduce the above copyright 12 | # notice, this list of conditions and the following disclaimer in 13 | # the documentation and/or other materials provided with the 14 | # distribution. 15 | # * Neither the name of Cavium networks nor the names of its 16 | # contributors may be used to endorse or promote products derived 17 | # from this software without specific prior written permission. 18 | # 19 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | # 31 | 32 | #include "defconfig_arm64-armv8a-linuxapp-gcc" 33 | 34 | CONFIG_RTE_MACHINE="xgene1" 35 | -------------------------------------------------------------------------------- /doc/guides/xen/index.rst: -------------------------------------------------------------------------------- 1 | .. BSD LICENSE 2 | Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | Xen Guide 32 | ========= 33 | 34 | .. toctree:: 35 | :maxdepth: 2 36 | :numbered: 37 | 38 | pkt_switch 39 | -------------------------------------------------------------------------------- /mk/exec-env/bsdapp/rte.app.mk: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | exec-env-appinstall: 33 | @true 34 | 35 | exec-env-appclean: 36 | @true 37 | -------------------------------------------------------------------------------- /mk/exec-env/linuxapp/rte.app.mk: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | exec-env-appinstall: 33 | @true 34 | 35 | exec-env-appclean: 36 | @true 37 | -------------------------------------------------------------------------------- /app/test/test_table_acl.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of Intel Corporation nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | /* Test prototypes */ 35 | int test_table_acl(void); 36 | -------------------------------------------------------------------------------- /app/test/test_table_pipeline.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of Intel Corporation nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | /* Test prototypes */ 35 | int test_table_pipeline(void); 36 | -------------------------------------------------------------------------------- /lib/librte_eal/bsdapp/contigmem/BSDmakefile: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | # 32 | 33 | KMOD= contigmem 34 | SRCS= contigmem.c device_if.h bus_if.h 35 | 36 | .include 37 | -------------------------------------------------------------------------------- /mk/arch/tile/rte.vars.mk: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright (C) EZchip Semiconductor Ltd. 2015. 4 | # 5 | # Redistribution and use in source and binary forms, with or without 6 | # modification, are permitted provided that the following conditions 7 | # are met: 8 | # 9 | # * Redistributions of source code must retain the above copyright 10 | # notice, this list of conditions and the following disclaimer. 11 | # * Redistributions in binary form must reproduce the above copyright 12 | # notice, this list of conditions and the following disclaimer in 13 | # the documentation and/or other materials provided with the 14 | # distribution. 15 | # * Neither the name of EZchip Semiconductor nor the names of its 16 | # contributors may be used to endorse or promote products derived 17 | # from this software without specific prior written permission. 18 | # 19 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | ARCH ?= tile 33 | CROSS ?= 34 | 35 | CPU_CFLAGS ?= 36 | CPU_LDFLAGS ?= 37 | CPU_ASFLAGS ?= 38 | 39 | export ARCH CROSS CPU_CFLAGS CPU_LDFLAGS CPU_ASFLAGS 40 | -------------------------------------------------------------------------------- /lib/librte_eal/bsdapp/nic_uio/BSDmakefile: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | # 32 | 33 | KMOD= nic_uio 34 | SRCS= nic_uio.c device_if.h bus_if.h pci_if.h 35 | 36 | .include 37 | -------------------------------------------------------------------------------- /doc/guides/nics/features/default.ini: -------------------------------------------------------------------------------- 1 | ; 2 | ; Features of a default network driver. 3 | ; 4 | ; This file defines the features that are valid for inclusion in 5 | ; the other driver files and also the order that they appear in 6 | ; the features table in the documentation. 7 | ; 8 | [Features] 9 | Speed capabilities = 10 | Link status = 11 | Link status event = 12 | Queue status event = 13 | Rx interrupt = 14 | Queue start/stop = 15 | MTU update = 16 | Jumbo frame = 17 | Scattered Rx = 18 | LRO = 19 | TSO = 20 | Promiscuous mode = 21 | Allmulticast mode = 22 | Unicast MAC filter = 23 | Multicast MAC filter = 24 | RSS hash = 25 | RSS key update = 26 | RSS reta update = 27 | VMDq = 28 | SR-IOV = 29 | DCB = 30 | VLAN filter = 31 | Ethertype filter = 32 | N-tuple filter = 33 | SYN filter = 34 | Tunnel filter = 35 | Flexible filter = 36 | Hash filter = 37 | Flow director = 38 | Flow control = 39 | Rate limitation = 40 | Traffic mirroring = 41 | CRC offload = 42 | VLAN offload = 43 | QinQ offload = 44 | L3 checksum offload = 45 | L4 checksum offload = 46 | Inner L3 checksum = 47 | Inner L4 checksum = 48 | Packet type parsing = 49 | Timesync = 50 | Basic stats = 51 | Extended stats = 52 | Stats per queue = 53 | EEPROM dump = 54 | Registers dump = 55 | Multiprocess aware = 56 | BSD nic_uio = 57 | Linux UIO = 58 | Linux VFIO = 59 | Other kdrv = 60 | ARMv7 = 61 | ARMv8 = 62 | Power8 = 63 | TILE-Gx = 64 | x86-32 = 65 | x86-64 = 66 | Usage doc = 67 | Design doc = 68 | Perf doc = 69 | -------------------------------------------------------------------------------- /mk/internal/rte.build-pre.mk: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | _BUILD_TARGETS := _prebuild _build _postbuild 33 | 34 | comma := , 35 | linkerprefix = $(subst -Wl$(comma)-L,-L,$(addprefix -Wl$(comma),$1)) 36 | -------------------------------------------------------------------------------- /drivers/Makefile: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2015 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | include $(RTE_SDK)/mk/rte.vars.mk 33 | 34 | DIRS-y += net 35 | DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += crypto 36 | 37 | include $(RTE_SDK)/mk/rte.subdir.mk 38 | -------------------------------------------------------------------------------- /drivers/net/ena/base/ena_defs/ena_includes.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright (c) 2015-2016 Amazon.com, Inc. or its affiliates. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of copyright holder nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #include "ena_common_defs.h" 35 | #include "ena_regs_defs.h" 36 | #include "ena_admin_defs.h" 37 | #include "ena_eth_io_defs.h" 38 | #include "ena_efa_admin_defs.h" 39 | #include "ena_efa_io_defs.h" 40 | -------------------------------------------------------------------------------- /doc/guides/tools/index.rst: -------------------------------------------------------------------------------- 1 | .. BSD LICENSE 2 | Copyright(c) 2016 Canonical Limited. All rights reserved. 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | DPDK Tools User Guides 32 | ====================== 33 | 34 | .. toctree:: 35 | :maxdepth: 2 36 | :numbered: 37 | 38 | proc_info 39 | pdump 40 | pmdinfo 41 | devbind 42 | 43 | -------------------------------------------------------------------------------- /doc/guides/faq/index.rst: -------------------------------------------------------------------------------- 1 | .. BSD LICENSE 2 | Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | FAQ 32 | === 33 | 34 | This document contains some Frequently Asked Questions that arise when working with DPDK. 35 | 36 | .. toctree:: 37 | :maxdepth: 2 38 | :numbered: 39 | 40 | faq 41 | -------------------------------------------------------------------------------- /examples/bond/main.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2010-2015 Intel Corporation. All rights reserved. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of Intel Corporation nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _MAIN_H_ 35 | #define _MAIN_H_ 36 | 37 | int main(int argc, char *argv[]); 38 | 39 | #endif /* ifndef _MAIN_H_ */ 40 | -------------------------------------------------------------------------------- /lib/librte_compat/Makefile: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2013 Neil Horman 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | include $(RTE_SDK)/mk/rte.vars.mk 33 | 34 | 35 | LIBABIVER := 1 36 | 37 | # install includes 38 | SYMLINK-y-include := rte_compat.h 39 | 40 | include $(RTE_SDK)/mk/rte.install.mk 41 | -------------------------------------------------------------------------------- /app/cmdline_test/cmdline_test.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of Intel Corporation nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _CMDLINE_TEST_H_ 35 | #define _CMDLINE_TEST_H_ 36 | 37 | extern cmdline_parse_ctx_t main_ctx[]; 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /doc/guides/howto/index.rst: -------------------------------------------------------------------------------- 1 | .. BSD LICENSE 2 | Copyright(c) 2016 Intel Corporation. All rights reserved. 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | HowTo Guides 32 | ============ 33 | 34 | .. toctree:: 35 | :maxdepth: 2 36 | :numbered: 37 | 38 | lm_bond_virtio_sriov 39 | lm_virtio_vhost_user 40 | flow_bifurcation 41 | pvp_reference_benchmark 42 | -------------------------------------------------------------------------------- /doc/guides/testpmd_app_ug/index.rst: -------------------------------------------------------------------------------- 1 | .. BSD LICENSE 2 | Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | Testpmd Application User Guide 32 | ============================== 33 | 34 | .. toctree:: 35 | :maxdepth: 3 36 | :numbered: 37 | 38 | intro 39 | build_app 40 | run_app 41 | testpmd_funcs 42 | -------------------------------------------------------------------------------- /examples/cmdline/commands.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of Intel Corporation nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _COMMANDS_H_ 35 | #define _COMMANDS_H_ 36 | 37 | extern cmdline_parse_ctx_t main_ctx[]; 38 | 39 | #endif /* _COMMANDS_H_ */ 40 | -------------------------------------------------------------------------------- /drivers/net/qede/base/ecore_hw_defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 QLogic Corporation. 3 | * All rights reserved. 4 | * www.qlogic.com 5 | * 6 | * See LICENSE.qede_pmd for copyright and licensing details. 7 | */ 8 | 9 | #ifndef _ECORE_IGU_DEF_H_ 10 | #define _ECORE_IGU_DEF_H_ 11 | 12 | /* Fields of IGU PF CONFIGRATION REGISTER */ 13 | /* function enable */ 14 | #define IGU_PF_CONF_FUNC_EN (0x1 << 0) 15 | /* MSI/MSIX enable */ 16 | #define IGU_PF_CONF_MSI_MSIX_EN (0x1 << 1) 17 | /* INT enable */ 18 | #define IGU_PF_CONF_INT_LINE_EN (0x1 << 2) 19 | /* attention enable */ 20 | #define IGU_PF_CONF_ATTN_BIT_EN (0x1 << 3) 21 | /* single ISR mode enable */ 22 | #define IGU_PF_CONF_SINGLE_ISR_EN (0x1 << 4) 23 | /* simd all ones mode */ 24 | #define IGU_PF_CONF_SIMD_MODE (0x1 << 5) 25 | 26 | /* Fields of IGU VF CONFIGRATION REGISTER */ 27 | /* function enable */ 28 | #define IGU_VF_CONF_FUNC_EN (0x1 << 0) 29 | /* MSI/MSIX enable */ 30 | #define IGU_VF_CONF_MSI_MSIX_EN (0x1 << 1) 31 | /* single ISR mode enable */ 32 | #define IGU_VF_CONF_SINGLE_ISR_EN (0x1 << 4) 33 | /* Parent PF */ 34 | #define IGU_VF_CONF_PARENT_MASK (0xF) 35 | /* Parent PF */ 36 | #define IGU_VF_CONF_PARENT_SHIFT 5 37 | 38 | /* Igu control commands 39 | */ 40 | enum igu_ctrl_cmd { 41 | IGU_CTRL_CMD_TYPE_RD, 42 | IGU_CTRL_CMD_TYPE_WR, 43 | MAX_IGU_CTRL_CMD 44 | }; 45 | 46 | /* Control register for the IGU command register 47 | */ 48 | struct igu_ctrl_reg { 49 | u32 ctrl_data; 50 | #define IGU_CTRL_REG_FID_MASK 0xFFFF /* Opaque_FID */ 51 | #define IGU_CTRL_REG_FID_SHIFT 0 52 | #define IGU_CTRL_REG_PXP_ADDR_MASK 0xFFF /* Command address */ 53 | #define IGU_CTRL_REG_PXP_ADDR_SHIFT 16 54 | #define IGU_CTRL_REG_RESERVED_MASK 0x1 55 | #define IGU_CTRL_REG_RESERVED_SHIFT 28 56 | #define IGU_CTRL_REG_TYPE_MASK 0x1 /* use enum igu_ctrl_cmd */ 57 | #define IGU_CTRL_REG_TYPE_SHIFT 31 58 | }; 59 | 60 | #endif 61 | -------------------------------------------------------------------------------- /drivers/net/qede/base/ecore_gtt_reg_addr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 QLogic Corporation. 3 | * All rights reserved. 4 | * www.qlogic.com 5 | * 6 | * See LICENSE.qede_pmd for copyright and licensing details. 7 | */ 8 | 9 | #ifndef GTT_REG_ADDR_H 10 | #define GTT_REG_ADDR_H 11 | 12 | /* Win 2 */ 13 | /* Access:RW DataWidth:0x20 Chips: BB_A0 BB_B0 K2 */ 14 | #define GTT_BAR0_MAP_REG_IGU_CMD 0x00f000UL 15 | 16 | /* Win 3 */ 17 | /* Access:RW DataWidth:0x20 Chips: BB_A0 BB_B0 K2 */ 18 | #define GTT_BAR0_MAP_REG_TSDM_RAM 0x010000UL 19 | 20 | /* Win 4 */ 21 | /* Access:RW DataWidth:0x20 Chips: BB_A0 BB_B0 K2 */ 22 | #define GTT_BAR0_MAP_REG_MSDM_RAM 0x011000UL 23 | 24 | /* Win 5 */ 25 | /* Access:RW DataWidth:0x20 Chips: BB_A0 BB_B0 K2 */ 26 | #define GTT_BAR0_MAP_REG_MSDM_RAM_1024 0x012000UL 27 | 28 | /* Win 6 */ 29 | /* Access:RW DataWidth:0x20 Chips: BB_A0 BB_B0 K2 */ 30 | #define GTT_BAR0_MAP_REG_USDM_RAM 0x013000UL 31 | 32 | /* Win 7 */ 33 | /* Access:RW DataWidth:0x20 Chips: BB_A0 BB_B0 K2 */ 34 | #define GTT_BAR0_MAP_REG_USDM_RAM_1024 0x014000UL 35 | 36 | /* Win 8 */ 37 | /* Access:RW DataWidth:0x20 Chips: BB_A0 BB_B0 K2 */ 38 | #define GTT_BAR0_MAP_REG_USDM_RAM_2048 0x015000UL 39 | 40 | /* Win 9 */ 41 | /* Access:RW DataWidth:0x20 Chips: BB_A0 BB_B0 K2 */ 42 | #define GTT_BAR0_MAP_REG_XSDM_RAM 0x016000UL 43 | 44 | /* Win 10 */ 45 | /* Access:RW DataWidth:0x20 Chips: BB_A0 BB_B0 K2 */ 46 | #define GTT_BAR0_MAP_REG_YSDM_RAM 0x017000UL 47 | 48 | /* Win 11 */ 49 | /* Access:RW DataWidth:0x20 Chips: BB_A0 BB_B0 K2 */ 50 | #define GTT_BAR0_MAP_REG_PSDM_RAM 0x018000UL 51 | 52 | #endif 53 | -------------------------------------------------------------------------------- /drivers/net/bnx2x/bnx2x_logs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013-2015 Brocade Communications Systems, Inc. 3 | * 4 | * Copyright (c) 2015 QLogic Corporation. 5 | * All rights reserved. 6 | * www.qlogic.com 7 | * 8 | * See LICENSE.bnx2x_pmd for copyright and licensing details. 9 | */ 10 | 11 | #ifndef _PMD_LOGS_H_ 12 | #define _PMD_LOGS_H_ 13 | 14 | #define PMD_INIT_LOG(level, fmt, args...) \ 15 | RTE_LOG(level, PMD, "%s(): " fmt "\n", __func__, ##args) 16 | 17 | #ifdef RTE_LIBRTE_BNX2X_DEBUG_INIT 18 | #define PMD_INIT_FUNC_TRACE() PMD_INIT_LOG(DEBUG, " >>") 19 | #else 20 | #define PMD_INIT_FUNC_TRACE() do { } while(0) 21 | #endif 22 | 23 | #ifdef RTE_LIBRTE_BNX2X_DEBUG_RX 24 | #define PMD_RX_LOG(level, fmt, args...) \ 25 | RTE_LOG(level, PMD, "%s(): " fmt "\n", __func__, ## args) 26 | #else 27 | #define PMD_RX_LOG(level, fmt, args...) do { } while(0) 28 | #endif 29 | 30 | #ifdef RTE_LIBRTE_BNX2X_DEBUG_TX 31 | #define PMD_TX_LOG(level, fmt, args...) \ 32 | RTE_LOG(level, PMD, "%s(): " fmt "\n", __func__, ## args) 33 | #else 34 | #define PMD_TX_LOG(level, fmt, args...) do { } while(0) 35 | #endif 36 | 37 | #ifdef RTE_LIBRTE_BNX2X_DEBUG_TX_FREE 38 | #define PMD_TX_FREE_LOG(level, fmt, args...) \ 39 | RTE_LOG(level, PMD, "%s(): " fmt "\n", __func__, ## args) 40 | #else 41 | #define PMD_TX_FREE_LOG(level, fmt, args...) do { } while(0) 42 | #endif 43 | 44 | #ifdef RTE_LIBRTE_BNX2X_DEBUG 45 | #define PMD_DRV_LOG_RAW(level, fmt, args...) \ 46 | RTE_LOG(level, PMD, "%s(): " fmt, __func__, ## args) 47 | #else 48 | #define PMD_DRV_LOG_RAW(level, fmt, args...) do { } while (0) 49 | #endif 50 | 51 | #define PMD_DRV_LOG(level, fmt, args...) \ 52 | PMD_DRV_LOG_RAW(level, fmt "\n", ## args) 53 | 54 | #ifdef RTE_LIBRTE_BNX2X_DEBUG_PERIODIC 55 | #define PMD_DEBUG_PERIODIC_LOG(level, fmt, args...) \ 56 | RTE_LOG(level, PMD, "%s(): " fmt "\n", __func__, ## args) 57 | #else 58 | #define PMD_DEBUG_PERIODIC_LOG(level, fmt, args...) do { } while(0) 59 | #endif 60 | 61 | 62 | #endif /* _PMD_LOGS_H_ */ 63 | -------------------------------------------------------------------------------- /examples/quota_watermark/qwctl/qwctl.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of Intel Corporation nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _MAIN_H_ 35 | #define _MAIN_H_ 36 | 37 | extern int *quota; 38 | extern unsigned int *low_watermark; 39 | 40 | #endif /* _MAIN_H_ */ 41 | -------------------------------------------------------------------------------- /doc/guides/cryptodevs/index.rst: -------------------------------------------------------------------------------- 1 | .. BSD LICENSE 2 | Copyright(c) 2015 - 2016 Intel Corporation. All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions 6 | are met: 7 | 8 | * Redistributions of source code must retain the above copyright 9 | notice, this list of conditions and the following disclaimer. 10 | * Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in 12 | the documentation and/or other materials provided with the 13 | distribution. 14 | * Neither the name of Intel Corporation nor the names of its 15 | contributors may be used to endorse or promote products derived 16 | from this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | 30 | Crypto Device Drivers 31 | ===================== 32 | 33 | 34 | .. toctree:: 35 | :maxdepth: 2 36 | :numbered: 37 | 38 | overview 39 | aesni_mb 40 | aesni_gcm 41 | kasumi 42 | openssl 43 | null 44 | snow3g 45 | qat 46 | zuc 47 | -------------------------------------------------------------------------------- /lib/librte_eal/Makefile: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | include $(RTE_SDK)/mk/rte.vars.mk 33 | 34 | DIRS-y += common 35 | DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += linuxapp 36 | DIRS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += bsdapp 37 | 38 | include $(RTE_SDK)/mk/rte.subdir.mk 39 | -------------------------------------------------------------------------------- /lib/librte_power/rte_power_common.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of Intel Corporation nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef RTE_POWER_COMMON_H_ 35 | #define RTE_POWER_COMMON_H_ 36 | 37 | #define RTE_POWER_INVALID_FREQ_INDEX (~0) 38 | 39 | #endif /* RTE_POWER_COMMON_H_ */ 40 | -------------------------------------------------------------------------------- /examples/quota_watermark/qw/args.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of Intel Corporation nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _ARGS_H_ 35 | #define _ARGS_H_ 36 | 37 | extern unsigned int portmask; 38 | 39 | int parse_qw_args(int argc, char **argv); 40 | 41 | #endif /* _ARGS_H_ */ 42 | -------------------------------------------------------------------------------- /doc/guides/freebsd_gsg/index.rst: -------------------------------------------------------------------------------- 1 | .. BSD LICENSE 2 | Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions 7 | are met: 8 | 9 | * Redistributions of source code must retain the above copyright 10 | notice, this list of conditions and the following disclaimer. 11 | * Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | * Neither the name of Intel Corporation nor the names of its 16 | contributors may be used to endorse or promote products derived 17 | from this software without specific prior written permission. 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | .. _freebsd_gsg: 32 | 33 | Getting Started Guide for FreeBSD 34 | ================================= 35 | 36 | .. toctree:: 37 | :maxdepth: 2 38 | :numbered: 39 | 40 | intro 41 | install_from_ports 42 | build_dpdk 43 | build_sample_apps 44 | -------------------------------------------------------------------------------- /GNUmakefile: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2015 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | # 33 | # Head Makefile for compiling rte SDK 34 | # 35 | 36 | RTE_SDK := $(CURDIR) 37 | export RTE_SDK 38 | 39 | # 40 | # directory list 41 | # 42 | 43 | ROOTDIRS-y := buildtools lib drivers app 44 | 45 | include $(RTE_SDK)/mk/rte.sdkroot.mk 46 | -------------------------------------------------------------------------------- /examples/multi_process/client_server_mp/mp_server/args.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of Intel Corporation nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _ARGS_H_ 35 | #define _ARGS_H_ 36 | 37 | int parse_app_args(uint8_t max_ports, int argc, char *argv[]); 38 | 39 | #endif /* ifndef _ARGS_H_ */ 40 | -------------------------------------------------------------------------------- /examples/quota_watermark/qwctl/commands.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of Intel Corporation nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef _COMMANDS_H_ 35 | #define _COMMANDS_H_ 36 | 37 | #include 38 | 39 | extern cmdline_parse_ctx_t qwctl_ctx[]; 40 | 41 | #endif /* _COMMANDS_H_ */ 42 | -------------------------------------------------------------------------------- /lib/librte_eal/bsdapp/Makefile: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | include $(RTE_SDK)/mk/rte.vars.mk 33 | 34 | DIRS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += eal 35 | DIRS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += contigmem 36 | DIRS-$(CONFIG_RTE_EXEC_ENV_BSDAPP) += nic_uio 37 | 38 | include $(RTE_SDK)/mk/rte.subdir.mk 39 | -------------------------------------------------------------------------------- /lib/librte_eal/common/include/arch/arm/rte_cycles.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2015 RehiveTech. All rights reserved. 5 | * 6 | * Redistribution and use in source and binary forms, with or without 7 | * modification, are permitted provided that the following conditions 8 | * are met: 9 | * 10 | * * Redistributions of source code must retain the above copyright 11 | * notice, this list of conditions and the following disclaimer. 12 | * * Redistributions in binary form must reproduce the above copyright 13 | * notice, this list of conditions and the following disclaimer in 14 | * the documentation and/or other materials provided with the 15 | * distribution. 16 | * * Neither the name of RehiveTech nor the names of its 17 | * contributors may be used to endorse or promote products derived 18 | * from this software without specific prior written permission. 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | */ 32 | 33 | #ifndef _RTE_CYCLES_ARM_H_ 34 | #define _RTE_CYCLES_ARM_H_ 35 | 36 | #ifdef RTE_ARCH_64 37 | #include 38 | #else 39 | #include 40 | #endif 41 | 42 | #endif /* _RTE_CYCLES_ARM_H_ */ 43 | -------------------------------------------------------------------------------- /lib/librte_eal/common/include/arch/arm/rte_memcpy.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2015 RehiveTech. All rights reserved. 5 | * 6 | * Redistribution and use in source and binary forms, with or without 7 | * modification, are permitted provided that the following conditions 8 | * are met: 9 | * 10 | * * Redistributions of source code must retain the above copyright 11 | * notice, this list of conditions and the following disclaimer. 12 | * * Redistributions in binary form must reproduce the above copyright 13 | * notice, this list of conditions and the following disclaimer in 14 | * the documentation and/or other materials provided with the 15 | * distribution. 16 | * * Neither the name of RehiveTech nor the names of its 17 | * contributors may be used to endorse or promote products derived 18 | * from this software without specific prior written permission. 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | */ 32 | 33 | #ifndef _RTE_MEMCPY_ARM_H_ 34 | #define _RTE_MEMCPY_ARM_H_ 35 | 36 | #ifdef RTE_ARCH_64 37 | #include 38 | #else 39 | #include 40 | #endif 41 | 42 | #endif /* _RTE_MEMCPY_ARM_H_ */ 43 | -------------------------------------------------------------------------------- /drivers/net/mpipe/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2015 EZchip Semiconductor Ltd. All rights reserved. 3 | # 4 | # Redistribution and use in source and binary forms, with or without 5 | # modification, are permitted provided that the following conditions 6 | # are met: 7 | # 8 | # 1. Redistributions of source code must retain the above copyright 9 | # notice, this list of conditions and the following disclaimer. 10 | # 11 | # 2. Redistributions in binary form must reproduce the above copyright 12 | # notice, this list of conditions and the following disclaimer in 13 | # the documentation and/or other materials provided with the 14 | # distribution. 15 | # 16 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 17 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 18 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 19 | # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 20 | # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 21 | # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 22 | # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 24 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 | # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 26 | # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | # POSSIBILITY OF SUCH DAMAGE. 28 | 29 | include $(RTE_SDK)/mk/rte.vars.mk 30 | 31 | # library name 32 | LIB = librte_pmd_mpipe.a 33 | 34 | CFLAGS += $(WERROR_FLAGS) -O3 35 | LDLIBS += -lgxio 36 | 37 | EXPORT_MAP := rte_pmd_mpipe_version.map 38 | 39 | LIBABIVER := 1 40 | 41 | SRCS-$(CONFIG_RTE_LIBRTE_MPIPE_PMD) += mpipe_tilegx.c 42 | 43 | DEPDIRS-$(CONFIG_RTE_LIBRTE_MPIPE_PMD) += lib/librte_eal lib/librte_ether 44 | DEPDIRS-$(CONFIG_RTE_LIBRTE_MPIPE_PMD) += lib/librte_mempool lib/librte_mbuf 45 | DEPDIRS-$(CONFIG_RTE_LIBRTE_MPIPE_PMD) += lib/librte_net 46 | 47 | include $(RTE_SDK)/mk/rte.lib.mk 48 | -------------------------------------------------------------------------------- /lib/librte_eal/common/include/arch/arm/rte_cpuflags.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2015 RehiveTech. All rights reserved. 5 | * 6 | * Redistribution and use in source and binary forms, with or without 7 | * modification, are permitted provided that the following conditions 8 | * are met: 9 | * 10 | * * Redistributions of source code must retain the above copyright 11 | * notice, this list of conditions and the following disclaimer. 12 | * * Redistributions in binary form must reproduce the above copyright 13 | * notice, this list of conditions and the following disclaimer in 14 | * the documentation and/or other materials provided with the 15 | * distribution. 16 | * * Neither the name of RehiveTech nor the names of its 17 | * contributors may be used to endorse or promote products derived 18 | * from this software without specific prior written permission. 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | */ 32 | 33 | #ifndef _RTE_CPUFLAGS_ARM_H_ 34 | #define _RTE_CPUFLAGS_ARM_H_ 35 | 36 | #ifdef RTE_ARCH_64 37 | #include 38 | #else 39 | #include 40 | #endif 41 | 42 | #endif /* _RTE_CPUFLAGS_ARM_H_ */ 43 | -------------------------------------------------------------------------------- /lib/librte_eal/common/include/arch/arm/rte_prefetch.h: -------------------------------------------------------------------------------- 1 | /* 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2015 RehiveTech. All rights reserved. 5 | * 6 | * Redistribution and use in source and binary forms, with or without 7 | * modification, are permitted provided that the following conditions 8 | * are met: 9 | * 10 | * * Redistributions of source code must retain the above copyright 11 | * notice, this list of conditions and the following disclaimer. 12 | * * Redistributions in binary form must reproduce the above copyright 13 | * notice, this list of conditions and the following disclaimer in 14 | * the documentation and/or other materials provided with the 15 | * distribution. 16 | * * Neither the name of RehiveTech nor the names of its 17 | * contributors may be used to endorse or promote products derived 18 | * from this software without specific prior written permission. 19 | * 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | */ 32 | 33 | #ifndef _RTE_PREFETCH_ARM_H_ 34 | #define _RTE_PREFETCH_ARM_H_ 35 | 36 | #ifdef RTE_ARCH_64 37 | #include 38 | #else 39 | #include 40 | #endif 41 | 42 | #endif /* _RTE_PREFETCH_ARM_H_ */ 43 | -------------------------------------------------------------------------------- /examples/ip_pipeline/pipeline/pipeline_master.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2010-2015 Intel Corporation. All rights reserved. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of Intel Corporation nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef __INCLUDE_PIPELINE_MASTER_H__ 35 | #define __INCLUDE_PIPELINE_MASTER_H__ 36 | 37 | #include "pipeline.h" 38 | 39 | extern struct pipeline_type pipeline_master; 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /mk/arch/ppc_64/rte.vars.mk: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright (C) IBM Corporation 2014. 4 | # 5 | # Redistribution and use in source and binary forms, with or without 6 | # modification, are permitted provided that the following conditions 7 | # are met: 8 | # 9 | # * Redistributions of source code must retain the above copyright 10 | # notice, this list of conditions and the following disclaimer. 11 | # * Redistributions in binary form must reproduce the above copyright 12 | # notice, this list of conditions and the following disclaimer in 13 | # the documentation and/or other materials provided with the 14 | # distribution. 15 | # * Neither the name of IBM Corporation nor the names of its 16 | # contributors may be used to endorse or promote products derived 17 | # from this software without specific prior written permission. 18 | # 19 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | ARCH ?= powerpc 33 | CROSS ?= 34 | 35 | CPU_CFLAGS ?= -m64 36 | CPU_LDFLAGS ?= 37 | CPU_ASFLAGS ?= -felf64 38 | 39 | export ARCH CROSS CPU_CFLAGS CPU_LDFLAGS CPU_ASFLAGS 40 | 41 | RTE_OBJCOPY_TARGET = elf64-powerpcle 42 | RTE_OBJCOPY_ARCH = powerpc:common64 43 | 44 | export RTE_OBJCOPY_TARGET RTE_OBJCOPY_ARCH 45 | -------------------------------------------------------------------------------- /mk/internal/rte.depdirs-post.mk: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | 32 | .PHONY: depdirs 33 | depdirs: 34 | @for d in $(DEPDIRS-y); do \ 35 | $(RTE_SDK)/scripts/depdirs-rule.sh $(S) $$d ; \ 36 | done 37 | 38 | .PHONY: depgraph 39 | depgraph: 40 | @for d in $(DEPDIRS-y); do \ 41 | echo " \"$(S)\" -> \"$$d\"" ; \ 42 | done 43 | -------------------------------------------------------------------------------- /config/defconfig_x86_64-native-bsdapp-gcc: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright(c) 2010-2014 Intel Corporation. All rights reserved. 4 | # All rights reserved. 5 | # 6 | # Redistribution and use in source and binary forms, with or without 7 | # modification, are permitted provided that the following conditions 8 | # are met: 9 | # 10 | # * Redistributions of source code must retain the above copyright 11 | # notice, this list of conditions and the following disclaimer. 12 | # * Redistributions in binary form must reproduce the above copyright 13 | # notice, this list of conditions and the following disclaimer in 14 | # the documentation and/or other materials provided with the 15 | # distribution. 16 | # * Neither the name of Intel Corporation nor the names of its 17 | # contributors may be used to endorse or promote products derived 18 | # from this software without specific prior written permission. 19 | # 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 | # 32 | 33 | #include "common_bsdapp" 34 | 35 | CONFIG_RTE_MACHINE="native" 36 | 37 | CONFIG_RTE_ARCH="x86_64" 38 | CONFIG_RTE_ARCH_X86_64=y 39 | CONFIG_RTE_ARCH_X86=y 40 | CONFIG_RTE_ARCH_64=y 41 | 42 | CONFIG_RTE_TOOLCHAIN="gcc" 43 | CONFIG_RTE_TOOLCHAIN_GCC=y 44 | -------------------------------------------------------------------------------- /drivers/net/null/rte_eth_null.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * BSD LICENSE 3 | * 4 | * Copyright(c) 2015 Intel Corporation. All rights reserved. 5 | * All rights reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * * Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * * Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * * Neither the name of Intel Corporation nor the names of its 18 | * contributors may be used to endorse or promote products derived 19 | * from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | */ 33 | 34 | #ifndef RTE_ETH_NULL_H_ 35 | #define RTE_ETH_NULL_H_ 36 | 37 | int eth_dev_null_create(const char *name, const unsigned numa_node, 38 | unsigned packet_size, unsigned packet_copy); 39 | 40 | #endif /* RTE_ETH_NULL_H_ */ 41 | -------------------------------------------------------------------------------- /mk/arch/arm/rte.vars.mk: -------------------------------------------------------------------------------- 1 | # BSD LICENSE 2 | # 3 | # Copyright (C) 2015 RehiveTech. All rights reserved. 4 | # 5 | # Redistribution and use in source and binary forms, with or without 6 | # modification, are permitted provided that the following conditions 7 | # are met: 8 | # 9 | # * Redistributions of source code must retain the above copyright 10 | # notice, this list of conditions and the following disclaimer. 11 | # * Redistributions in binary form must reproduce the above copyright 12 | # notice, this list of conditions and the following disclaimer in 13 | # the documentation and/or other materials provided with the 14 | # distribution. 15 | # * Neither the name of RehiveTech nor the names of its 16 | # contributors may be used to endorse or promote products derived 17 | # from this software without specific prior written permission. 18 | # 19 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | 31 | 32 | ARCH ?= arm 33 | CROSS ?= 34 | 35 | CPU_CFLAGS ?= -marm -munaligned-access 36 | CPU_LDFLAGS ?= 37 | CPU_ASFLAGS ?= -felf 38 | 39 | export ARCH CROSS CPU_CFLAGS CPU_LDFLAGS CPU_ASFLAGS 40 | 41 | RTE_OBJCOPY_TARGET = elf32-littlearm 42 | RTE_OBJCOPY_ARCH = arm 43 | 44 | export RTE_OBJCOPY_TARGET RTE_OBJCOPY_ARCH 45 | --------------------------------------------------------------------------------