change dg_int_loop to dg_port_cfg