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

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

 



On Thu, 2019-06-20 at 09:33 -0700, Bart Van Assche wrote:
> 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.

I moved both of these to sw/siw/siw.h instead of the uapi header.

-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG KeyID: B826A3330E572FDD
    Fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

Attachment: signature.asc
Description: This is a digitally signed message part


[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