| /dpdk/lib/eal/x86/ |
| H A D | rte_cycles.c | 15 uint32_t family, model, ext_model; in rte_cpu_get_model() local 18 model = (fam_mod_step >> 4) & 0xf; in rte_cpu_get_model() 22 model += (ext_model << 4); in rte_cpu_get_model() 25 return model; in rte_cpu_get_model() 53 check_model_wsm_nhm(uint8_t model) in check_model_wsm_nhm() argument 55 switch (model) { in check_model_wsm_nhm() 72 check_model_gdm_dnv(uint8_t model) in check_model_gdm_dnv() argument 74 switch (model) { in check_model_gdm_dnv() 90 uint8_t mult, model; in get_tsc_freq_arch() local 108 model = rte_cpu_get_model(a); in get_tsc_freq_arch() [all …]
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_model.c | 129 model->flag = model_db[i].flag; in populate_model() 137 model->flag = 0; in populate_model() 207 of_env_get(struct roc_model *model) in of_env_get() argument 215 model->flag |= ROC_ENV_HW; in of_env_get() 225 if (!fgets(model->env, sizeof(model->env), fp)) { in of_env_get() 236 model->flag |= flag; in of_env_get() 249 if (!model) in roc_model_init() 257 if (!populate_model(model, midr)) in roc_model_init() 260 of_env_get(model); in roc_model_init() 263 plt_info("RoC Model: %s (%s)", model->name, model->env); in roc_model_init() [all …]
|
| H A D | roc_model.h | 197 int roc_model_init(struct roc_model *model);
|
| /dpdk/drivers/net/nfp/nfpcore/ |
| H A D | nfp_cpp.h | 20 uint32_t model; member 129 void nfp_cpp_model_set(struct nfp_cpp *cpp, uint32_t model); 173 uint32_t __nfp_cpp_model_autodetect(struct nfp_cpp *cpp, uint32_t *model); 206 #define NFP_CPP_MODEL_CHIP_of(model) (((model) >> 16) & 0xffff) argument 216 #define NFP_CPP_MODEL_IS_6000(model) \ argument 217 ((NFP_CPP_MODEL_CHIP_of(model) >= 0x4000) && \ 218 (NFP_CPP_MODEL_CHIP_of(model) < 0x7000))
|
| H A D | nfp_cppcore.c | 42 nfp_cpp_model_set(struct nfp_cpp *cpp, uint32_t model) in nfp_cpp_model_set() argument 44 cpp->model = model; in nfp_cpp_model_set() 51 uint32_t model; in nfp_cpp_model() local 56 err = __nfp_cpp_model_autodetect(cpp, &model); in nfp_cpp_model() 61 return model; in nfp_cpp_model() 802 __nfp_cpp_model_autodetect(struct nfp_cpp *cpp, uint32_t *model) in __nfp_cpp_model_autodetect() argument 812 *model = reg & NFP_PL_DEVICE_MODEL_MASK; in __nfp_cpp_model_autodetect() 813 if (*model & NFP_PL_DEVICE_ID_MASK) in __nfp_cpp_model_autodetect() 814 *model -= 0x10; in __nfp_cpp_model_autodetect()
|
| H A D | nfp_mutex.c | 39 _nfp_cpp_mutex_validate(uint32_t model, int *target, unsigned long long address) in _nfp_cpp_mutex_validate() argument 45 if (NFP_CPP_MODEL_IS_6000(model)) { in _nfp_cpp_mutex_validate() 79 uint32_t model = nfp_cpp_model(cpp); in nfp_cpp_mutex_init() local 83 err = _nfp_cpp_mutex_validate(model, &target, address); in nfp_cpp_mutex_init() 121 uint32_t model = nfp_cpp_model(cpp); in nfp_cpp_mutex_alloc() local 143 err = _nfp_cpp_mutex_validate(model, &target, address); in nfp_cpp_mutex_alloc()
|
| H A D | nfp_cpp_pcie_ops.c | 718 uint32_t model; in nfp6000_set_model() local 720 if (rte_pci_read_config(dev, &model, 4, 0x2e) < 0) { in nfp6000_set_model() 725 model = model << 16; in nfp6000_set_model() 726 nfp_cpp_model_set(cpp, model); in nfp6000_set_model()
|
| H A D | nfp_target.h | 526 nfp_target_action_width(uint32_t model, uint32_t cpp_id, uint64_t address, in nfp_target_action_width() argument 529 if (NFP_CPP_MODEL_IS_6000(model)) { in nfp_target_action_width()
|
| /dpdk/doc/guides/nics/ |
| H A D | avp.rst | 68 vif-model set to "avp". 75 first attachment will have a default vif-model of "virtio". The next two 76 network attachments will have a vif-model of "avp" and may be used with a DPDK 83 --nic net-id=${NETWORK2_UUID},vif-model=avp \ 84 --nic net-id=${NETWORK3_UUID},vif-model=avp \
|
| H A D | e1000em.rst | 106 -net nic,model=e1000,vlan=1,macaddr=DE:AD:1E:00:00:01 108 -net nic,model=e1000,vlan=2,macaddr=DE:AD:1E:00:00:02
|
| H A D | qede.rst | 92 For downloading Firmware Upgrade Utility, select NIC category, model and Linux distro. 99 For downloading PF driver, select adapter category, model and Linux distro.
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | overview.rst | 27 The DPDK implements a run to completion model for packet processing, 30 The model does not support a scheduler and all devices are accessed by polling. 33 In addition to the run-to-completion model, 34 a pipeline model may also be used by passing packets or messages between cores via the rings.
|
| H A D | eventdev.rst | 13 The eventdev framework introduces the event driven programming model. In a 14 polling model, lcores poll ethdev ports and associated Rx queues directly 15 to look for a packet. By contrast in an event driven model, lcores call the 17 The Eventdev library adds support for an event driven programming model, which 22 By introducing an event driven programming model, DPDK can support both polling 24 free to choose whatever model (or combination of the two) best suits their 455 requires, either using a run-to-completion or pipeline processing model. The
|
| H A D | event_timer_adapter.rst | 8 introduces an event driven programming model which presents applications with 9 an alternative to the polling model traditionally used in DPDK 14 The Event Timer Adapter library extends the event driven model 311 The Event Timer Adapter library extends the DPDK event-based programming model
|
| H A D | event_crypto_adapter.rst | 8 programming model with features to schedule events. 52 Working model of ``RTE_EVENT_CRYPTO_ADAPTER_OP_NEW`` mode 79 Working model of ``RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD`` mode
|
| H A D | multi_proc_support.rst | 87 This model is equivalent to having multiple threads each running the same main-loop function, 89 In this model, the first of the processes spawned should be spawned using the ``--proc-type=primary… 92 The simple_mp and symmetric_mp sample applications demonstrate this usage model. 98 An alternative deployment model that can be used for multi-process applications 103 The client_server_mp sample application shows this usage model.
|
| H A D | ipsec_lib.rst | 32 Due to the nature of the crypto-dev API (enqueue/dequeue model) the library 152 model is used for both *crypto_prepare* and *process* implementations.
|
| H A D | rawdev.rst | 17 through Bus/PMD model.
|
| /dpdk/doc/guides/howto/ |
| H A D | pvp_reference_benchmark.rst | 255 <model type='virtio'/> 262 <model type='virtio'/> 356 CPU: <CPU model>, <CPU frequency> 357 NIC: <NIC model>
|
| H A D | virtio_user_for_container_networking.rst | 21 This page will only cover aggregation model.
|
| /dpdk/drivers/common/mlx5/ |
| H A D | mlx5_common.c | 1216 unsigned int i, model, family, brand_id, vendor; in RTE_INIT_PRIO() local 1233 model = (eax >> 4) & 0x0f; in RTE_INIT_PRIO() 1240 model += extended_model; in RTE_INIT_PRIO() 1243 if (model == broadwell_models[i]) { in RTE_INIT_PRIO() 1248 if (model == haswell_models[i]) { in RTE_INIT_PRIO()
|
| /dpdk/doc/guides/rel_notes/ |
| H A D | release_17_05.rst | 205 * **Added event driven programming model library (rte_eventdev).** 207 This API introduces an event driven programming model. 209 In a polling model, lcores poll ethdev ports and associated 211 driven model, lcores call the scheduler that selects packets for 213 adds support for an event driven programming model, which offers 218 By introducing an event driven programming model, DPDK can support 220 and applications are free to choose whatever model 645 * type-model: 8247-22L
|
| /dpdk/drivers/net/i40e/base/ |
| H A D | i40e_lan_hmc.h | 145 enum i40e_hmc_model model);
|
| H A D | i40e_lan_hmc.c | 444 enum i40e_hmc_model model) in i40e_configure_lan_hmc() argument 458 switch (model) { in i40e_configure_lan_hmc() 465 if ((ret_code != I40E_SUCCESS) && (model == I40E_HMC_MODEL_DIRECT_PREFERRED)) in i40e_configure_lan_hmc()
|
| /dpdk/doc/guides/windows_gsg/ |
| H A D | build_dpdk.rst | 53 Any thread model (POSIX or Win32) can be chosen, DPDK does not rely on it.
|