Home
last modified time | relevance | path

Searched refs:active (Results 1 – 25 of 86) sorted by relevance

1234

/dpdk/lib/sched/
H A Drte_pie.h58 uint16_t active; /**< Flag for activating/deactivating pie */ member
134 if ((pie->active == 1) && in rte_pie_enqueue_empty()
136 pie->active = 0; in rte_pie_enqueue_empty()
281 if (pie->active) { in rte_pie_enqueue_nonempty()
292 if ((pie->active == 0) && in rte_pie_enqueue_nonempty()
294 pie->active = 1; in rte_pie_enqueue_nonempty()
307 if (pie->active == 1 && in rte_pie_enqueue_nonempty()
309 pie->active = 0; in rte_pie_enqueue_nonempty()
/dpdk/lib/distributor/
H A Drte_distributor.c368 d->activesum -= d->active[wkr]; in handle_returns()
369 d->active[wkr] = !!(buf->retptr64[0] & RTE_DISTRIB_GET_BUF); in handle_returns()
370 d->activesum += d->active[wkr]; in handle_returns()
402 if (unlikely(!d->active[wkr])) in release()
409 if (unlikely(!d->active[wkr])) in release()
540 if (matches[j] && d->active[matches[j]-1]) { in rte_distributor_process()
546 if (!d->active[matches[j]-1]) { in rte_distributor_process()
563 while (unlikely(!d->active[wkr])) in rte_distributor_process()
570 if (!d->active[wkr]) { in rte_distributor_process()
775 memset(d->active, 0, sizeof(d->active)); in rte_distributor_create()
H A Ddistributor_private.h155 uint8_t active[RTE_DISTRIB_MAX_WORKERS]; member
/dpdk/app/test/
H A Dtest_pie.c168 return pie->active; in rte_pie_get_active()
173 uint16_t active) in rte_pie_set_active() argument
177 pie->active = active; in rte_pie_set_active()
407 uint16_t active = 0; in func_test1() local
434 active = rte_pie_get_active(NULL, tcfg->tqueue->pdata_in); in func_test1()
438 (double)tcfg->tqueue->drop_tolerance, active); in func_test1()
630 uint16_t active = 0; in func_test3() local
657 active = rte_pie_get_active(NULL, tcfg->tqueue->pdata_in); in func_test3()
661 (double)tcfg->tqueue->drop_tolerance, active); in func_test3()
/dpdk/doc/guides/rawdevs/
H A Dcnxk_gpio.rst22 - set GPIO active low
114 Set GPIO active low
117 Message is used to set whether pin is active low.
158 Get GPIO active low
161 Message is used check whether inverted logic is active.
/dpdk/drivers/net/igc/base/
H A Digc_i225.h27 s32 igc_set_d0_lplu_state_i225(struct igc_hw *hw, bool active);
28 s32 igc_set_d3_lplu_state_i225(struct igc_hw *hw, bool active);
H A Digc_api.h99 s32 igc_set_d3_lplu_state(struct igc_hw *hw, bool active);
100 s32 igc_set_d0_lplu_state(struct igc_hw *hw, bool active);
H A Digc_i225.c1267 s32 igc_set_d0_lplu_state_i225(struct igc_hw *hw, bool active) in igc_set_d0_lplu_state_i225() argument
1275 if (active) { in igc_set_d0_lplu_state_i225()
1295 s32 igc_set_d3_lplu_state_i225(struct igc_hw *hw, bool active) in igc_set_d3_lplu_state_i225() argument
1303 if (active) { in igc_set_d3_lplu_state_i225()
H A Digc_phy.h11 s32 igc_null_lplu_state(struct igc_hw *hw, bool active);
49 s32 igc_set_d3_lplu_state_generic(struct igc_hw *hw, bool active);
/dpdk/lib/eal/freebsd/
H A Deal_interrupts.c45 uint32_t active; member
247 } else if (src->active == 0) { in rte_intr_callback_unregister_pending()
301 } else if (src->active != 0) { in rte_intr_callback_unregister()
483 src->active = 1; in eal_intr_process_interrupts()
547 src->active = 0; in eal_intr_process_interrupts()
/dpdk/lib/eal/common/
H A Deal_common_dev.c33 uint32_t active; /**< Callback is executing */ member
456 event_cb->active = 0; in rte_dev_event_callback_register()
524 if (event_cb->active == 0) { in rte_dev_event_callback_unregister()
559 cb_lst->active = 1; in rte_dev_event_callback_process()
564 cb_lst->active = 0; in rte_dev_event_callback_process()
/dpdk/doc/guides/prog_guide/
H A Dlink_bonding_poll_mode_drv_lib.rst60 In this mode only one slave in the bond is active at any time, a different
61 slave becomes active if, and only if, the primary active slave fails,
76 addresses as well as the number of active slaves available to the bonded
219 becomes active or change to down when all slaves become inactive. There is no
237 inherits these attributes from the first active slave added to the bonded
287 device is in active backup mode. A different port will only be used if, and
296 operating mode. If the device is in active backup mode then only the primary
337 such as active backup, to an existing application which has no knowledge of
400 Currently supports modes 0,1,2,3,4,5 (round-robin, active backup, balance,
417 is used in active backup mode to select the primary slave for data TX/RX if
[all …]
H A Drib_lib.rst119 If the routing daemon can provide a feasible next hop ID along with a best (active) next hop ID,
131 In case of a next hop failure, we need to replace an active failed next hop with a
134 To achieve this we can link all existing routes with the same active next hop in a linked list,
/dpdk/drivers/net/txgbe/
H A Dtxgbe_pf.c79 RTE_ETH_DEV_SRIOV(eth_dev).active = 0; in txgbe_pf_host_init()
106 RTE_ETH_DEV_SRIOV(eth_dev).active = RTE_ETH_64_POOLS; in txgbe_pf_host_init()
109 RTE_ETH_DEV_SRIOV(eth_dev).active = RTE_ETH_32_POOLS; in txgbe_pf_host_init()
112 RTE_ETH_DEV_SRIOV(eth_dev).active = RTE_ETH_16_POOLS; in txgbe_pf_host_init()
139 RTE_ETH_DEV_SRIOV(eth_dev).active = 0; in txgbe_pf_host_uninit()
258 switch (RTE_ETH_DEV_SRIOV(eth_dev).active) { in txgbe_pf_host_configure()
/dpdk/drivers/net/e1000/base/
H A De1000_82571.c31 bool active);
51 bool active);
53 bool active);
660 STATIC s32 e1000_set_d0_lplu_state_82574(struct e1000_hw *hw, bool active) in e1000_set_d0_lplu_state_82574() argument
666 if (active) in e1000_set_d0_lplu_state_82574()
686 STATIC s32 e1000_set_d3_lplu_state_82574(struct e1000_hw *hw, bool active) in e1000_set_d3_lplu_state_82574() argument
692 if (!active) { in e1000_set_d3_lplu_state_82574()
956 STATIC s32 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, bool active) in e1000_set_d0_lplu_state_82571() argument
971 if (active) { in e1000_set_d0_lplu_state_82571()
H A De1000_api.h79 s32 e1000_set_d3_lplu_state(struct e1000_hw *hw, bool active);
80 s32 e1000_set_d0_lplu_state(struct e1000_hw *hw, bool active);
H A De1000_api.c1127 s32 e1000_set_d0_lplu_state(struct e1000_hw *hw, bool active) in e1000_set_d0_lplu_state() argument
1130 return hw->phy.ops.set_d0_lplu_state(hw, active); in e1000_set_d0_lplu_state()
1149 s32 e1000_set_d3_lplu_state(struct e1000_hw *hw, bool active) in e1000_set_d3_lplu_state() argument
1152 return hw->phy.ops.set_d3_lplu_state(hw, active); in e1000_set_d3_lplu_state()
H A De1000_phy.h11 s32 e1000_null_lplu_state(struct e1000_hw *hw, bool active);
49 s32 e1000_set_d3_lplu_state_generic(struct e1000_hw *hw, bool active);
/dpdk/drivers/net/ixgbe/
H A Dixgbe_pf.c83 RTE_ETH_DEV_SRIOV(eth_dev).active = 0; in ixgbe_pf_host_init()
109 RTE_ETH_DEV_SRIOV(eth_dev).active = RTE_ETH_64_POOLS; in ixgbe_pf_host_init()
112 RTE_ETH_DEV_SRIOV(eth_dev).active = RTE_ETH_32_POOLS; in ixgbe_pf_host_init()
115 RTE_ETH_DEV_SRIOV(eth_dev).active = RTE_ETH_16_POOLS; in ixgbe_pf_host_init()
141 RTE_ETH_DEV_SRIOV(eth_dev).active = 0; in ixgbe_pf_host_uninit()
265 switch (RTE_ETH_DEV_SRIOV(eth_dev).active) { in ixgbe_pf_host_configure()
/dpdk/lib/ethdev/
H A Dethdev_private.h35 uint32_t active; /**< Callback is executing */ member
/dpdk/drivers/net/qede/base/
H A Decore_hsi_init_func.h105 u8 active /* Indicates if this port is active */; member
/dpdk/drivers/net/ngbe/
H A Dngbe_pf.c65 RTE_ETH_DEV_SRIOV(eth_dev).active = 0; in ngbe_pf_host_init()
90 RTE_ETH_DEV_SRIOV(eth_dev).active = RTE_ETH_8_POOLS; in ngbe_pf_host_init()
114 RTE_ETH_DEV_SRIOV(eth_dev).active = 0; in ngbe_pf_host_uninit()
184 if (RTE_ETH_DEV_SRIOV(eth_dev).active == RTE_ETH_8_POOLS) in ngbe_pf_host_configure()
/dpdk/drivers/net/e1000/
H A Digb_pf.c75 RTE_ETH_DEV_SRIOV(eth_dev).active = 0; in igb_pf_host_init()
91 RTE_ETH_DEV_SRIOV(eth_dev).active = RTE_ETH_8_POOLS; in igb_pf_host_init()
113 RTE_ETH_DEV_SRIOV(dev).active = 0; in igb_pf_host_uninit()
/dpdk/doc/guides/howto/
H A Dlm_bond_virtio_sriov.rst107 Mode 1 is active backup.
142 Primary is now P1. There are 2 active slaves.
154 Primary is now P1. There are 2 active slaves.
169 Primary is now P0. There is 1 active slave.
213 Primary is now P0. There is 1 active slave.
/dpdk/lib/eal/linux/
H A Deal_interrupts.c79 uint32_t active; member
595 } else if (src->active == 0) { in rte_intr_callback_unregister_pending()
644 } else if (src->active != 0) { in rte_intr_callback_unregister()
929 src->active = 1; in eal_intr_process_interrupts()
1024 src->active = 0; in eal_intr_process_interrupts()

1234