Searched refs:ENETC_RXB_TRUESIZE (Results 1 – 2 of 2) sorted by relevance
44 #define ENETC_RXB_TRUESIZE 2048 /* PAGE_SIZE >> 1 */ macro47 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - ENETC_RXB_PAD)49 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - XDP_PACKET_HEADROOM)
1070 size_t buffer_size = ENETC_RXB_TRUESIZE - rx_ring->buffer_offset; in enetc_put_rx_buff()1086 rx_swbd->page_offset ^= ENETC_RXB_TRUESIZE; in enetc_flip_rx_buff()1105 skb = build_skb(ba - rx_ring->buffer_offset, ENETC_RXB_TRUESIZE); in enetc_map_rx_buff_to_skb()1125 rx_swbd->page_offset, size, ENETC_RXB_TRUESIZE); in enetc_add_rx_buff_to_skb()1470 xdp_init_buff(xdp_buff, ENETC_RXB_TRUESIZE, &rx_ring->xdp.rxq); in enetc_build_xdp_buff()