Ethernet MAC controller design