Lines Matching +full:num +full:- +full:tx +full:- +full:queues
1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
3 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved.
60 #define ENA_DEFAULT_RX_COPYBREAK (256 - NET_IP_ALIGN)
72 /* The number of tx packet completions that will be handled each NAPI poll
83 /* Number of queues to check for missing queues per timer service */
88 #define ENA_TX_RING_IDX_NEXT(idx, ring_size) (((idx) + 1) & ((ring_size) - 1))
90 #define ENA_RX_RING_IDX_NEXT(idx, ring_size) (((idx) + 1) & ((ring_size) - 1))
92 (((idx) + (n)) & ((ring_size) - 1))
97 #define ENA_IO_RXQ_IDX_TO_COMBINED_IDX(q) (((q) - 1) / 2)
136 * the xdp queues
140 /* num of ena desc for this specific skb
144 /* num of buffers used by this skb */
153 /* Used for detect missing tx packets to limit the number of prints */
155 /* Save the last jiffies to detect missing tx packets
219 /* Holds the empty requests for TX/RX
240 spinlock_t xdp_tx_lock; /* synchronize XDP TX/Redirect traffic */
241 /* Used for rx queues only to point to the xdp tx ring, to
264 /* number of tx/rx_buffer_info's entries */
352 /* TX */
378 /* last queue index that was checked for uncompleted tx packets */
409 adapter->reset_reason = reset_reason; in ena_reset_device()
412 set_bit(ENA_FLAG_TRIGGER_RESET, &adapter->flags); in ena_reset_device()
429 ena_com_write_sq_doorbell(tx_ring->ena_com_io_sq); in ena_ring_tx_doorbell()
430 ena_increase_stat(&tx_ring->tx_stats.doorbells, 1, &tx_ring->syncp); in ena_ring_tx_doorbell()