Update ethernet functions and doc