| /dpdk/drivers/net/nfp/nfpcore/nfp-common/ |
| H A D | nfp_cppat.h | 75 switch (mode) { in _nfp6000_encode_basic() 257 switch (mode) { in _nfp6000_decode_basic() 345 switch (mode) { in _nfp6000_cppat_mu_locality_lsb() 379 switch (mode) { in _nfp6000_encode_mu() 506 switch (mode) { in _nfp6000_decode_mu() 576 int mode, int addr40, int isld1, int isld0) in _nfp6000_cppat_addr_encode() argument 594 if (mode != 1 || addr40 != 0) in _nfp6000_cppat_addr_encode() 628 if (mode != 1 || addr40 != 0) in _nfp6000_cppat_addr_decode() 652 switch (mode) { in _nfp6000_cppat_addr_iid_clear() 676 switch (mode) { in _nfp6000_cppat_addr_iid_clear() [all …]
|
| /dpdk/drivers/crypto/ipsec_mb/ |
| H A D | ipsec_mb_private.h | 189 enum ipsec_mb_operation *mode, in ipsec_mb_parse_xform() argument 195 *mode = IPSEC_MB_OP_NOT_SUPPORTED; in ipsec_mb_parse_xform() 204 *mode = IPSEC_MB_OP_ENCRYPT_ONLY; in ipsec_mb_parse_xform() 209 *mode = IPSEC_MB_OP_DECRYPT_ONLY; in ipsec_mb_parse_xform() 216 *mode = IPSEC_MB_OP_NOT_SUPPORTED; in ipsec_mb_parse_xform() 222 *mode = IPSEC_MB_OP_NOT_SUPPORTED; in ipsec_mb_parse_xform() 232 *mode = IPSEC_MB_OP_NOT_SUPPORTED; in ipsec_mb_parse_xform() 257 *mode = IPSEC_MB_OP_NOT_SUPPORTED; in ipsec_mb_parse_xform() 273 *mode = IPSEC_MB_OP_NOT_SUPPORTED; in ipsec_mb_parse_xform() 294 *mode = in ipsec_mb_parse_xform() [all …]
|
| /dpdk/lib/cmdline/ |
| H A D | cmdline_os_windows.c | 22 DWORD mode; in terminal_adjust() local 28 if (GetConsoleMode(handle, &mode)) { in terminal_adjust() 30 cl->oldterm.input_mode = mode; in terminal_adjust() 32 mode &= ~( in terminal_adjust() 38 mode |= ENABLE_VIRTUAL_TERMINAL_INPUT; in terminal_adjust() 39 SetConsoleMode(handle, mode); in terminal_adjust() 44 if (GetConsoleMode(handle, &mode)) { in terminal_adjust() 46 cl->oldterm.output_mode = mode; in terminal_adjust() 48 mode &= ~ENABLE_WRAP_AT_EOL_OUTPUT; in terminal_adjust() 49 mode |= ENABLE_VIRTUAL_TERMINAL_PROCESSING; in terminal_adjust() [all …]
|
| /dpdk/examples/ipsec-secgw/test/ |
| H A D | tun_aesgcm_defs.sh | 17 proto esp mode tunnel reqid 1 23 proto esp mode tunnel reqid 2 27 proto esp spi 7 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 33 proto esp spi 7 reqid 2 mode tunnel replay-window 64 ${XFRM_ESN} \ 50 proto esp mode tunnel reqid 1 56 proto esp mode tunnel reqid 2 60 proto esp spi 6 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 85 proto esp mode tunnel reqid 1 91 proto esp mode tunnel reqid 2 120 proto esp mode tunnel reqid 3 [all …]
|
| H A D | tun_aesctr_sha1_defs.sh | 17 proto esp mode tunnel reqid 1 23 proto esp mode tunnel reqid 2 27 proto esp spi 7 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 33 proto esp spi 7 reqid 2 mode tunnel replay-window 64 ${XFRM_ESN} \ 50 proto esp mode tunnel reqid 1 56 proto esp mode tunnel reqid 2 60 proto esp spi 6 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 85 proto esp mode tunnel reqid 1 91 proto esp mode tunnel reqid 2 120 proto esp mode tunnel reqid 3 [all …]
|
| H A D | tun_3descbc_sha1_defs.sh | 17 proto esp mode tunnel reqid 1 23 proto esp mode tunnel reqid 2 27 proto esp spi 7 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 33 proto esp spi 7 reqid 2 mode tunnel replay-window 64 ${XFRM_ESN} \ 50 proto esp mode tunnel reqid 1 56 proto esp mode tunnel reqid 2 60 proto esp spi 6 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 85 proto esp mode tunnel reqid 1 91 proto esp mode tunnel reqid 2 120 proto esp mode tunnel reqid 3 [all …]
|
| H A D | tun_aescbc_sha1_defs.sh | 17 proto esp mode tunnel reqid 1 23 proto esp mode tunnel reqid 2 27 proto esp spi 7 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 33 proto esp spi 7 reqid 2 mode tunnel replay-window 64 ${XFRM_ESN} \ 50 proto esp mode tunnel reqid 1 56 proto esp mode tunnel reqid 2 60 proto esp spi 6 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 85 proto esp mode tunnel reqid 1 91 proto esp mode tunnel reqid 2 120 proto esp mode tunnel reqid 3 [all …]
|
| H A D | trs_3descbc_sha1_defs.sh | 16 tmpl proto esp mode transport reqid 1 21 tmpl proto esp mode transport reqid 2 25 proto esp spi 7 reqid 1 mode transport replay-window 64 ${XFRM_ESN} \ 31 proto esp spi 7 reqid 2 mode transport replay-window 64 ${XFRM_ESN} \ 47 tmpl proto esp mode transport reqid 3 52 tmpl proto esp mode transport reqid 4 57 proto esp spi 9 reqid 3 mode transport replay-window 64 ${XFRM_ESN} \ 63 proto esp spi 9 reqid 4 mode transport replay-window 64 ${XFRM_ESN} \
|
| H A D | trs_aesgcm_defs.sh | 16 tmpl proto esp mode transport reqid 1 21 tmpl proto esp mode transport reqid 2 25 proto esp spi 7 reqid 1 mode transport replay-window 64 ${XFRM_ESN} \ 31 proto esp spi 7 reqid 2 mode transport replay-window 64 ${XFRM_ESN} \ 47 tmpl proto esp mode transport reqid 3 52 tmpl proto esp mode transport reqid 4 56 proto esp spi 9 reqid 3 mode transport replay-window 64 ${XFRM_ESN} \ 62 proto esp spi 9 reqid 4 mode transport replay-window 64 ${XFRM_ESN} \
|
| H A D | trs_aesctr_sha1_defs.sh | 16 tmpl proto esp mode transport reqid 1 21 tmpl proto esp mode transport reqid 2 25 proto esp spi 7 reqid 1 mode transport replay-window 64 ${XFRM_ESN} \ 31 proto esp spi 7 reqid 2 mode transport replay-window 64 ${XFRM_ESN} \ 47 tmpl proto esp mode transport reqid 3 52 tmpl proto esp mode transport reqid 4 57 proto esp spi 9 reqid 3 mode transport replay-window 64 ${XFRM_ESN} \ 63 proto esp spi 9 reqid 4 mode transport replay-window 64 ${XFRM_ESN} \
|
| H A D | trs_aescbc_sha1_defs.sh | 16 tmpl proto esp mode transport reqid 1 21 tmpl proto esp mode transport reqid 2 25 proto esp spi 7 reqid 1 mode transport replay-window 64 ${XFRM_ESN} \ 31 proto esp spi 7 reqid 2 mode transport replay-window 64 ${XFRM_ESN} \ 47 tmpl proto esp mode transport reqid 3 52 tmpl proto esp mode transport reqid 4 57 proto esp spi 9 reqid 3 mode transport replay-window 64 ${XFRM_ESN} \ 63 proto esp spi 9 reqid 4 mode transport replay-window 64 ${XFRM_ESN} \
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_fdir.c | 99 enum rte_fdir_mode mode); 349 enum rte_fdir_mode mode = dev->data->dev_conf.fdir_conf.mode; in fdir_set_input_mask_x550() local 472 enum rte_fdir_mode mode = dev->data->dev_conf.fdir_conf.mode; in ixgbe_fdir_store_input_mask() local 475 mode <= RTE_FDIR_MODE_PERFECT) in ixgbe_fdir_store_input_mask() 488 enum rte_fdir_mode mode = dev->data->dev_conf.fdir_conf.mode; in ixgbe_fdir_set_input_mask() local 491 mode <= RTE_FDIR_MODE_PERFECT) in ixgbe_fdir_set_input_mask() 642 enum rte_fdir_mode mode = dev->data->dev_conf.fdir_conf.mode; in ixgbe_fdir_configure() local 658 mode != RTE_FDIR_MODE_PERFECT) in ixgbe_fdir_configure() 886 enum rte_fdir_mode mode) in fdir_write_perfect_filter_82599() argument 1129 fdir_mode != rule->mode) in ixgbe_fdir_filter_program() [all …]
|
| /dpdk/drivers/net/octeontx/ |
| H A D | octeontx_ethdev_ops.c | 221 fc_conf->mode = RTE_ETH_FC_FULL; in octeontx_dev_flow_ctrl_get() 223 fc_conf->mode = RTE_ETH_FC_RX_PAUSE; in octeontx_dev_flow_ctrl_get() 225 fc_conf->mode = RTE_ETH_FC_TX_PAUSE; in octeontx_dev_flow_ctrl_get() 227 fc_conf->mode = RTE_ETH_FC_NONE; in octeontx_dev_flow_ctrl_get() 256 fc_conf->mode == fc->mode) in octeontx_dev_flow_ctrl_set() 274 rx_pause = (fc_conf->mode == RTE_ETH_FC_FULL) || in octeontx_dev_flow_ctrl_set() 275 (fc_conf->mode == RTE_ETH_FC_RX_PAUSE); in octeontx_dev_flow_ctrl_set() 277 (fc_conf->mode == RTE_ETH_FC_TX_PAUSE); in octeontx_dev_flow_ctrl_set() 291 fc->mode = fc_conf->mode; in octeontx_dev_flow_ctrl_set() 312 fc->def_mode = fc_conf.mode; in octeontx_dev_flow_ctrl_init() [all …]
|
| /dpdk/drivers/net/axgbe/ |
| H A D | axgbe_phy_impl.c | 867 enum axgbe_mode mode; in axgbe_phy_an73_redrv_outcome() local 932 return mode; in axgbe_phy_an73_redrv_outcome() 937 enum axgbe_mode mode; in axgbe_phy_an73_outcome() local 989 return mode; in axgbe_phy_an73_outcome() 1024 return mode; in axgbe_phy_an37_sgmii_outcome() 1524 switch (mode) { in axgbe_phy_set_mode() 1562 switch (mode) { in axgbe_phy_use_basex_mode() 1577 switch (mode) { in axgbe_phy_use_baset_mode() 1597 switch (mode) { in axgbe_phy_use_sfp_mode() 1624 switch (mode) { in axgbe_phy_use_bp_2500_mode() [all …]
|
| /dpdk/doc/guides/cryptodevs/ |
| H A D | scheduler.rst | 21 mode defines certain actions for scheduling crypto ops to its workers. 62 * mode: Specify the scheduling mode of the PMD. The supported scheduling 63 mode parameter values are specified in the "Cryptodev Scheduler Modes 66 * mode_param: Specify the mode-specific parameter. Some scheduling modes 103 *Initialization mode parameter*: **round-robin** 105 Round-robin mode, which distributes the enqueued burst of crypto ops 106 among its workers in a round-robin manner. This mode may help to fill 112 *Initialization mode parameter*: **packet-size-distr** 141 *Initialization mode parameter*: **fail-over** 151 *Initialization mode parameter*: **multi-core** [all …]
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_vnic.c | 250 uint32_t mode = HWRM_VNIC_RSS_CFG_INPUT_HASH_MODE_FLAGS_DEFAULT; in bnxt_rte_to_hwrm_hash_level() local 264 return mode; in bnxt_rte_to_hwrm_hash_level() 270 mode = in bnxt_rte_to_hwrm_hash_level() 273 mode = in bnxt_rte_to_hwrm_hash_level() 278 mode = in bnxt_rte_to_hwrm_hash_level() 281 mode = in bnxt_rte_to_hwrm_hash_level() 285 mode = HWRM_VNIC_RSS_CFG_INPUT_HASH_MODE_FLAGS_DEFAULT; in bnxt_rte_to_hwrm_hash_level() 289 return mode; in bnxt_rte_to_hwrm_hash_level() 292 uint64_t bnxt_hwrm_to_rte_rss_level(struct bnxt *bp, uint32_t mode) in bnxt_hwrm_to_rte_rss_level() argument 303 mode == HWRM_VNIC_RSS_CFG_INPUT_HASH_MODE_FLAGS_OUTERMOST_4) in bnxt_hwrm_to_rte_rss_level() [all …]
|
| /dpdk/examples/qos_sched/ |
| H A D | main.c | 35 uint32_t i, mode; in app_main_loop() local 48 mode = APP_MODE_NONE; in app_main_loop() 62 mode |= APP_RX_MODE; in app_main_loop() 71 mode |= APP_TX_MODE; in app_main_loop() 81 mode |= APP_WT_MODE; in app_main_loop() 85 if (mode == APP_MODE_NONE) { in app_main_loop() 90 if (mode == (APP_RX_MODE | APP_WT_MODE)) { in app_main_loop() 98 if (mode == APP_RX_MODE) { in app_main_loop() 106 else if (mode == (APP_TX_MODE | APP_WT_MODE)) { in app_main_loop() 121 else if (mode == APP_TX_MODE) { in app_main_loop() [all …]
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_fc.c | 243 enum roc_nix_fc_mode mode; in roc_nix_fc_mode_get() local 268 mode = ROC_NIX_FC_FULL; in roc_nix_fc_mode_get() 270 mode = ROC_NIX_FC_RX; in roc_nix_fc_mode_get() 272 mode = ROC_NIX_FC_TX; in roc_nix_fc_mode_get() 274 mode = ROC_NIX_FC_NONE; in roc_nix_fc_mode_get() 278 return mode; in roc_nix_fc_mode_get() 293 rx_pause = (mode == ROC_NIX_FC_FULL) || (mode == ROC_NIX_FC_RX); in roc_nix_fc_mode_set() 294 tx_pause = (mode == ROC_NIX_FC_FULL) || (mode == ROC_NIX_FC_TX); in roc_nix_fc_mode_set() 466 pfc_cfg->mode = ROC_NIX_FC_FULL; in roc_nix_pfc_mode_get() 468 pfc_cfg->mode = ROC_NIX_FC_RX; in roc_nix_pfc_mode_get() [all …]
|
| /dpdk/drivers/event/sw/ |
| H A D | sw_evdev_xstats.c | 45 enum rte_event_dev_xstats_mode mode; member 274 .mode = RTE_EVENT_DEV_XSTATS_DEVICE, in sw_xstats_init() 291 .mode = RTE_EVENT_DEV_XSTATS_PORT, in sw_xstats_init() 306 .mode = RTE_EVENT_DEV_XSTATS_PORT, in sw_xstats_init() 405 switch (mode) { in sw_xstats_get_names() 430 if (sw->xstats[i].mode != mode) in sw_xstats_get_names() 453 RTE_SET_USED(mode); in sw_xstats_update() 458 switch (mode) { in sw_xstats_update() 485 if (ids[i] > sw->xstats_count || xs->mode != mode) in sw_xstats_update() 620 enum rte_event_dev_xstats_mode mode, in sw_xstats_reset() argument [all …]
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_ethdev_ops.c | 211 int mode; in cnxk_nix_flow_ctrl_get() local 214 if (mode < 0) in cnxk_nix_flow_ctrl_get() 215 return mode; in cnxk_nix_flow_ctrl_get() 218 fc_conf->mode = mode_map[mode]; in cnxk_nix_flow_ctrl_get() 269 if (fc_conf->mode == fc->mode) in cnxk_nix_flow_ctrl_set() 323 fc->mode = fc_conf->mode; in cnxk_nix_flow_ctrl_set() 348 conf.fc_cfg.mode = pfc_conf->mode; in cnxk_nix_priority_flow_ctrl_queue_config() 1068 mode = conf->fc_cfg.mode; in nix_priority_flow_ctrl_configure() 1069 rx_pause = (mode == RTE_ETH_FC_FULL) || (mode == RTE_ETH_FC_RX_PAUSE); in nix_priority_flow_ctrl_configure() 1139 pfc_cfg.mode = mode_map[mode]; in nix_priority_flow_ctrl_configure() [all …]
|
| /dpdk/drivers/event/opdl/ |
| H A D | opdl_evdev_xstats.c | 65 enum rte_event_dev_xstats_mode mode, in opdl_xstats_get_names() argument 75 if (mode == RTE_EVENT_DEV_XSTATS_DEVICE || in opdl_xstats_get_names() 76 mode == RTE_EVENT_DEV_XSTATS_QUEUE) in opdl_xstats_get_names() 100 enum rte_event_dev_xstats_mode mode, in opdl_xstats_get() argument 110 if (mode == RTE_EVENT_DEV_XSTATS_DEVICE || in opdl_xstats_get() 111 mode == RTE_EVENT_DEV_XSTATS_QUEUE) in opdl_xstats_get() 163 enum rte_event_dev_xstats_mode mode, in opdl_xstats_reset() argument 173 RTE_SET_USED(mode); in opdl_xstats_reset()
|
| /dpdk/doc/guides/mempool/ |
| H A D | ring.rst | 15 multi-thread consumer sync mode. For more information please refer to: 21 single-thread consumer sync mode. For more information please refer to: 27 multi-thread consumer sync mode. 32 single-thread consumer sync mode. 37 multi-thread Relaxed Tail Sync (RTS) mode. For more information please 43 multi-thread Head-Tail Sync (HTS) mode. For more information please 48 mode is usually the most suitable and the fastest one. For overcommitted
|
| /dpdk/doc/guides/testpmd_app_ug/ |
| H A D | run_app.rst | 29 Run testpmd in interactive mode. 34 In non-interactive mode, 36 immediately enters forwarding mode. 162 * ``--pkt-filter-mode=mode`` 164 … Set Flow Director mode where mode is either ``none`` (the default), ``signature`` or ``perfect``. 233 * ``--port-topology=mode`` 245 * ``--forward-mode=mode`` 247 Set the forwarding mode where ``mode`` is one of the following:: 544 * ``--rx-mq-mode`` 559 * ``--hairpin-mode=0xXX`` [all …]
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | event_crypto_adapter.rst | 10 the crypto poll mode drivers which supports different crypto operations. 27 mode. The choice of mode can be specified while creating the adapter. 36 RTE_EVENT_CRYPTO_ADAPTER_OP_NEW mode 52 Working model of ``RTE_EVENT_CRYPTO_ADAPTER_OP_NEW`` mode 55 RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD mode 68 use this mode when ingress packet ordering is needed. In this mode, events 79 Working model of ``RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD`` mode 98 ``RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD`` mode. 106 enum rte_event_crypto_adapter_mode mode; 113 mode = RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD; [all …]
|
| /dpdk/doc/guides/nics/ |
| H A D | txgbe.rst | 7 The TXGBE PMD (librte_pmd_txgbe) provides poll mode driver support 20 - Promiscuous mode 21 - Multicast mode 26 - Interrupt mode for RX 106 Toggle behavior to use auto-negotiation mode or force mode to 111 Toggle behavior to enable/disable polling mode to receive AN interrupt. 115 Toggle behavior to use present mode or init mode. 123 Use to set PHY link mode and enable FFE parameters for user debugging. 125 for SFI mode, set 2 for KR mode, set 3 for KX4 mode, set 4 for KX mode.
|