/openbmc/qemu/include/hw/net/ |
H A D | cadence_gem.h | 45 #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 D | sis900.h | 315 #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 D | sis900.c | 1766 if ((rx_status & TOOLONG) && data_size <= MAX_FRAME_SIZE) in sis900_rx()
|
/openbmc/linux/drivers/net/ethernet/aeroflex/ |
H A D | greth.c | 179 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 D | greth.h | 79 #define MAX_FRAME_SIZE 1520 macro
|
/openbmc/u-boot/drivers/net/pfe_eth/ |
H A D | pfe_driver.c | 87 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 D | pfe_driver.h | 20 #define MAX_FRAME_SIZE 2048 macro
|
/openbmc/linux/drivers/net/ethernet/hisilicon/ |
H A D | hisi_femac.c | 27 #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 D | targetos.h | 93 #define MAX_FRAME_SIZE 4550 macro
|
/openbmc/linux/drivers/net/fddi/skfp/ |
H A D | skfddi.c | 268 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 D | thunder_bgx.h | 26 #define MAX_FRAME_SIZE 9216 macro
|
H A D | thunder_bgx.c | 691 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 D | cadence_gem.c | 1110 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 D | xgmac.c | 130 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 D | common.h | 70 MAX_FRAME_SIZE = 10240, /* max MAC frame size, including header + FCS */ enumerator
|
H A D | sge.c | 3111 MAX_FRAME_SIZE + 2 + sizeof(struct cpl_rx_pkt); in t3_sge_alloc_qset()
|
/openbmc/linux/drivers/net/ethernet/packetengines/ |
H A D | hamachi.c | 412 #define MAX_FRAME_SIZE 1518 macro 938 writew(MAX_FRAME_SIZE, ioaddr + MaxFrameSize); /* dev->mtu+14 ??? */ in hamachi_open()
|