new interface file for eth sw example
fix a typo