search for: rqtc

Displaying 2 results from an estimated 2 matches for "rqtc".

Did you mean: retc
2020 Jul 16
0
[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...ce.h:78:10: note: in expansion of macro '__mlx5_dw_mask' 78 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ drivers/vdpa/mlx5/net/mlx5_vnet.c:1192:2: note: in expansion of macro 'MLX5_SET' 1192 | MLX5_SET(rqtc, rqtc, list_q_type, MLX5_RQTC_LIST_Q_TYPE_VIRTIO_NET_Q); | ^~~~~~~~ include/linux/compiler_types.h:135:35: error: 'struct mlx5_ifc_rqtc_bits' has no member named 'list_q_type' 135 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b) |...
2020 Jul 16
0
[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...&mvq->vqqp); > + qp_destroy(ndev, &mvq->fwqp); > + cq_destroy(ndev, mvq->index); > + mvq->initialized = false; > +} > + > +static int create_rqt(struct mlx5_vdpa_net *ndev) > +{ > + int log_max_rqt; > + int acutal_rqt; > + __be32 *list; > + void *rqtc; > + int inlen; > + void *in; > + int i, j; > + int err; > + > + log_max_rqt = min_t(int, 1, MLX5_CAP_GEN(ndev->mvdev.mdev, log_max_rqt_size)); > + if (log_max_rqt < 1) > + return -EOPNOTSUPP; > + > + acutal_rqt = 1; > + inlen = MLX5_ST_SZ_BYTES(create_rqt_in...