[openEuler-21.09 006/141] net: hns3: optimize the code when update the tc info