small speedup in 10GbE checking script