[PATCH openEuler-5.10 07/30] net: hns3: create common cmdq resource allocate/free/query APIs