kernel: swconfig: add get_port_{link,stats} callbacks