Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/emulex/benet/
Dbe_main.c34 static ushort rx_frag_size = 2048; variable
35 module_param(rx_frag_size, ushort, 0444);
36 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()
2352 skb->truesize += rx_frag_size; in skb_fill_rx_data()
2357 if (rxcp->pkt_size <= rx_frag_size) { in skb_fill_rx_data()
2366 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-v6.6/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 = napi_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-v6.6/drivers/net/ethernet/atheros/atl1c/
Datl1c.h515 unsigned int rx_frag_size; member
Datl1c_main.c494 adapter->rx_frag_size = roundup_pow_of_two(head_size); in atl1c_set_rxbufsize()
1764 if (adapter->rx_frag_size > PAGE_SIZE) { in atl1c_alloc_skb()
1783 adapter->rx_frag_size); in atl1c_alloc_skb()
1786 rrd_ring->rx_page_offset += adapter->rx_frag_size; in atl1c_alloc_skb()
/Linux-v6.6/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c680 if (fp->rx_frag_size) in bnx2x_build_skb()
681 skb = build_skb(data, fp->rx_frag_size); in bnx2x_build_skb()
689 if (fp->rx_frag_size) in bnx2x_frag_free()
697 if (fp->rx_frag_size) { in bnx2x_frag_alloc()
702 return napi_alloc_frag(fp->rx_frag_size); in bnx2x_frag_alloc()
2049 fp->rx_frag_size = fp->rx_buf_size + NET_SKB_PAD; in bnx2x_set_rx_buf_size()
2051 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