search for: list_q_typ

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

Did you mean: list_q_type
2020 Jul 16
0
[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...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
...(1 << log_max_rqt) * MLX5_ST_SZ_BYTES(rq_num); > + in = kzalloc(inlen, GFP_KERNEL); > + if (!in) > + return -ENOMEM; > + > + MLX5_SET(create_rqt_in, in, uid, ndev->mvdev.res.uid); > + rqtc = MLX5_ADDR_OF(create_rqt_in, in, rqt_context); > + > + MLX5_SET(rqtc, rqtc, list_q_type, MLX5_RQTC_LIST_Q_TYPE_VIRTIO_NET_Q); > + MLX5_SET(rqtc, rqtc, rqt_max_size, 1 << log_max_rqt); > + MLX5_SET(rqtc, rqtc, rqt_actual_size, 1); > + list = MLX5_ADDR_OF(rqtc, rqtc, rq_num[0]); > + for (i = 0, j = 0; j < ndev->mvdev.max_vqs; j++) { > + if (!ndev->vqs[j]....