Searched refs:rx_frag_size (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 34 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/ |
D | bcm63xx_enet.h | 240 unsigned int rx_frag_size; member
|
D | bcm63xx_enet.c | 241 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/ |
D | atl1c.h | 515 unsigned int rx_frag_size; member
|
D | atl1c_main.c | 494 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/ |
D | bnx2x_cmn.c | 680 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()
|
D | bnx2x.h | 563 u32 rx_frag_size; /* 0 if kmalloced(), or rx_buf_size + NET_SKB_PAD */ member
|