[Linuxarm] [PATCH 03/14] net/hns3: use array instead of switch-case