[PATCH openEuler-5.10 10/30] net: hns3: create common cmdq init and uninit APIs