Home
last modified time | relevance | path

Searched refs:rx_frag_size (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/emulex/benet/
Dbe_main.c35 static ushort rx_frag_size = 2048; variable
36 module_param(rx_frag_size, ushort, 0444);
37 MODULE_PARM_DESC(rx_frag_size, "Size of a fragment that holds rcvd data.");
2295 rx_frag_size, DMA_FROM_DEVICE); in get_rx_page_info()
2334 curr_frag_len = min(rxcp->pkt_size, rx_frag_size); in skb_fill_rx_data()
2353 skb->truesize += rx_frag_size; in skb_fill_rx_data()
2358 if (rxcp->pkt_size <= rx_frag_size) { in skb_fill_rx_data()
2367 curr_frag_len = min(remaining, rx_frag_size); in skb_fill_rx_data()
2385 skb->truesize += rx_frag_size; in skb_fill_rx_data()
2449 curr_frag_len = min(remaining, rx_frag_size); in be_rx_compl_process_gro()
[all …]
/linux-5.19.10/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h240 unsigned int rx_frag_size; member
Dbcm63xx_enet.c241 buf = napi_alloc_frag(priv->rx_frag_size); in bcm_enet_refill_rx()
243 buf = netdev_alloc_frag(priv->rx_frag_size); in bcm_enet_refill_rx()
391 skb = build_skb(buf, priv->rx_frag_size); in bcm_enet_receive_queue()
1652 priv->rx_frag_size = SKB_DATA_ALIGN(priv->rx_buf_offset + priv->rx_buf_size) + in bcm_enet_change_mtu()
/linux-5.19.10/drivers/net/ethernet/atheros/atl1c/
Datl1c.h515 unsigned int rx_frag_size; member
Datl1c_main.c504 adapter->rx_frag_size = roundup_pow_of_two(head_size); in atl1c_set_rxbufsize()
1774 if (adapter->rx_frag_size > PAGE_SIZE) { in atl1c_alloc_skb()
1793 adapter->rx_frag_size); in atl1c_alloc_skb()
1796 rrd_ring->rx_page_offset += adapter->rx_frag_size; in atl1c_alloc_skb()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c679 if (fp->rx_frag_size) in bnx2x_frag_free()
687 if (fp->rx_frag_size) { in bnx2x_frag_alloc()
692 return napi_alloc_frag(fp->rx_frag_size); in bnx2x_frag_alloc()
784 skb = build_skb(data, fp->rx_frag_size); in bnx2x_tpa_stop()
1050 skb = build_skb(data, fp->rx_frag_size); in bnx2x_rx_int()
2039 fp->rx_frag_size = fp->rx_buf_size + NET_SKB_PAD; in bnx2x_set_rx_buf_size()
2041 fp->rx_frag_size = 0; in bnx2x_set_rx_buf_size()
Dbnx2x.h563 u32 rx_frag_size; /* 0 if kmalloced(), or rx_buf_size + NET_SKB_PAD */ member