Lines Matching +full:num +full:- +full:rx +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)
77 /* Refill Rx queue when number of required descriptors is above
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 */
219 /* Holds the empty requests for TX/RX
241 /* Used for rx queues only to point to the xdp tx ring, to
242 * which traffic should be redirected from this rx ring.
312 /* rx packets that shorter that this len will be copied to the skb
356 /* RX */
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()