Searched refs:refill (Results 1 - 25 of 25) sorted by relevance

/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_82599.h76 int ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
80 int ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
83 int ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
87 int ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill,
H A Dixgbe_dcb_82598.h52 int ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, u16 *refill,
55 int ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, u16 *refill,
58 int ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, u16 *refill,
61 int ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill,
H A Dixgbe_dcb.c17 * @refill: refill credits index by traffic class
21 static int ixgbe_ieee_credits(__u8 *bw, __u16 *refill, argument
44 refill[i] = val;
98 * a multiplier. It is required that the refill credits must be
119 /* Calculate credit refill ratio using multiplier */
174 u16 *refill)
180 refill[tc] = tc_config[tc].path[direction].data_credits_refill;
257 u16 refill[MAX_TRAFFIC_CLASS]; local
262 ixgbe_dcb_unpack_refill(dcb_config, DCB_TX_CONFIG, refill);
173 ixgbe_dcb_unpack_refill(struct ixgbe_dcb_config *cfg, int direction, u16 *refill) argument
305 __u16 refill[IEEE_8021QAZ_MAX_TCS], max[IEEE_8021QAZ_MAX_TCS]; local
336 ixgbe_dcb_hw_ets_config(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) argument
[all...]
H A Dixgbe_dcb_82599.c12 * @refill: refill credits index by traffic class
21 u16 *refill,
47 credit_refill = refill[i];
72 * @refill: refill credits index by traffic class
80 u16 *refill,
98 reg |= refill[i];
123 * @refill: refill credit
20 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) argument
79 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) argument
131 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) argument
333 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) argument
[all...]
H A Dixgbe_dcb_82598.c12 * @refill: refill credits index by traffic class
18 int ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, argument
41 credit_refill = refill[i];
69 * @refill: refill credits index by traffic class
76 int ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, argument
97 reg |= refill[i];
115 * @refill: refill credit
122 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) argument
255 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) argument
[all...]
H A Dixgbe_dcb.h79 u16 data_credits_refill; /* Credit refill amount in 64B granularity */
132 int ixgbe_dcb_hw_ets_config(struct ixgbe_hw *hw, u16 *refill, u16 *max,
H A Dixgbe_dcb_nl.c313 u16 refill[MAX_TRAFFIC_CLASS], max[MAX_TRAFFIC_CLASS]; local
329 ixgbe_dcb_unpack_refill(dcb_cfg, DCB_TX_CONFIG, refill);
335 ixgbe_dcb_hw_ets_config(hw, refill, max, bwg_id,
/linux-master/tools/testing/selftests/bpf/
H A Dbpf_arena_alloc.h32 refill:
48 goto refill;
/linux-master/include/net/page_pool/
H A Dtypes.h28 * The cache size and refill watermark is related to the network
86 * @refill: an allocation which triggered a refill of the cache
95 u64 refill; member in struct:page_pool_alloc_stats
/linux-master/arch/m68k/sun3/
H A Dsun3dvma.c93 static inline int refill(void) function
126 if(!refill()) {
/linux-master/drivers/md/bcache/
H A Dbtree.c2629 struct refill { struct
2640 struct refill *refill = container_of(op, struct refill, op); local
2641 struct keybuf *buf = refill->buf;
2644 if (bkey_cmp(k, refill->end) > 0) {
2652 if (refill->pred(buf, k)) {
2669 refill->nr_found++;
2685 struct refill refill; local
[all...]
/linux-master/net/core/
H A Dpage_pool.c89 stats->alloc_stats.refill += pool->alloc_stats.refill;
134 *data++ = pool_stats->alloc_stats.refill;
363 alloc_stat_inc(pool, refill);
737 * Tries to refill a number of pages into the ptr_ring cache holding ptr_ring
1019 /* Flush pool alloc cache, as refill will check NUMA node */
H A Dpage_pool_user.c144 stats.alloc_stats.refill) ||
/linux-master/drivers/net/ethernet/toshiba/
H A Dps3_gelic_net.c1009 goto refill;
1020 goto refill;
1034 goto refill;
1043 goto refill;
1048 refill:
/linux-master/drivers/net/
H A Dvirtio_net.c301 struct delayed_work refill; member in struct:virtnet_info
303 /* Is delayed refill enabled? */
2092 container_of(work, struct virtnet_info, refill.work);
2107 schedule_delayed_work(&vi->refill, HZ/2);
2141 schedule_delayed_work(&vi->refill, 0);
2288 schedule_delayed_work(&vi->refill, 0);
2299 cancel_delayed_work_sync(&vi->refill);
2477 schedule_delayed_work(&vi->refill, 0);
2691 /* virtnet_open() will refill when device is going to up. */
2693 schedule_delayed_work(&vi->refill,
[all...]
/linux-master/drivers/net/ethernet/hisilicon/
H A Dhip04_eth.c597 goto refill;
625 refill:
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c462 int refill; local
465 * according to the page pool cache refill size to avoid overflowing
469 refill = min_t(u16, rq->wqe.info.refill_unit, remaining);
471 mlx5e_free_rx_wqes(rq, ix + total_alloc, refill);
472 refill_alloc = mlx5e_alloc_rx_wqes(rq, ix + total_alloc, refill);
473 if (unlikely(refill_alloc != refill))
477 remaining -= refill;
485 for (int i = 0; i < total_alloc + refill; i++) {
H A Den_stats.c503 rq_stats->pp_alloc_refill = stats.alloc_stats.refill;
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.h341 u16 refill; member in struct:hns3_desc_cb
H A Dhns3_enet.c3449 ring->desc_cb[i].refill = 0;
3528 ring->desc_cb[i].refill = 1;
3558 ring->desc_cb[i].refill = 1;
3567 ring->desc_cb[i].refill = 1;
3673 if (unlikely(ntc == ntu && !ring->desc_cb[ntc].refill))
4025 ring->desc_cb[ring->next_to_clean].refill = 0;
/linux-master/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c391 refill:
448 goto refill;
/linux-master/io_uring/
H A Dio_uring.c761 unsigned int refill = -tctx->cached_refs + IO_TCTX_REFS_CACHE_NR; local
763 percpu_counter_add(&tctx->inflight, refill);
764 refcount_add(refill, &current->usage);
765 tctx->cached_refs += refill;
/linux-master/drivers/net/ethernet/cortina/
H A Dgemini.c865 * @refill: whether to reset the queue by filling in all freeq entries or
866 * just refill it, usually the interrupt to refill the queue happens when
869 static unsigned int geth_fill_freeq(struct gemini_ethernet *geth, bool refill) argument
884 pn = (refill ? rw.bits.wptr : rw.bits.rptr) >> fpp_order;
2248 /* The queue is half empty so refill it */
/linux-master/mm/
H A Dpage_alloc.c4738 refill:
4763 goto refill;
4767 goto refill;
/linux-master/drivers/net/ethernet/marvell/
H A Dmvneta.c268 /* The values of the bucket refill base period and refill period are taken from
276 /* Number of Base Period to wait between each bucket refill */
737 /* Index of first RX DMA descriptor to refill */
2053 pr_err("Can't refill queue %d. Done %d from %d\n",
2429 int rx_proc = 0, rx_todo, refill, size = 0; local
2529 refill = mvneta_rx_refill_queue(pp, rxq);
2532 mvneta_rxq_desc_num_update(pp, rxq, rx_proc, refill);
2620 netdev_err(dev, "Linux processing - Can't refill\n");
2634 /* After refill ol
[all...]

Completed in 540 milliseconds