[PATCH openEuler-5.10 28/30] net: hns3: create new common cmd code for PF and VF modules