[PATCH net-next 3/5] team: use common function to compute the features