/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_device.c | 89 .rx_buf_size = CN6XXX_OQ_BUF_SIZE, 118 .rx_buf_size = CN6XXX_OQ_BUF_SIZE, 197 .rx_buf_size = CN6XXX_OQ_BUF_SIZE, 226 .rx_buf_size = CN6XXX_OQ_BUF_SIZE, 255 .rx_buf_size = CN6XXX_OQ_BUF_SIZE, 284 .rx_buf_size = CN6XXX_OQ_BUF_SIZE, 363 .rx_buf_size = CN6XXX_OQ_BUF_SIZE, 392 .rx_buf_size = CN6XXX_OQ_BUF_SIZE, 466 .rx_buf_size = CN23XX_OQ_BUF_SIZE, 495 .rx_buf_size = CN23XX_OQ_BUF_SIZE,
|
H A D | octeon_config.h | 159 ((cfg)->nic_if_cfg[idx].rx_buf_size) 326 u64 rx_buf_size:16; member 367 u64 rx_buf_size:16;
|
/linux/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-net.c | 191 unsigned int rx_buf_size; in xlgmac_calc_rx_buf_size() local 198 rx_buf_size = mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN; in xlgmac_calc_rx_buf_size() 199 rx_buf_size = clamp_val(rx_buf_size, XLGMAC_RX_MIN_BUF_SIZE, PAGE_SIZE); in xlgmac_calc_rx_buf_size() 201 rx_buf_size = (rx_buf_size + XLGMAC_RX_BUF_ALIGN - 1) & in xlgmac_calc_rx_buf_size() 204 return rx_buf_size; in xlgmac_calc_rx_buf_size() 653 pdata->rx_buf_size = ret; in xlgmac_open() 825 pdata->rx_buf_size = ret; in xlgmac_change_mtu()
|
H A D | dwc-xlgmac.h | 597 unsigned int rx_buf_size; member
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | dp_tx.h | 40 int rx_buf_size,
|
H A D | dp_tx.c | 1072 int rx_buf_size, in ath11k_dp_tx_htt_rx_filter_setup() argument 1118 rx_buf_size); in ath11k_dp_tx_htt_rx_filter_setup()
|
/linux/drivers/net/ethernet/hisilicon/ |
H A D | hip04_eth.c | 239 unsigned int rx_buf_size; member 594 skb = build_skb(buf, priv->rx_buf_size); in hip04_rx_poll() 626 buf = netdev_alloc_frag(priv->rx_buf_size); in hip04_rx_poll() 865 priv->rx_buf_size = RX_BUF_SIZE + in hip04_alloc_ring() 868 priv->rx_buf[i] = netdev_alloc_frag(priv->rx_buf_size); in hip04_alloc_ring()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.c | 164 dma_unmap_page(dev, addr, priv->rx_buf_size, in dpaa2_eth_free_rx_fd() 222 dma_unmap_page(dev, sg_addr, priv->rx_buf_size, in dpaa2_eth_build_frag_skb() 263 sg_length, priv->rx_buf_size); in dpaa2_eth_build_frag_skb() 294 dma_unmap_page(dev, buf_array[i], priv->rx_buf_size, in dpaa2_eth_free_bufs() 469 priv->rx_buf_size, DMA_BIDIRECTIONAL); in dpaa2_eth_run_xdp() 480 priv->rx_buf_size, DMA_BIDIRECTIONAL); in dpaa2_eth_run_xdp() 598 dma_sync_single_for_cpu(dev, addr, priv->rx_buf_size, in dpaa2_eth_rx() 617 dma_unmap_page(dev, addr, priv->rx_buf_size, in dpaa2_eth_rx() 626 dma_unmap_page(dev, addr, priv->rx_buf_size, in dpaa2_eth_rx() 671 dma_sync_single_for_cpu(dev, addr, priv->rx_buf_size, in dpaa2_eth_rx_err() [all …]
|
H A D | dpaa2-eth.h | 572 u16 rx_buf_size; member
|
/linux/drivers/net/usb/ |
H A D | hso.c | 148 unsigned short rx_buf_size; member 707 odev->rx_buf_size = 0; in hso_net_open() 861 odev->rx_buf_size, ip_pkt + buffer_offset, in packetizeRx() 864 odev->rx_buf_size += temp_bytes; in packetizeRx() 899 odev->rx_buf_size = sizeof(struct iphdr); in packetizeRx() 922 odev->rx_buf_size += temp_bytes; in packetizeRx() 937 odev->net->stats.rx_bytes += odev->rx_buf_size; in packetizeRx() 939 odev->rx_buf_size = 0; in packetizeRx() 960 odev->rx_buf_size = 0; in packetizeRx()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-drv.c | 298 unsigned int rx_buf_size; in xgbe_calc_rx_buf_size() local 300 rx_buf_size = mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN; in xgbe_calc_rx_buf_size() 301 rx_buf_size = clamp_val(rx_buf_size, XGBE_RX_MIN_BUF_SIZE, PAGE_SIZE); in xgbe_calc_rx_buf_size() 303 rx_buf_size = (rx_buf_size + XGBE_RX_BUF_ALIGN - 1) & in xgbe_calc_rx_buf_size() 306 return rx_buf_size; in xgbe_calc_rx_buf_size() 1287 pdata->rx_buf_size = xgbe_calc_rx_buf_size(netdev, netdev->mtu); in xgbe_alloc_memory() 2072 pdata->rx_buf_size = ret; in xgbe_change_mtu()
|
H A D | xgbe-desc.c | 381 pdata->rx_buf_size); in xgbe_map_rx_buffer()
|
/linux/drivers/infiniband/hw/mlx4/ |
H A D | mad.c | 1607 int rx_buf_size, tx_buf_size; in mlx4_ib_alloc_pv_bufs() local 1631 rx_buf_size = sizeof (struct mlx4_tunnel_mad); in mlx4_ib_alloc_pv_bufs() 1634 rx_buf_size = sizeof (struct mlx4_mad_rcv_buf); in mlx4_ib_alloc_pv_bufs() 1639 tun_qp->ring[i].addr = kmalloc(rx_buf_size, GFP_KERNEL); in mlx4_ib_alloc_pv_bufs() 1644 rx_buf_size, in mlx4_ib_alloc_pv_bufs() 1688 rx_buf_size, DMA_FROM_DEVICE); in mlx4_ib_alloc_pv_bufs() 1703 int rx_buf_size, tx_buf_size; in mlx4_ib_free_pv_qp_bufs() local 1711 rx_buf_size = sizeof (struct mlx4_tunnel_mad); in mlx4_ib_free_pv_qp_bufs() 1714 rx_buf_size = sizeof (struct mlx4_mad_rcv_buf); in mlx4_ib_free_pv_qp_bufs() 1721 rx_buf_size, DMA_FROM_DEVICE); in mlx4_ib_free_pv_qp_bufs()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 449 fp->rx_buf_size, DMA_FROM_DEVICE); in bnx2x_tpa_start() 706 return kmalloc(fp->rx_buf_size + NET_SKB_PAD, gfp_mask); in bnx2x_frag_alloc() 793 fp->rx_buf_size, DMA_FROM_DEVICE); in bnx2x_tpa_stop() 799 if (pad + len > fp->rx_buf_size) { in bnx2x_tpa_stop() 801 pad, len, fp->rx_buf_size); in bnx2x_tpa_stop() 853 fp->rx_buf_size, in bnx2x_alloc_rx_data() 1060 fp->rx_buf_size, in bnx2x_rx_int() 1386 fp->rx_buf_size, DMA_FROM_DEVICE); in bnx2x_free_tpa_pool() 1422 "mtu %d rx_buf_size %d\n", bp->dev->mtu, fp->rx_buf_size); in bnx2x_init_rx_rings() 1563 fp->rx_buf_size, DMA_FROM_DEVICE); in bnx2x_free_rx_bds() [all …]
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | bcm63xx_enet.h | 234 unsigned int rx_buf_size; member
|
/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede.h | 211 u16 rx_buf_size; member 350 u32 rx_buf_size; member
|
H A D | qede_main.c | 1583 rxq->rx_buf_size = NET_IP_ALIGN + ETH_OVERHEAD + edev->ndev->mtu; in qede_alloc_mem_rxq() 1590 if (rxq->rx_buf_size + size > PAGE_SIZE) in qede_alloc_mem_rxq() 1591 rxq->rx_buf_size = PAGE_SIZE - size; in qede_alloc_mem_rxq() 1597 size = size + rxq->rx_buf_size; in qede_alloc_mem_rxq() 2302 rxq->rx_buf_size, in qede_start_queues()
|
/linux/drivers/net/ethernet/atheros/ |
H A D | ag71xx.c | 355 u16 rx_buf_size; member 1188 ag->rx_buf_size, DMA_FROM_DEVICE); in ag71xx_ring_rx_clean() 1195 return ag->rx_buf_size + in ag71xx_buffer_size() 1214 buf->rx.dma_addr = dma_map_single(&ag->pdev->dev, data, ag->rx_buf_size, in ag71xx_fill_rx_buf() 1413 ag->rx_buf_size = in ag71xx_open() 1632 ag->rx_buf_size, DMA_FROM_DEVICE); in ag71xx_rx_packets()
|
/linux/drivers/net/ethernet/moxa/ |
H A D | moxart_ether.h | 308 unsigned int rx_buf_size; member
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_txrx.h | 579 u16 rx_buf_size; member 760 u16 rx_buf_size; member
|
/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | ctxt-info.c | 187 switch (trans_pcie->rx_buf_size) { in iwl_pcie_ctxt_info_init()
|
/linux/drivers/hwmon/ |
H A D | ibmaem.c | 217 u8 rx_buf_size; member 374 rs_req.rx_buf_size = size; in aem_read_sensor()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sdio.c | 2425 u32 rx_buf_size; in mwifiex_alloc_sdio_mpa_buffers() local 2436 rx_buf_size = max_t(u32, mpa_rx_buf_size, in mwifiex_alloc_sdio_mpa_buffers() 2438 card->mpa_rx.buf = kzalloc(rx_buf_size, GFP_KERNEL); in mwifiex_alloc_sdio_mpa_buffers() 2444 card->mpa_rx.buf_size = rx_buf_size; in mwifiex_alloc_sdio_mpa_buffers()
|
/linux/drivers/tty/serial/ |
H A D | imx.c | 224 unsigned int rx_buf_size; member 1279 sg_init_one(sgl, sport->rx_buf, sport->rx_buf_size); in imx_uart_start_rx_dma() 1402 sport->rx_buf_size = sport->rx_period_length * sport->rx_periods; in imx_uart_dma_init() 1403 sport->rx_buf = kzalloc(sport->rx_buf_size, GFP_KERNEL); in imx_uart_dma_init()
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | main.c | 1319 trans_cfg.rx_buf_size = IWL_AMSDU_4K; in iwl_op_mode_dvm_start() 1322 trans_cfg.rx_buf_size = IWL_AMSDU_8K; in iwl_op_mode_dvm_start() 1326 trans_cfg.rx_buf_size = IWL_AMSDU_4K; in iwl_op_mode_dvm_start()
|