Searched refs:LIBETH_RX_BUF_STRIDE (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/intel/libeth/ |
H A D | rx.c | 22 len = ALIGN(len, LIBETH_RX_BUF_STRIDE); in libeth_rx_hw_len_mtu() 23 len = min3(len, ALIGN_DOWN(max_len ? : U32_MAX, LIBETH_RX_BUF_STRIDE), in libeth_rx_hw_len_mtu() 44 min = SKB_HEAD_ALIGN(pp->offset + LIBETH_RX_BUF_STRIDE); in libeth_rx_hw_len_truesize() 49 len = ALIGN_DOWN(len, LIBETH_RX_BUF_STRIDE) ? : LIBETH_RX_BUF_STRIDE; in libeth_rx_hw_len_truesize() 50 len = min3(len, ALIGN_DOWN(max_len ? : U32_MAX, LIBETH_RX_BUF_STRIDE), in libeth_rx_hw_len_truesize() 85 fq->buf_len = ALIGN(LIBETH_MAX_HEAD, LIBETH_RX_BUF_STRIDE); in libeth_rx_page_pool_params() 135 fq->buf_len = clamp(mtu, LIBETH_RX_BUF_STRIDE, max); in libeth_rx_page_pool_params_zc()
|
/linux/include/net/libeth/ |
H A D | rx.h | 26 #define LIBETH_RX_BUF_STRIDE SKB_DATA_ALIGN(128) macro 30 LIBETH_RX_BUF_STRIDE)
|