tx_map
u32 tx_map = 0;
tx_map |= tc << HW_ATL2_TX_Q_TC_MAP_SHIFT(q);
tx_map);
tx_map = 0;
static inline void __bdx_tx_db_ptr_next(struct txdb *db, struct tx_map **pptr)
d->size = memsz / sizeof(struct tx_map) - 1;
struct tx_map *start; /* points to the first element */
struct tx_map *end; /* points just AFTER the last element */
struct tx_map *rptr; /* points to the next element to read */
struct tx_map *wptr; /* points to the next element to write */
void *rx_map = NULL, *tx_map = NULL;
tx_map = mmap(NULL, off.tx.desc +
if (tx_map == MAP_FAILED) {
tx->producer = tx_map + off.tx.producer;
tx->consumer = tx_map + off.tx.consumer;
tx->flags = tx_map + off.tx.flags;
tx->ring = tx_map + off.tx.desc;
munmap(tx_map, off.tx.desc +