net/mlx: fix build with icc
Compilation errors:
mlx4:
drivers/net/mlx4/mlx4.c(5409): error #188:
enumerated type mixed with another type
priv->intr_handle.type = 0;
^
mlx5:
drivers/net/mlx5/mlx5_rxq.c(282): error #188:
enumerated type mixed with another type
enum hash_rxq_type type = 0;
^
and more same type of error.
Fix these by assigning enum values rather than integer values to the enum
variables
Fixes:
c4da6caa426d ("mlx4: handle link status interrupts")
Fixes:
198a3c339a8f ("mlx5: handle link status interrupts")
Fixes:
0d2186743d62 ("mlx5: manage all special flow types at once")
Fixes:
612ad38209f7 ("mlx5: fix hash Rx queue type in RSS mode")
Fixes:
083c2dd31776 ("mlx5: refactor special flows handling")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>