fix the documentation to ethernet api to match implementation