Searched refs:rx_space (Results 1 – 2 of 2) sorted by relevance
3883 u32 ring_size, rx_size, rx_space, max_rx_cmpl; in bnxt_set_ring_params() local3889 rx_space = rx_size + ALIGN(max(NET_SKB_PAD, XDP_PACKET_HEADROOM), 8) + in bnxt_set_ring_params()3901 if (rx_space > PAGE_SIZE && !(bp->flags & BNXT_FLAG_NO_AGG_RINGS)) { in bnxt_set_ring_params()3932 rx_space = PAGE_SIZE; in bnxt_set_ring_params()3938 rx_space = rx_size + NET_SKB_PAD + in bnxt_set_ring_params()3944 bp->rx_buf_size = rx_space; in bnxt_set_ring_params()
5371 u32 rx_size, rx_space, jumbo_size; in bnx2_set_rx_ring_size() local5376 rx_space = SKB_DATA_ALIGN(rx_size + BNX2_RX_ALIGN) + NET_SKB_PAD + in bnx2_set_rx_ring_size()5383 if ((rx_space > PAGE_SIZE) && !(bp->flags & BNX2_FLAG_JUMBO_BROKEN)) { in bnx2_set_rx_ring_size()