Searched refs:PKT_MAXBUF_SIZE (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/freescale/fs_enet/ |
H A D | fs_enet.h | 102 #define PKT_MAXBUF_SIZE (MAX_MTU+ETH_HLEN+CRC_LEN) macro 106 #define PKT_MAXBLR_SIZE ((PKT_MAXBUF_SIZE + 31) & ~31) 109 #define ENET_RX_FRSIZE L1_CACHE_ALIGN(PKT_MAXBUF_SIZE + ENET_RX_ALIGN - 1)
|
H A D | fs_enet-main.c | 249 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_enet_napi() 253 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_enet_napi() 362 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_init_bds() 413 L1_CACHE_ALIGN(PKT_MAXBUF_SIZE), in fs_cleanup_bds()
|
H A D | mac-fec.c | 262 FW(fecp, r_cntrl, PKT_MAXBUF_SIZE << 16); in restart() 264 FW(fecp, r_hash, PKT_MAXBUF_SIZE); in restart()
|
H A D | mac-fcc.c | 320 W16(ep, fen_mflr, PKT_MAXBUF_SIZE); /* maximum frame length register */ in restart()
|
/linux/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 237 #define PKT_MAXBUF_SIZE (round_down(2048 - 64, 64)) macro 257 #define OPT_FRAME_SIZE (PKT_MAXBUF_SIZE << 16) 1048 writel(PKT_MAXBUF_SIZE, fep->hwp + FEC_R_BUFF_SIZE(i)); in fec_enet_enable_ring() 1137 writel(PKT_MAXBUF_SIZE, fep->hwp + FEC_FTRL); in fec_restart() 4525 ndev->max_mtu = PKT_MAXBUF_SIZE - ETH_HLEN - ETH_FCS_LEN; in fec_probe()
|