On Fri, Dec 20, 2019 at 04:50:46PM +0100, Jack Wang wrote: > From: Jack Wang <jinpu.wang@xxxxxxxxxxxxxxx> > > Introduce public header which provides set of API functions to > establish RDMA connections from client to server machine using > RTRS protocol, which manages RDMA connections for each session, > does multipathing and load balancing. > > Main functions for client (active) side: > > rtrs_clt_open() - Creates set of RDMA connections incapsulated > in IBTRS session and returns pointer on RTRS > session object. > rtrs_clt_close() - Closes RDMA connections associated with RTRS > session. > rtrs_clt_request() - Requests zero-copy RDMA transfer to/from > server. > > Main functions for server (passive) side: > > rtrs_srv_open() - Starts listening for RTRS clients on specified > port and invokes RTRS callbacks for incoming > RDMA requests or link events. > rtrs_srv_close() - Closes RTRS server context. > > Signed-off-by: Danil Kipnis <danil.kipnis@xxxxxxxxxxxxxxx> > Signed-off-by: Jack Wang <jinpu.wang@xxxxxxxxxxxxxxx> > --- > drivers/infiniband/ulp/rtrs/rtrs.h | 334 +++++++++++++++++++++++++++++ > 1 file changed, 334 insertions(+) > create mode 100644 drivers/infiniband/ulp/rtrs/rtrs.h > > diff --git a/drivers/infiniband/ulp/rtrs/rtrs.h b/drivers/infiniband/ulp/rtrs/rtrs.h > new file mode 100644 > index 000000000000..5b55ad163505 > --- /dev/null > +++ b/drivers/infiniband/ulp/rtrs/rtrs.h > @@ -0,0 +1,334 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > +/* > + * InfiniBand Transport Layer > + * > + * Copyright (c) 2014 - 2017 ProfitBricks GmbH. All rights reserved. > + * Authors: Fabian Holler <mail@xxxxxxxxxx> > + * Jack Wang <jinpu.wang@xxxxxxxxxxxxxxxx> > + * Kleber Souza <kleber.souza@xxxxxxxxxxxxxxxx> > + * Danil Kipnis <danil.kipnis@xxxxxxxxxxxxxxxx> > + * Roman Penyaev <roman.penyaev@xxxxxxxxxxxxxxxx> > + * Milind Dumbare <Milind.dumbare@xxxxxxxxx> > + * > + * Copyright (c) 2017 - 2018 ProfitBricks GmbH. All rights reserved. > + * Authors: Danil Kipnis <danil.kipnis@xxxxxxxxxxxxxxxx> > + * Roman Penyaev <roman.penyaev@xxxxxxxxxxxxxxxx> > + * > + * Copyright (c) 2018 - 2019 1&1 IONOS Cloud GmbH. All rights reserved. > + * Authors: Roman Penyaev <roman.penyaev@xxxxxxxxxxxxxxxx> > + * Jinpu Wang <jinpu.wang@xxxxxxxxxxxxxxx> > + * Danil Kipnis <danil.kipnis@xxxxxxxxxxxxxxx> > + */ > + > +/* Copyright (c) 2019 1&1 IONOS SE. All rights reserved. > + * Authors: Jack Wang <jinpu.wang@xxxxxxxxxxxxxxx> > + * Danil Kipnis <danil.kipnis@xxxxxxxxxxxxxxx> > + * Guoqing Jiang <guoqing.jiang@xxxxxxxxxxxxxxx> > + * Lutz Pogrell <lutz.pogrell@xxxxxxxxxxxxxxx> > + */ Perhaps it is normal practice to write half a company as authors, and I'm wrong in the following, but code authorship is determined by multiple tags in the commit messages. Thanks