[PATCH openEuler-21.09 39/46] net: hns3: change the method of getting cmd index in debugfs