common/mlx5: register class drivers through common layer