Home
last modified time | relevance | path

Searched refs:LOG_TXBB_SIZE (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c237 struct mlx4_en_tx_desc *tx_desc = ring->buf + (index << LOG_TXBB_SIZE); in mlx4_en_stamp_wqe()
245 (tx_info->nr_txbb << LOG_TXBB_SIZE) <= end)) { in mlx4_en_stamp_wqe()
247 for (i = 0; i < tx_info->nr_txbb << LOG_TXBB_SIZE; in mlx4_en_stamp_wqe()
254 for (i = 0; i < tx_info->nr_txbb << LOG_TXBB_SIZE; in mlx4_en_stamp_wqe()
277 struct mlx4_en_tx_desc *tx_desc = ring->buf + (index << LOG_TXBB_SIZE); in mlx4_en_free_tx_desc()
309 (tx_info->nr_txbb << LOG_TXBB_SIZE) <= end)) { in mlx4_en_free_tx_desc()
412 desc_size = tx_info->nr_txbb << LOG_TXBB_SIZE; in mlx4_en_handle_err_cqe()
415 tx_desc = ring->buf + (wqe_index << LOG_TXBB_SIZE); in mlx4_en_handle_err_cqe()
571 u32 copy = (ring->size - index) << LOG_TXBB_SIZE; in mlx4_en_bounce_to_desc()
586 *((u32 *)(ring->buf + (index << LOG_TXBB_SIZE) + i)) = in mlx4_en_bounce_to_desc()
[all …]
Dmlx4_en.h78 #define LOG_TXBB_SIZE 6 macro
79 #define TXBB_SIZE BIT(LOG_TXBB_SIZE)