net/hns3: use new opcode for clearing hardware resource