use mhz global variable instead recalculate it

Change-Id: I7fd961110dacbb6088be0096e0a0fb9b40552392
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>