Lines Matching +full:tx +full:- +full:sec
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
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)
105 /* ENA device should send keep alive msg every 1 sec.
106 * We wait for 6 sec just to be on the safe side.
149 /* Used for detect missing tx packets to limit the number of prints */
151 /* Save the last jiffies to detect missing tx packets
215 /* Holds the empty requests for TX/RX
236 spinlock_t xdp_tx_lock; /* synchronize XDP TX/Redirect traffic */
237 /* Used for rx queues only to point to the xdp tx ring, to
260 /* number of tx/rx_buffer_info's entries */
347 /* TX */
372 /* last queue index that was checked for uncompleted tx packets */
404 adapter->reset_reason = reset_reason; in ena_reset_device()
407 set_bit(ENA_FLAG_TRIGGER_RESET, &adapter->flags); in ena_reset_device()
424 ena_com_write_sq_doorbell(tx_ring->ena_com_io_sq); in ena_ring_tx_doorbell()
425 ena_increase_stat(&tx_ring->tx_stats.doorbells, 1, &tx_ring->syncp); in ena_ring_tx_doorbell()