Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/sis/
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)
Dsis900.c1766 if ((rx_status & TOOLONG) && data_size <= MAX_FRAME_SIZE) in sis900_rx()
/linux-5.19.10/drivers/net/ethernet/aeroflex/
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()
246 skb = netdev_alloc_skb(greth->netdev, MAX_FRAME_SIZE+NET_IP_ALIGN); in greth_init_rings()
255 MAX_FRAME_SIZE+NET_IP_ALIGN, in greth_init_rings()
273 greth->rx_bufs[i] = kmalloc(MAX_FRAME_SIZE, GFP_KERNEL); in greth_init_rings()
283 MAX_FRAME_SIZE, in greth_init_rings()
296 greth->tx_bufs[i] = kmalloc(MAX_FRAME_SIZE, GFP_KERNEL); in greth_init_rings()
306 MAX_FRAME_SIZE, in greth_init_rings()
419 if (unlikely(skb->len > MAX_FRAME_SIZE)) { in greth_start_xmit()
[all …]
Dgreth.h79 #define MAX_FRAME_SIZE 1520 macro
/linux-5.19.10/drivers/net/ethernet/hisilicon/
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()
/linux-5.19.10/drivers/net/fddi/skfp/h/
Dtargetos.h93 #define MAX_FRAME_SIZE 4550 macro
/linux-5.19.10/drivers/net/fddi/skfp/
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()
/linux-5.19.10/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.h26 #define MAX_FRAME_SIZE 9216 macro
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()
/linux-5.19.10/drivers/media/usb/zr364xx/
Dzr364xx.c41 #define MAX_FRAME_SIZE 200000 macro
616 if (frm->cur_size + purb->actual_length > MAX_FRAME_SIZE) { in zr364xx_read_video_callback()
619 __func__, MAX_FRAME_SIZE); in zr364xx_read_video_callback()
1355 cam->buffer.frame[i].lpvbits = vmalloc(MAX_FRAME_SIZE); in zr364xx_board_init()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb3/
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()
Dcommon.h70 MAX_FRAME_SIZE = 10240, /* max MAC frame size, including header + FCS */ enumerator
Dsge.c3117 MAX_FRAME_SIZE + 2 + sizeof(struct cpl_rx_pkt); in t3_sge_alloc_qset()
/linux-5.19.10/drivers/net/ethernet/microsoft/mana/
Dmana.h40 #define MAX_FRAME_SIZE (ADAPTER_MTU_SIZE + 14) macro
Dmana_en.c1535 rxq->datasize = ALIGN(MAX_FRAME_SIZE, 64); in mana_create_rxq()
/linux-5.19.10/drivers/net/ethernet/packetengines/
Dhamachi.c412 #define MAX_FRAME_SIZE 1518 macro
938 writew(MAX_FRAME_SIZE, ioaddr + MaxFrameSize); /* dev->mtu+14 ??? */ in hamachi_open()