Refactor the MacTable and redesign the data structure for flow entry