Searched refs:MVNETA_TSO_PER_PAGE (Results 1 – 1 of 1) sorted by relevance
351 #define MVNETA_TSO_PER_PAGE (MVNETA_TSO_PAGE_SIZE / TSO_HEADER_SIZE) macro354 #define MVNETA_MAX_TSO_PAGES (MVNETA_MAX_TXD / MVNETA_TSO_PER_PAGE)2692 num = DIV_ROUND_UP(txq->size, MVNETA_TSO_PER_PAGE); in mvneta_alloc_tso_hdrs()2710 index = txq->txq_put_index / MVNETA_TSO_PER_PAGE; in mvneta_get_tso_hdr()2711 offset = (txq->txq_put_index % MVNETA_TSO_PER_PAGE) * TSO_HEADER_SIZE; in mvneta_get_tso_hdr()5886 BUILD_BUG_ON_NOT_POWER_OF_2(MVNETA_TSO_PER_PAGE); in mvneta_driver_init()