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