Re: [PATCH rdma-core 3/3] mlx5: Add packet pacing support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 08, 2017 at 06:32:28PM +0200, Yishai Hadas wrote:
> +	if (attr_mask & MLX5_MODIFY_QP_EX_ATTR_MASK)
> +		ret = ibv_cmd_modify_qp_ex(qp, attr, attr_mask,
> +					   &cmd_ex,
> +					   sizeof(cmd_ex), sizeof(cmd_ex),
> +					   &resp,
> +					   sizeof(resp), sizeof(resp));
> +	else
> +		ret = ibv_cmd_modify_qp(qp, attr, attr_mask,
> +					&cmd, sizeof(cmd));
>

What is this if doing? Is it trying to retain compat with old kernels?

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux