Home
last modified time | relevance | path

Searched refs:MAX_FRAME_SIZE (Results 1 – 17 of 17) sorted by relevance

/openbmc/qemu/include/hw/net/
H A Dcadence_gem.h45 #define MAX_FRAME_SIZE MAX_JUMBO_FRAME_SIZE_MASK macro
90 uint8_t tx_packet[MAX_FRAME_SIZE];
91 uint8_t rx_packet[MAX_FRAME_SIZE];
/openbmc/linux/drivers/net/ethernet/sis/
H A Dsis900.h315 #define MAX_FRAME_SIZE (1518 + 4) macro
317 #define MAX_FRAME_SIZE 1518 macro
320 #define TX_BUF_SIZE (MAX_FRAME_SIZE+18)
321 #define RX_BUF_SIZE (MAX_FRAME_SIZE+18)
H A Dsis900.c1766 if ((rx_status & TOOLONG) && data_size <= MAX_FRAME_SIZE) in sis900_rx()
/openbmc/linux/drivers/net/ethernet/aeroflex/
H A Dgreth.c179 MAX_FRAME_SIZE+NET_IP_ALIGN, in greth_clean_rings()
219 MAX_FRAME_SIZE, in greth_clean_rings()
226 MAX_FRAME_SIZE, in greth_clean_rings()
255 MAX_FRAME_SIZE+NET_IP_ALIGN, in greth_init_rings()
274 greth->rx_bufs[i] = kmalloc(MAX_FRAME_SIZE, GFP_KERNEL); in greth_init_rings()
284 MAX_FRAME_SIZE, in greth_init_rings()
307 MAX_FRAME_SIZE, in greth_init_rings()
420 if (unlikely(skb->len > MAX_FRAME_SIZE)) { in greth_start_xmit()
485 if (unlikely(skb->len > MAX_FRAME_SIZE)) { in greth_start_xmit_gbit()
902 MAX_FRAME_SIZE + NET_IP_ALIGN, in greth_rx_gbit()
[all …]
H A Dgreth.h79 #define MAX_FRAME_SIZE 1520 macro
/openbmc/u-boot/drivers/net/pfe_eth/
H A Dpfe_driver.c87 writel((MAX_FRAME_SIZE | BD_CTRL_LIFM | BD_CTRL_DESC_EN in pfe_eth_free_pkt()
320 ctrl = (MAX_FRAME_SIZE | BD_CTRL_DESC_EN | BD_CTRL_DIR | BD_CTRL_LIFM); in hif_rx_desc_init()
325 writel(rx_buf_pa + (i * MAX_FRAME_SIZE), &bd_va->data); in hif_rx_desc_init()
411 writel(tx_buf_pa + (i * MAX_FRAME_SIZE), &bd_va->data); in hif_tx_desc_init()
/openbmc/u-boot/include/net/pfe_eth/
H A Dpfe_driver.h20 #define MAX_FRAME_SIZE 2048 macro
/openbmc/linux/drivers/net/ethernet/hisilicon/
H A Dhisi_femac.c27 #define MAX_FRAME_SIZE 1600 macro
215 u32 len = MAX_FRAME_SIZE; in hisi_femac_rx_refill()
272 dma_unmap_single(priv->dev, addr, MAX_FRAME_SIZE, in hisi_femac_rx()
275 if (unlikely(skb->len > MAX_FRAME_SIZE)) { in hisi_femac_rx()
403 dma_unmap_single(priv->dev, dma_addr, MAX_FRAME_SIZE, in hisi_femac_free_skb_rings()
757 val |= MAX_FRAME_SIZE; in hisi_femac_port_init()
/openbmc/linux/drivers/net/fddi/skfp/h/
H A Dtargetos.h93 #define MAX_FRAME_SIZE 4550 macro
/openbmc/linux/drivers/net/fddi/skfp/
H A Dskfddi.c268 smc->os.MaxFrameSize = MAX_FRAME_SIZE; in skfp_init_one()
302 dma_free_coherent(&pdev->dev, MAX_FRAME_SIZE, in skfp_init_one()
338 MAX_FRAME_SIZE, in skfp_remove_one()
396 bp->LocalRxBuffer = dma_alloc_coherent(&bp->pdev.dev, MAX_FRAME_SIZE, in skfp_driver_init()
401 printk("LocalRxBuffer: %d byte\n", MAX_FRAME_SIZE); in skfp_driver_init()
452 dma_free_coherent(&bp->pdev.dev, MAX_FRAME_SIZE, in skfp_driver_init()
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.h26 #define MAX_FRAME_SIZE 9216 macro
H A Dthunder_bgx.c691 bgx_reg_modify(bgx, lmacid, BGX_GMP_GMI_RXX_JABBER, MAX_FRAME_SIZE); in bgx_lmac_sgmii_init()
843 bgx_reg_modify(bgx, lmacid, BGX_SMUX_RX_JABBER, MAX_FRAME_SIZE); in bgx_lmac_xaui_init()
/openbmc/qemu/hw/net/
H A Dcadence_gem.c1110 if (size > MAX_FRAME_SIZE - sizeof(crc_val)) { in gem_receive()
1111 size = MAX_FRAME_SIZE - sizeof(crc_val); in gem_receive()
1119 memset(s->rx_packet + size, 0, MAX_FRAME_SIZE - size); in gem_receive()
1749 if (s->jumbo_max_len > MAX_FRAME_SIZE) { in gem_realize()
1751 MAX_FRAME_SIZE); in gem_realize()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dxgmac.c130 V_RXMAXFRAMERSIZE(MAX_FRAME_SIZE) | F_RXENFRAMER); in t3_mac_reset()
360 if (mtu > MAX_FRAME_SIZE - 4) in t3_mac_set_mtu()
H A Dcommon.h70 MAX_FRAME_SIZE = 10240, /* max MAC frame size, including header + FCS */ enumerator
H A Dsge.c3111 MAX_FRAME_SIZE + 2 + sizeof(struct cpl_rx_pkt); in t3_sge_alloc_qset()
/openbmc/linux/drivers/net/ethernet/packetengines/
H A Dhamachi.c412 #define MAX_FRAME_SIZE 1518 macro
938 writew(MAX_FRAME_SIZE, ioaddr + MaxFrameSize); /* dev->mtu+14 ??? */ in hamachi_open()