sff-8636: Convert if statement to switch-case The indentation is wrong and the statement can be more clearly represented using a switch-case statement. Convert it. Signed-off-by: Ido Schimmel <idosch@nvidia.com>