Searched refs:tx_map (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/tehuti/ |
H A D | tehuti.h | 191 struct tx_map { struct 198 struct tx_map *start; /* points to the first element */ 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 */
|
H A D | tehuti.c | 1372 static inline void __bdx_tx_db_ptr_next(struct txdb *db, struct tx_map **pptr) in __bdx_tx_db_ptr_next() 1428 d->size = memsz / sizeof(struct tx_map) - 1; in bdx_tx_db_init()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/tehuti/ |
H A D | tehuti.h | 191 struct tx_map { struct 198 struct tx_map *start; /* points to the first element */ 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 */
|
H A D | tehuti.c | 1366 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()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | xsk.c | 707 void *rx_map = NULL, *tx_map = NULL; in xsk_socket__create_shared() local 813 tx_map = mmap(NULL, off.tx.desc + in xsk_socket__create_shared() 817 if (tx_map == MAP_FAILED) { in xsk_socket__create_shared() 824 tx->producer = tx_map + off.tx.producer; in xsk_socket__create_shared() 825 tx->consumer = tx_map + off.tx.consumer; in xsk_socket__create_shared() 826 tx->flags = tx_map + off.tx.flags; in xsk_socket__create_shared() 827 tx->ring = tx_map + off.tx.desc; in xsk_socket__create_shared() 865 munmap(tx_map, off.tx.desc + in xsk_socket__create_shared()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | xsk.c | 546 void *rx_map = NULL, *tx_map = NULL; in xsk_socket__create_shared() local 644 tx_map = mmap(NULL, off.tx.desc + in xsk_socket__create_shared() 648 if (tx_map == MAP_FAILED) { in xsk_socket__create_shared() 655 tx->producer = tx_map + off.tx.producer; in xsk_socket__create_shared() 656 tx->consumer = tx_map + off.tx.consumer; in xsk_socket__create_shared() 657 tx->flags = tx_map + off.tx.flags; in xsk_socket__create_shared() 658 tx->ring = tx_map + off.tx.desc; in xsk_socket__create_shared() 690 munmap(tx_map, off.tx.desc + in xsk_socket__create_shared()
|
/kernel/linux/linux-5.10/drivers/atm/ |
H A D | zatm.h | 71 struct atm_vcc **tx_map; /* TX VCCs */ member
|
H A D | zatm.c | 771 if (chan < zatm_dev->chans && zatm_dev->tx_map[chan]) in poll_tx() 772 dequeue_tx(zatm_dev->tx_map[chan]); in poll_tx() 906 zatm_dev->tx_map[chan] = NULL; in close_tx() 992 zatm_dev->tx_map[zatm_vcc->tx_chan] = vcc; in open_tx_second() 1004 zatm_dev->tx_map = kmalloc_array(zatm_dev->chans, in start_tx() 1005 sizeof(*zatm_dev->tx_map), in start_tx() 1007 if (!zatm_dev->tx_map) return -ENOMEM; in start_tx() 1272 zatm_dev->rx_map = zatm_dev->tx_map = NULL; in zatm_start() 1359 kfree(zatm_dev->tx_map); in zatm_start()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2.c | 118 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2.c | 118 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()
|
Completed in 16 milliseconds