[PATCH openEuler-5.10 09/30] net: hns3: refactor VF cmdq resource APIs with new common APIs