update ethernet.c: loopback test ok