Searched refs:tx_map (Results 1 – 2 of 2) sorted by relevance
548 void *rx_map = NULL, *tx_map = NULL; in xsk_socket__create_shared() local 646 tx_map = mmap(NULL, off.tx.desc + in xsk_socket__create_shared() 650 if (tx_map == MAP_FAILED) { in xsk_socket__create_shared() 657 tx->producer = tx_map + off.tx.producer; in xsk_socket__create_shared() 658 tx->consumer = tx_map + off.tx.consumer; in xsk_socket__create_shared() 659 tx->flags = tx_map + off.tx.flags; in xsk_socket__create_shared() 660 tx->ring = tx_map + off.tx.desc; in xsk_socket__create_shared() 692 munmap(tx_map, off.tx.desc + in xsk_socket__create_shared()
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()