[dpdk-dev] [PATCH v2 2/3] mlx5: Implement support for read_clock
Ferruh Yigit
ferruh.yigit at intel.com
Tue Apr 2 20:26:31 CEST 2019
On 3/27/2019 6:19 AM, Tom Barbette wrote:
> +int
> +mlx5_read_clock(struct rte_eth_dev *dev, uint64_t *clock)
> +{
> + struct mlx5_priv *priv = dev->data->dev_private;
> + struct ibv_values_ex values;
> + int err = 0;
> +
> + values.comp_mask = IBV_VALUES_MASK_RAW_CLOCK;
> + err = mlx5_glue->query_rt_values_ex(priv->ctx, &values);
error: no member named 'ctx' in 'struct mlx5_priv'
More information about the dev
mailing list