[PATCH 13/82] net: hns3: sync some code from net-next part1