A meat knife that one wishes to make dairy, or the reverse, is kashered by hagalah in a kli rishon. As the Beit Yosef, the Rambam, and the Raavad discussed a knife of issur, today’s ordinary kitchen knife is generally not used on the fire, and a pan of milk or meat is kashered by hagalah.