| 47 | } |
| 48 | |
| 49 | int bnxt_init_one_tx_ring(struct bnxt_tx_queue *txq) |
| 50 | { |
| 51 | struct bnxt_tx_ring_info *txr = txq->tx_ring; |
| 52 | struct bnxt_ring *ring = txr->tx_ring_struct; |
| 53 | |
| 54 | txq->tx_wake_thresh = ring->ring_size / 2; |
| 55 | ring->fw_ring_id = INVALID_HW_RING_ID; |
| 56 | |
| 57 | return 0; |
| 58 | } |
| 59 | |
| 60 | int bnxt_init_tx_ring_struct(struct bnxt_tx_queue *txq, unsigned int socket_id) |
| 61 | { |
no outgoing calls
no test coverage detected