use is_power_of_2() in cxgb3/cxgb3_main.c