Home
last modified time | relevance | path

Searched refs:rx_space (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c3898 u32 ring_size, rx_size, rx_space, max_rx_cmpl; in bnxt_set_ring_params() local
3904 rx_space = rx_size + ALIGN(max(NET_SKB_PAD, XDP_PACKET_HEADROOM), 8) + in bnxt_set_ring_params()
3916 if (rx_space > PAGE_SIZE && !(bp->flags & BNXT_FLAG_NO_AGG_RINGS)) { in bnxt_set_ring_params()
3947 rx_space = PAGE_SIZE; in bnxt_set_ring_params()
3953 rx_space = rx_size + NET_SKB_PAD + in bnxt_set_ring_params()
3959 bp->rx_buf_size = rx_space; in bnxt_set_ring_params()
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dbnx2.c5371 u32 rx_size, rx_space, jumbo_size; in bnx2_set_rx_ring_size() local
5376 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()