Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c236 struct mlx4_en_tx_desc *tx_desc = ring->buf + (index << LOG_TXBB_SIZE); in mlx4_en_stamp_wqe()
244 (tx_info->nr_txbb << LOG_TXBB_SIZE) <= end)) { in mlx4_en_stamp_wqe()
246 for (i = 0; i < tx_info->nr_txbb << LOG_TXBB_SIZE; in mlx4_en_stamp_wqe()
253 for (i = 0; i < tx_info->nr_txbb << LOG_TXBB_SIZE; in mlx4_en_stamp_wqe()
276 struct mlx4_en_tx_desc *tx_desc = ring->buf + (index << LOG_TXBB_SIZE); in mlx4_en_free_tx_desc()
308 (tx_info->nr_txbb << LOG_TXBB_SIZE) <= end)) { in mlx4_en_free_tx_desc()
411 desc_size = tx_info->nr_txbb << LOG_TXBB_SIZE; in mlx4_en_handle_err_cqe()
414 tx_desc = ring->buf + (wqe_index << LOG_TXBB_SIZE); in mlx4_en_handle_err_cqe()
570 u32 copy = (ring->size - index) << LOG_TXBB_SIZE; in mlx4_en_bounce_to_desc()
585 *((u32 *)(ring->buf + (index << LOG_TXBB_SIZE) + i)) = in mlx4_en_bounce_to_desc()
[all …]
Dmlx4_en.h76 #define LOG_TXBB_SIZE 6 macro
77 #define TXBB_SIZE BIT(LOG_TXBB_SIZE)