net/mlx4_core: Add QUERY_FUNC firmware command