Re: [PATCH v3 05/11] SIW application interface

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

 



On 6/20/19 9:21 AM, Bernard Metzler wrote:
> diff --git a/include/uapi/rdma/siw-abi.h b/include/uapi/rdma/siw-abi.h
> new file mode 100644
> index 000000000000..3dd8071ace7b
> --- /dev/null
> +++ b/include/uapi/rdma/siw-abi.h
> @@ -0,0 +1,185 @@
> +/* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */
> +
> +/* Authors: Bernard Metzler <bmt@xxxxxxxxxxxxxx> */
> +/* Copyright (c) 2008-2019, IBM Corporation */
> +
> +#ifndef _SIW_USER_H
> +#define _SIW_USER_H
> +
> +#include <linux/types.h>
> +
> +#define SIW_NODE_DESC_COMMON "Software iWARP stack"

How can the definition of a string like this be useful in an UAPI header
file? If user space code doesn't need this string please move this
definition away from include/uapi.

> +#define SIW_ABI_VERSION 1

Same question here: how can this definition be useful in an UAPI header
file? As you know Linux user space APIs must be backwards compatible.

Thanks,

Bart.




[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