Home
last modified time | relevance | path

Searched refs:tx_map (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/tehuti/
Dtehuti.h191 struct tx_map { struct
198 struct tx_map *start; /* points to the first element */ argument
199 struct tx_map *end; /* points just AFTER the last element */
200 struct tx_map *rptr; /* points to the next element to read */
201 struct tx_map *wptr; /* points to the next element to write */
Dtehuti.c1366 static inline void __bdx_tx_db_ptr_next(struct txdb *db, struct tx_map **pptr) in __bdx_tx_db_ptr_next()
1422 d->size = memsz / sizeof(struct tx_map) - 1; in bdx_tx_db_init()
/linux-6.1.9/tools/testing/selftests/bpf/
Dxsk.c1014 void *rx_map = NULL, *tx_map = NULL; in xsk_socket__create_shared() local
1120 tx_map = mmap(NULL, off.tx.desc + in xsk_socket__create_shared()
1124 if (tx_map == MAP_FAILED) { in xsk_socket__create_shared()
1131 tx->producer = tx_map + off.tx.producer; in xsk_socket__create_shared()
1132 tx->consumer = tx_map + off.tx.consumer; in xsk_socket__create_shared()
1133 tx->flags = tx_map + off.tx.flags; in xsk_socket__create_shared()
1134 tx->ring = tx_map + off.tx.desc; in xsk_socket__create_shared()
1172 munmap(tx_map, off.tx.desc + in xsk_socket__create_shared()
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c118 u32 tx_map = 0; in hw_atl2_hw_queue_to_tc_map_set() local
148 tx_map |= tc << HW_ATL2_TX_Q_TC_MAP_SHIFT(q); in hw_atl2_hw_queue_to_tc_map_set()
153 tx_map); in hw_atl2_hw_queue_to_tc_map_set()
154 tx_map = 0; in hw_atl2_hw_queue_to_tc_map_set()