Add symbols and improve calc_ethsw_port