Home
last modified time | relevance | path

Searched refs:rx_skb_size (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h234 unsigned int rx_skb_size; member
Dbcm63xx_enet.c240 skb = netdev_alloc_skb(dev, priv->rx_skb_size); in bcm_enet_refill_rx()
245 priv->rx_skb_size, in bcm_enet_refill_rx()
250 len_stat = priv->rx_skb_size << DMADESC_LENGTH_SHIFT; in bcm_enet_refill_rx()
386 priv->rx_skb_size, DMA_FROM_DEVICE); in bcm_enet_receive_queue()
1079 dma_unmap_single(kdev, desc->address, priv->rx_skb_size, in bcm_enet_open()
1197 dma_unmap_single(kdev, desc->address, priv->rx_skb_size, in bcm_enet_stop()
1625 priv->rx_skb_size = ALIGN(actual_mtu + ETH_FCS_LEN, in bcm_enet_change_mtu()
2297 dma_unmap_single(kdev, desc->address, priv->rx_skb_size, in bcm_enetsw_open()
2359 dma_unmap_single(kdev, desc->address, priv->rx_skb_size, in bcm_enetsw_stop()
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/emac/
Dcore.h249 int rx_skb_size; member
Dcore.c1034 int rx_skb_size = emac_rx_skb_size(new_mtu); in emac_resize_rx_ring() local
1063 if (rx_skb_size <= dev->rx_skb_size) in emac_resize_rx_ring()
1070 skb = netdev_alloc_skb_ip_align(dev->ndev, rx_skb_size); in emac_resize_rx_ring()
1132 dev->rx_skb_size = emac_rx_skb_size(new_mtu); in emac_change_mtu()
1197 skb = __netdev_alloc_skb_ip_align(dev->ndev, dev->rx_skb_size, in emac_alloc_rx_skb()
1208 skb = napi_alloc_skb(&dev->mal->napi, dev->rx_skb_size); in emac_alloc_rx_skb_napi()
1732 if (unlikely(tot_len + NET_IP_ALIGN > dev->rx_skb_size)) { in emac_rx_sg_append()
3118 dev->rx_skb_size = emac_rx_skb_size(ndev->mtu); in emac_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c205 priv->rx_skb_size + ETH_FCS_LEN, in mlx4_en_dcbnl_set_all()
432 priv->rx_skb_size + ETH_FCS_LEN, in mlx4_en_dcbnl_ieee_setpfc()
Dmlx4_en.h594 u32 rx_skb_size; member
Den_netdev.c1642 en_dbg(DRV, priv, "Rx buf size:%d\n", priv->rx_skb_size); in mlx4_en_start_port()
1763 priv->rx_skb_size + ETH_FCS_LEN, in mlx4_en_start_port()
3431 priv->rx_skb_size + ETH_FCS_LEN, in mlx4_en_init_netdev()
Den_rx.c1043 priv->rx_skb_size = eff_mtu; in mlx4_en_calc_rx_buf()
Den_ethtool.c1091 priv->rx_skb_size + ETH_FCS_LEN, in mlx4_en_set_pauseparam()